1
Fork 0
mirror of https://github.com/Steffo99/estus.git synced 2024-11-21 23:24:18 +00:00

Fix <code> displaying in the imp pages (closes #19)

Also, indentation
This commit is contained in:
Steffo 2017-09-19 17:22:11 +02:00
parent 81f0c784f8
commit 906de4cb77
2 changed files with 27 additions and 21 deletions

View file

@ -21,6 +21,7 @@
{{ impiegato.servizio.ente.nomeente }} - {{ impiegato.servizio.nomeservizio }}
</div>
</li>
{% if impiegato.username %}
<li class="list-group-item">
<h4 class="list-group-item-heading">
Username
@ -29,6 +30,8 @@
<code>{{ impiegato.username }}</code>
</div>
</li>
{% endif %}
{% if impiegato.passwd %}
<li class="list-group-item">
<h4 class="list-group-item-heading">
Password
@ -37,6 +40,8 @@
<code>{{ impiegato.passwd }}</code>
</div>
</li>
{% endif %}
{% if accessi %}
<li class="list-group-item">
<h4 class="list-group-item-heading">
Dispositivi associati
@ -47,6 +52,7 @@
{% endfor %}
</div>
</li>
{% endif %}
</ul>
<a href="/imp_show/{{ impiegato.iid }}" class="btn btn-primary">
<span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> Modifica

View file

@ -21,8 +21,8 @@
<td>{{ imp.servizio.ente.nomeente }}</td>
<td>{{ imp.servizio.nomeservizio }}
<td>{{ imp.nomeimpiegato }}</td>
<td><code>{{ imp.username }}</code></td>
<td><code>{{ imp.passwd }}</code></td>
<td>{% if imp.username %}<code>{{ imp.username }}</code>{% endif %}</td>
<td>{% if imp.passwd %}<code>{{ imp.passwd }}</code>{% endif %}</td>
<td><a href="/imp_details/{{ imp.iid }}" title="Dettagli"><span class="glyphicon glyphicon-zoom-in"></span></a> <a href="/imp_show/{{ imp.iid }}"><span class="glyphicon glyphicon-pencil"></span></a> <a href="/imp_del/{{ imp.iid }}"><span class="glyphicon glyphicon-remove"></span></a></td>
</tr>
{% endfor %}