[UI] Visual restructure of login/register pages

This commit is contained in:
João Brandão 2020-10-19 23:45:48 +01:00 committed by Hugo Sales
parent 7c7a03cfe1
commit 85666b195b
No known key found for this signature in database
GPG Key ID: 7D0C7EAFC9D835A0
3 changed files with 15 additions and 36 deletions

View File

@ -66,3 +66,10 @@ form button[type=submit]:hover {
box-shadow: 0 0px 8px var(--accent);
}
#login-notes {
margin: 0px;
}
#login-main {
border: 0px;
}

View File

@ -101,28 +101,14 @@
</div>
{{ form_end(post_form) }}
{% endif %}
<div class="main">
<nav class='main-nav'>
<ul>
<li>
<a href="{{ path('main_public') }}" class='hover-effect {{ active('main_public', 'main_all', "home_all") }}'>Timeline</a>
</li>
</ul>
</nav>
<div class="notes-wrap">
<div class="main" id="login-main">
<div class="notes-wrap" id="login-notes">
<nav class='main-nav'>
<ul>
<li>
<a href="{{ path('main_public') }}" class='hover-effect {{ active('main_public') }}'>Public</a>
</li>
{% if user_nickname is defined %}
<li>
<a href="{{ path("home_all", {'nickname' : user_nickname}) }}" class='hover-effect {{ active("home_all") }}'>Home</a>
</li>
{% endif %}
<li>
<a href="{{ path('main_all') }}" class='hover-effect {{ active('main_all') }}'>Network</a>
<a class='hover-effect {{ active('login') }}'>Public</a>
</li>
</ul>
</nav>
<div class="timeline">

View File

@ -77,28 +77,14 @@
</div>
{{ form_end(post_form) }}
{% endif %}
<div class="main">
<nav class='main-nav'>
<ul>
<li>
<a href="{{ path('main_public') }}" class='hover-effect {{ active('main_public', 'main_all', "home_all") }}'>Timeline</a>
</li>
</ul>
</nav>
<div class="notes-wrap">
<div class="main" id="login-main">
<div class="notes-wrap" id="login-notes">
<nav class='main-nav'>
<ul>
<li>
<a href="{{ path('main_public') }}" class='hover-effect {{ active('main_public') }}'>Public</a>
</li>
{% if user_nickname is defined %}
<li>
<a href="{{ path("home_all", {'nickname' : user_nickname}) }}" class='hover-effect {{ active("home_all") }}'>Home</a>
</li>
{% endif %}
<li>
<a href="{{ path('main_all') }}" class='hover-effect {{ active('main_all') }}'>Network</a>
<a class='hover-effect {{ active('register') }}'>Public</a>
</li>
</ul>
</nav>
<div class="timeline">