mirror of
https://github.com/Steffo99/estus.git
synced 2024-11-28 18:24:20 +00:00
27 lines
1.5 KiB
HTML
27 lines
1.5 KiB
HTML
<nav class="navbar navbar-default navbar-fixed-top">
|
|
<div class="container-fluid">
|
|
<div class="navbar-header">
|
|
{% if user %}
|
|
<a class="navbar-brand" href="/dashboard"><img alt="Inventario" src="{{ url_for('static', filename='UTdClogo.png') }}"></a>
|
|
{% else %}
|
|
<a class="navbar-brand" href="/login"><img alt="Inventario" src="{{ url_for('static', filename='UTdClogo.png') }}"></a>
|
|
{% endif %}
|
|
</div>
|
|
{% if user %}
|
|
<ul class="nav navbar-nav">
|
|
<li class="{% if type is equalto "ente" %}active{% endif %}"><a href="/ente_list">Enti</a></li>
|
|
<li class="{% if type is equalto "serv" %}active{% endif %}"><a href="/serv_list">Servizi</a></li>
|
|
<li class="{% if type is equalto "imp" %}active{% endif %}"><a href="/imp_list">Impiegati</a></li>
|
|
<li class="{% if type is equalto "disp" %}active{% endif %}"><a href="/disp_list">Dispositivi</a></li>
|
|
<li class="{% if type is equalto "net" %}active{% endif %}"><a href="/net_list">Reti</a></li>
|
|
</ul>
|
|
<ul class="nav navbar-nav navbar-right">
|
|
<li class="{% if type is equalto "user" %}active{% endif %}"><a href="/user_list">Amministrazione</a></li>
|
|
<li class="navbar-text">
|
|
Sei connesso come <b>{{user}}</b>
|
|
</li>
|
|
<a href="/login" class="btn btn-danger navbar-btn btn-right">Logout</a>
|
|
</ul>
|
|
{% endif %}
|
|
</div>
|
|
</nav>
|