]> git.datanom.net - wpp.git/blame_incremental - app/templates/menu.html
test access
[wpp.git] / app / templates / menu.html
... / ...
CommitLineData
1<nav class="navbar navbar-inverse navbar-fixed-top">
2 <div class="container">
3 <div class="navbar-header">
4 <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
5 <span class="sr-only">Toggle navigation</span>
6 <span class="icon-bar"></span>
7 <span class="icon-bar"></span>
8 <span class="icon-bar"></span>
9 </button>
10 <a class="navbar-brand" href="#"><i class="fa fa-camera-retro fa-1g"></i></a>
11 </div>
12 <div id="navbar" class="collapse navbar-collapse">
13 <ul class="nav navbar-nav">
14 <li><a href="{{ url_for('index') }}">Home</a></li>
15 <li><a href="{{ url_for('search') }}">Search</a></li>
16 {% if g.user.is_authenticated %}
17 <li><a href="{{ url_for('user', username=g.user.username) }}">Profile</a></li>
18 <li><a href="{{ url_for('logout') }}">Logout</a></li>
19 {% else %}
20 <li><a href="{{ url_for('register') }}">Register</a></li>
21 <li><a href="{{ url_for('login') }}">Sign in</a></li>
22 {% endif %}
23 {% if g.user.is_admin %}
24 <li><a href="{{ url_for('admin') }}">Admin</a></li>
25 {% endif %}
26 </ul>
27 </div>
28 </div>
29</nav>
This page took 0.068786 seconds and 5 git commands to generate.