Merge pull request 'Some improvements to the navbar' (#2) from nav-improvements into master

Reviewed-on: #2
lowercase-search
dsc 2 years ago
commit 0dc31d47b2

@ -43,6 +43,9 @@
#dropdown:hover #dropdowncontent { #dropdown:hover #dropdowncontent {
display: block; display: block;
} }
#dropdowncontent a {
display: block;
}
#main{ #main{
width: 100%; width: 100%;
height: 80vh; height: 80vh;

@ -3,18 +3,20 @@
<li> <li>
<div id="dropdown"> <div id="dropdown">
<i class="icon icon-menu"></i> <i class="icon icon-menu"></i>
<div id="dropdowncontent"> <div id="dropdowncontent">
<p> <a href="{{ url_for('bp_routes.root') }}">Home</a>
{% if not user %} {% if not user %}
<a href="{{ url_for('bp_routes.login') }}">Login</a> <a href="{{ url_for('bp_routes.login') }}">Login</a>
{% else %} {% else %}
<a href="{{ url_for('bp_routes.logout') }}">Logout</a> <a href="{{ url_for('bp_routes.dashboard') }}">My Profile</a>
<a href="{{ url_for('bp_routes.dashboard') }}">My Profile</a> {% endif %}
{% endif %} <a href="{{ url_for('bp_routes.search') }}">Search</a>
<a href="{{ url_for('bp_routes.search') }}">Yell<span>WOW</span>Page search</a> <a href="{{ url_for('bp_routes.about') }}">About</a>
<a href="{{ url_for('bp_routes.about') }}">About</a> <a href="{{ url_for('bp_api.api_root') }}">Api</a>
<a href="{{ url_for('bp_api.api_root') }}">Api</a> {% if user %}
</p> <a href="{{ url_for('bp_routes.logout') }}">Logout</a>
{% endif %}
</div> </div>
</div> </div>
</li> </li>

Loading…
Cancel
Save