1
Fork 0
mirror of https://github.com/Steffo99/estus.git synced 2024-11-25 09:04:18 +00:00

Fix indentation on the navbar file

This commit is contained in:
Steffo 2017-09-12 10:55:22 +02:00
parent 4ad4f7b926
commit caaa95d462

View file

@ -1,27 +1,27 @@
<nav class="navbar navbar-inverse navbar-fixed-top"> <nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid"> <div class="container-fluid">
<div class="navbar-header"> <div class="navbar-header">
{% if user %} {% if user %}
<a class="navbar-brand" href="/dashboard">Inventario</a> <a class="navbar-brand" href="/dashboard">Inventario</a>
{% else %} {% else %}
<a class="navbar-brand active" href="/login">Inventario</a> <a class="navbar-brand active" href="/login">Inventario</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>
<li class="{% if type is equalto "user" %}active{% endif %}"><a href="/user_list">Utenti</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<p class="navbar-text">
{{user}}
</p>
<a href="/login" class="btn btn-danger navbar-btn btn-right">Logout</a>
</ul>
{% endif %} {% endif %}
</div> </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>
<li class="{% if type is equalto "user" %}active{% endif %}"><a href="/user_list">Utenti</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<p class="navbar-text">
{{user}}
</p>
<a href="/login" class="btn btn-danger navbar-btn btn-right">Logout</a>
</ul>
{% endif %}
</div>
</nav> </nav>