Packages
Default Zotonic site, used when no other site can handle the supplied Host.
Current section
Files
Jump to
Current section
Files
priv/templates/_navbar.tpl
<div class="navbar" role="navigation">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
{% if is_peer_allowed and m.acl.user %}
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="{% url zotonic_status %}">
<span class="zotonic-logo"><em>Zotonic</em></span>
{_ Status _}
</a>
{% else %}
<span class="navbar-brand">
<span class="zotonic-logo"><em>Zotonic</em></span>
</span>
{% endif %}
</div><!-- /.navbar-header -->
{% if is_peer_allowed and m.acl.user %}
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
{# Add menu item when we have more top bar items
<li {% if zotonic_dispatch == `home` %}class="active"{% endif %}>
<a href="{% url home %}">{_ Sites _}</a>
</li>
#}
<li>
<a id="logoff" href="{% url logoff %}" title="{_ Log Off _}">
<span class="z-icon z-icon-off"></span>
</a>
</li>
</ul>
</div>
{% endif %}
</div>
</div>