1
Fork 0
mirror of https://github.com/Steffo99/estus.git synced 2024-11-25 00:54: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 }} {{ impiegato.servizio.ente.nomeente }} - {{ impiegato.servizio.nomeservizio }}
</div> </div>
</li> </li>
{% if impiegato.username %}
<li class="list-group-item"> <li class="list-group-item">
<h4 class="list-group-item-heading"> <h4 class="list-group-item-heading">
Username Username
@ -29,6 +30,8 @@
<code>{{ impiegato.username }}</code> <code>{{ impiegato.username }}</code>
</div> </div>
</li> </li>
{% endif %}
{% if impiegato.passwd %}
<li class="list-group-item"> <li class="list-group-item">
<h4 class="list-group-item-heading"> <h4 class="list-group-item-heading">
Password Password
@ -37,6 +40,8 @@
<code>{{ impiegato.passwd }}</code> <code>{{ impiegato.passwd }}</code>
</div> </div>
</li> </li>
{% endif %}
{% if accessi %}
<li class="list-group-item"> <li class="list-group-item">
<h4 class="list-group-item-heading"> <h4 class="list-group-item-heading">
Dispositivi associati Dispositivi associati
@ -47,6 +52,7 @@
{% endfor %} {% endfor %}
</div> </div>
</li> </li>
{% endif %}
</ul> </ul>
<a href="/imp_show/{{ impiegato.iid }}" class="btn btn-primary"> <a href="/imp_show/{{ impiegato.iid }}" class="btn btn-primary">
<span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> Modifica <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.ente.nomeente }}</td>
<td>{{ imp.servizio.nomeservizio }} <td>{{ imp.servizio.nomeservizio }}
<td>{{ imp.nomeimpiegato }}</td> <td>{{ imp.nomeimpiegato }}</td>
<td><code>{{ imp.username }}</code></td> <td>{% if imp.username %}<code>{{ imp.username }}</code>{% endif %}</td>
<td><code>{{ imp.passwd }}</code></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> <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> </tr>
{% endfor %} {% endfor %}