Viewport onto your services
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

48 lines
1.6 KiB

<nav class="navbar navbar-default navbar-pf" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse-user">
<span class="sr-only">Toggle navigation</span>
<i class="fa fa-bars"></i>
</button>
<a class="navbar-brand" href="{{ url_for('dashboard.index') }}" style="line-height: 10px;">
<span style="font-weight: bold;">Cupola</span> Application Monitoring
</a>
</div>
<div class="collapse navbar-collapse navbar-collapse-user">
<ul class="nav navbar-nav navbar-utility">
{# <li>
<a href="#">Status</a>
</li>#}
<li class="dropdown">
{% if current_user.is_authenticated() %}
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<span class="pficon pficon-user"></span>
{{ current_user.username }} <b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li>
<a href="{{ url_for('users.profile', user_id=current_user.get_id()) }}">Profile</a>
</li>
<li>
<a href="#">Messages</a>
</li>
<li>
<a href="{{ url_for_security('logout') }}">Log out</a>
</li>
</ul>
{% else %}
<a href="{{ url_for_security('login') }}">Log in</a>
{% endif %}
</li>
</ul>
<ul class="nav navbar-nav navbar-primary">
<li id="navbarProjects">
<a href="{{ url_for('projects.index') }}">Projects</a>
</li>
<li id="navbarEvents">
<a href="{{ url_for('events.index') }}">Events</a>
</li>
</ul>
</div>
</nav>