local stuff
This commit is contained in:
parent
3275a6138b
commit
fa06e87e0b
13 changed files with 31 additions and 12 deletions
|
@ -8,8 +8,13 @@
|
||||||
text-shadow: 0 @text-shadow-distance @text-shadow-size fade(@grey-0, @text-shadow-opacity);
|
text-shadow: 0 @text-shadow-distance @text-shadow-size fade(@grey-0, @text-shadow-opacity);
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
|
|
||||||
|
&__inner {
|
||||||
|
max-width: @container-max-width;
|
||||||
|
margin: 0 auto;
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
&__entry {
|
&__entry {
|
||||||
padding-left: 12px;
|
padding-left: 12px;
|
||||||
|
|
3
resources/views/nova/errors/403.twig
Normal file
3
resources/views/nova/errors/403.twig
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{% extends '@nova/errors/master.twig' %}
|
||||||
|
|
||||||
|
{% set banner = '/images/access-denied.png' %}
|
3
resources/views/nova/errors/404.twig
Normal file
3
resources/views/nova/errors/404.twig
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{% extends '@nova/errors/master.twig' %}
|
||||||
|
|
||||||
|
{% set banner = '/images/not-found.png' %}
|
1
resources/views/nova/errors/500.twig
Normal file
1
resources/views/nova/errors/500.twig
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{% extends '@nova/errors/master.twig' %}
|
1
resources/views/nova/errors/503.twig
Normal file
1
resources/views/nova/errors/503.twig
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{% extends '@nova/errors/master.twig' %}
|
1
resources/views/nova/errors/master.twig
Normal file
1
resources/views/nova/errors/master.twig
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{% extends '@nova/master.twig' %}
|
|
@ -1,7 +1,7 @@
|
||||||
{% extends '@nova/master.twig' %}
|
{% extends '@nova/home/master.twig' %}
|
||||||
|
|
||||||
{% set banner_classes = user.isActive ? "banner--large" : "banner--insane landing__banner" %}
|
{% set banner_classes = user.isActive ? "banner--large" : "banner--insane landing__banner" %}
|
||||||
{% set banner = user.isActive ? route('user.header', user.id) : "https://i.flash.moe/7131467636550.jpg" %}
|
{% set banner = user.isActive ? route('user.header', user.id) : "https://flash.s-ul.eu/OH5MekNx" %}
|
||||||
|
|
||||||
{% block banner_content %}
|
{% block banner_content %}
|
||||||
{% if user.isActive %}
|
{% if user.isActive %}
|
1
resources/views/nova/home/master.twig
Normal file
1
resources/views/nova/home/master.twig
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{% extends '@nova/master.twig' %}
|
|
@ -16,8 +16,8 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="container__wrapper {{ wrapper_classes|default('') }}">
|
|
||||||
<nav class="header">
|
<nav class="header">
|
||||||
|
<div class="header__inner">
|
||||||
<div class="header__navigation">
|
<div class="header__navigation">
|
||||||
<a class="header__entry fa-home" href="{{ route('main.index') }}">home</a>
|
<a class="header__entry fa-home" href="{{ route('main.index') }}">home</a>
|
||||||
<a class="header__entry fa-comments" href="{{ route('forums.index') }}">forum</a>
|
<a class="header__entry fa-comments" href="{{ route('forums.index') }}">forum</a>
|
||||||
|
@ -32,20 +32,22 @@
|
||||||
{% else %}
|
{% else %}
|
||||||
<a class="header__user" href="#">
|
<a class="header__user" href="#">
|
||||||
<div class="header__username">login</div>
|
<div class="header__username">login</div>
|
||||||
<div class="header__avatar" style="background-image: url('/images/no-avatar.png')"></div>
|
<div class="header__avatar" style="background-image: url('{{ route('user.avatar', 0) }}')"></div>
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
<div class="container__wrapper {{ wrapper_classes|default('') }}">
|
||||||
<noscript>
|
<noscript>
|
||||||
<div class="banner" style="background-image: url('/images/enable-javascript.png')"></div>
|
<div class="banner" style="background-image: url('/images/enable-javascript.png')"></div>
|
||||||
</noscript>
|
</noscript>
|
||||||
|
|
||||||
<div class="banner {{ banner_large is defined and banner_large ? 'banner--large' : '' }} {{ banner_classes|default('') }}" style="background-image: url('{{ banner|default('/images/default-banner.png') }}')">
|
<div class="banner {{ banner_large is defined and banner_large ? 'banner--large' : '' }} {{ banner_classes|default('') }}" style="background-image: url('{{ banner|default('/images/default-banner.png') }}')">
|
||||||
{{ block('banner_content') }}
|
{{ block('banner_content') is defined ? block('banner_content') : '' }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ block('content') }}
|
{{ block('content') is defined ? block('content') : '' }}
|
||||||
</div>
|
</div>
|
||||||
<div class="container__footer">
|
<div class="container__footer">
|
||||||
<div class="container__footer-copyright">flash.moe 2013-{{ ''|date('Y') }}</div>
|
<div class="container__footer-copyright">flash.moe 2013-{{ ''|date('Y') }}</div>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{% extends '@nova/master.twig' %}
|
{% extends '@nova/status/master.twig' %}
|
||||||
|
|
||||||
{% set title = 'Status' %}
|
{% set title = 'Status' %}
|
||||||
{% set banner = '/images/status-banner.png' %}
|
{% set banner = '/images/status-banner.png' %}
|
||||||
|
|
1
resources/views/nova/status/master.twig
Normal file
1
resources/views/nova/status/master.twig
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{% extends '@nova/master.twig' %}
|
1
resources/views/nova/user/master.twig
Normal file
1
resources/views/nova/user/master.twig
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{% extends '@nova/master.twig' %}
|
|
@ -1,4 +1,4 @@
|
||||||
{% extends '@nova/master.twig' %}
|
{% extends '@nova/user/master.twig' %}
|
||||||
|
|
||||||
{% set title = 'profile / ' ~ profile.username %}
|
{% set title = 'profile / ' ~ profile.username %}
|
||||||
{% set banner_large = true %}
|
{% set banner_large = true %}
|
||||||
|
|
Reference in a new issue