|
@ -8,12 +8,11 @@ |
|
|
<a href="{{ url_for('index') }}" class="pure-menu-heading pure-menu-link">NullOctet Matrix</a> |
|
|
<a href="{{ url_for('index') }}" class="pure-menu-heading pure-menu-link">NullOctet Matrix</a> |
|
|
<ul class="pure-menu-list"> |
|
|
<ul class="pure-menu-list"> |
|
|
<li class="pure-menu-item"><a href="{{ config.RIOT_APP_TARGET }}" class="pure-menu-link">Riot</a></li> |
|
|
<li class="pure-menu-item"><a href="{{ config.RIOT_APP_TARGET }}" class="pure-menu-link">Riot</a></li> |
|
|
{% if g.user %} |
|
|
|
|
|
<li class="pure-menu-item"><a href="{{ url_for('registration') }}" class="pure-menu-link">Register</a> |
|
|
<li class="pure-menu-item"><a href="{{ url_for('registration') }}" class="pure-menu-link">Register</a> |
|
|
|
|
|
{% if g.user %} |
|
|
<li class="pure-menu-item"><a href="{{ url_for('admin_index') }}" class="pure-menu-link">Admin Panel</a> |
|
|
<li class="pure-menu-item"><a href="{{ url_for('admin_index') }}" class="pure-menu-link">Admin Panel</a> |
|
|
<li class="pure-menu-item"><a href="{{ url_for('admin_logout') }}" class="pure-menu-link">Log Out</a> |
|
|
<li class="pure-menu-item"><a href="{{ url_for('admin_logout') }}" class="pure-menu-link">Log Out</a> |
|
|
{% else %} |
|
|
{% else %} |
|
|
<li class="pure-menu-item"><a href="{{ url_for('registration') }}" class="pure-menu-link">Register</a> |
|
|
|
|
|
<li class="pure-menu-item"><a href="{{ url_for('admin_login') }}" class="pure-menu-link">Log In</a> |
|
|
<li class="pure-menu-item"><a href="{{ url_for('admin_login') }}" class="pure-menu-link">Log In</a> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
</ul> |
|
|
</ul> |
|
|