[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
Signed by: someonewithpc
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); box-shadow: 0 0px 8px var(--accent);
} }
#login-notes {
margin: 0px;
}
#login-main {
border: 0px;
}

View File

@ -101,28 +101,14 @@
</div> </div>
{{ form_end(post_form) }} {{ form_end(post_form) }}
{% endif %} {% endif %}
<div class="main"> <div class="main" id="login-main">
<nav class='main-nav'> <div class="notes-wrap" id="login-notes">
<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">
<nav class='main-nav'> <nav class='main-nav'>
<ul> <ul>
<li> <li>
<a href="{{ path('main_public') }}" class='hover-effect {{ active('main_public') }}'>Public</a> <a class='hover-effect {{ active('login') }}'>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>
</li> </li>
</ul> </ul>
</nav> </nav>
<div class="timeline"> <div class="timeline">

View File

@ -77,28 +77,14 @@
</div> </div>
{{ form_end(post_form) }} {{ form_end(post_form) }}
{% endif %} {% endif %}
<div class="main"> <div class="main" id="login-main">
<nav class='main-nav'> <div class="notes-wrap" id="login-notes">
<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">
<nav class='main-nav'> <nav class='main-nav'>
<ul> <ul>
<li> <li>
<a href="{{ path('main_public') }}" class='hover-effect {{ active('main_public') }}'>Public</a> <a class='hover-effect {{ active('register') }}'>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>
</li> </li>
</ul> </ul>
</nav> </nav>
<div class="timeline"> <div class="timeline">