|
|
@ -1,5 +1,7 @@ |
|
|
|
{% raw %} |
|
|
|
{% raw %} |
|
|
|
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"> |
|
|
|
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"> |
|
|
|
|
|
|
|
<div class="container"> |
|
|
|
|
|
|
|
|
|
|
|
<!-- Brand and toggle get grouped for better mobile display --> |
|
|
|
<!-- Brand and toggle get grouped for better mobile display --> |
|
|
|
<div class="navbar-header"> |
|
|
|
<div class="navbar-header"> |
|
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse"> |
|
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse"> |
|
|
@ -21,9 +23,12 @@ |
|
|
|
<li><a href="{{ url_for('public.about') }}">About</a></li> |
|
|
|
<li><a href="{{ url_for('public.about') }}">About</a></li> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
{% if current_user.is_authenticated() %} |
|
|
|
{% if current_user.is_authenticated() %} |
|
|
|
<a class="btn btn-default btn-sm navbar-btn navbar-right" href="{{ url_for('public.logout') }}">Log out</a> |
|
|
|
|
|
|
|
<ul class="nav navbar-nav navbar-right"> |
|
|
|
<ul class="nav navbar-nav navbar-right"> |
|
|
|
<li><a href="{{ url_for('user.members') }}">Logged in as {{ current_user.username }}</a></li> |
|
|
|
<li> |
|
|
|
|
|
|
|
<p class="navbar-text"><a class="navbar-link" href="{{ url_for('user.members') }}">Logged in as {{ current_user.username }}</a></p> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
<li><a class="navbar-link" href="{{ url_for('public.logout') }}">Log out</a></li> |
|
|
|
|
|
|
|
|
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
{% elif form %} |
|
|
|
{% elif form %} |
|
|
|
<ul class="nav navbar-nav navbar-right"> |
|
|
|
<ul class="nav navbar-nav navbar-right"> |
|
|
@ -39,5 +44,6 @@ |
|
|
|
</form> |
|
|
|
</form> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
</div><!-- /.navbar-collapse --> |
|
|
|
</div><!-- /.navbar-collapse --> |
|
|
|
|
|
|
|
</div><!-- /.container --> |
|
|
|
</nav> |
|
|
|
</nav> |
|
|
|
{% endraw %} |
|
|
|
{% endraw %} |
|
|
|