mirror of
https://git.wownero.com/wownero/YellWOWPages.git
synced 2024-08-15 01:03:25 +00:00
Rewrite to Quart web-framework, refactor code.
This commit is contained in:
parent
6b300fd304
commit
67f4c34604
39 changed files with 656 additions and 980 deletions
25
yellow/templates/includes/nav.html
Normal file
25
yellow/templates/includes/nav.html
Normal file
|
@ -0,0 +1,25 @@
|
|||
<nav>
|
||||
<ul>
|
||||
<li>
|
||||
<div id="dropdown">
|
||||
<i class="icon icon-menu"></i>
|
||||
<div id="dropdowncontent">
|
||||
<p>
|
||||
{% if not user %}
|
||||
<a href="{{ url_for('bp_routes.login') }}">Login</a>
|
||||
{% else %}
|
||||
<a href="{{ url_for('bp_routes.logout') }}">Logout</a>
|
||||
{% endif %}
|
||||
<a href="{{ url_for('bp_routes.dashboard') }}">Dashboard</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_api.api_root') }}">Api</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><a href="https://git.wownero.com/muchwowmining/YellWOWPages"><i class="icon icon-edit"></i></a></li>
|
||||
</ul>
|
||||
</nav>
|
Loading…
Add table
Add a link
Reference in a new issue