mirror of
https://git.wownero.com/wownero/YellWOWPages.git
synced 2024-08-15 01:03:25 +00:00
Merge pull request 'Some improvements to the navbar' (#2) from nav-improvements into master
Reviewed-on: https://git.wownero.com/wownero/YellWOWPages/pulls/2
This commit is contained in:
commit
0dc31d47b2
2 changed files with 16 additions and 11 deletions
|
@ -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') }}">Yell<span>WOW</span>Page search</a>
|
<a href="{{ url_for('bp_routes.search') }}">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>
|
||||||
</p>
|
{% if user %}
|
||||||
|
<a href="{{ url_for('bp_routes.logout') }}">Logout</a>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in a new issue