1
Fork 0
mirror of https://github.com/Steffo99/estus.git synced 2024-11-24 16:44:19 +00:00

Add title to all glyphicons

This commit is contained in:
Steffo 2017-09-22 11:44:36 +02:00
parent f6a15158fd
commit c0098799ad
7 changed files with 34 additions and 8 deletions

View file

@ -105,8 +105,8 @@
<label class="col-xs-2" for="form-utente">Utenti</label> <label class="col-xs-2" for="form-utente">Utenti</label>
<div class="col-xs-10" id="users-column"> <div class="col-xs-10" id="users-column">
<p> <p>
<div id="add-user" class="btn btn-success" onclick="adduser()"><span class="glyphicon glyphicon-plus"></span></div> <div id="add-user" class="btn btn-success" onclick="adduser()" title="Aggiungi utente"><span class="glyphicon glyphicon-plus"></span></div>
<div id="remove-user" class="btn btn-danger disabled" onclick="removeuser()"><span class="glyphicon glyphicon-minus"></span></div> <div id="remove-user" class="btn btn-danger disabled" onclick="removeuser()" title="Rimuovi ultimo utente"><span class="glyphicon glyphicon-minus"></span></div>
</p> </p>
</div> </div>
</div> </div>

View file

@ -22,7 +22,11 @@
<tr> <tr>
<td>{{ ente.nomeente }}</td> <td>{{ ente.nomeente }}</td>
<td>{{ ente.nomebreveente }}</td> <td>{{ ente.nomebreveente }}</td>
<td><a href="{{ url_for("page_serv_list_plus", eid=ente.eid) }}"><span class="glyphicon glyphicon-list-alt"></span></a> <a href="{{ url_for("page_ente_show", eid=ente.eid) }}"><span class="glyphicon glyphicon-pencil"></span></a> <a href="javascript:void(0)" onclick="delet(&quot;{{ url_for("page_ente_del", eid=12341234) }}&quot;, {{ ente.eid }}, &quot;{{ ente }}&quot;);"><span class="glyphicon glyphicon-remove"></span></a></td> <td>
<a href="{{ url_for("page_serv_list_plus", eid=ente.eid) }}" title="Trova servizi di questo ente"><span class="glyphicon glyphicon-list-alt"></span></a>
<a href="{{ url_for("page_ente_show", eid=ente.eid) }}" title="Modifica"><span class="glyphicon glyphicon-pencil"></span></a>
<a href="javascript:void(0)" onclick="delet(&quot;{{ url_for("page_ente_del", eid=12341234) }}&quot;, {{ ente.eid }}, &quot;{{ ente }}&quot;);" title="Elimina"><span class="glyphicon glyphicon-remove"></span></a>
</td>
</tr> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>

View file

@ -27,7 +27,11 @@
<td>{{ imp.nomeimpiegato }}</td> <td>{{ imp.nomeimpiegato }}</td>
<td>{% if imp.username %}<code>{{ imp.username }}</code>{% endif %}</td> <td>{% if imp.username %}<code>{{ imp.username }}</code>{% endif %}</td>
<td>{% if imp.passwd %}<code>{{ imp.passwd }}</code>{% endif %}</td> <td>{% if imp.passwd %}<code>{{ imp.passwd }}</code>{% endif %}</td>
<td><a href="{{ url_for("page_imp_details", iid=imp.iid) }}" title="Dettagli"><span class="glyphicon glyphicon-zoom-in"></span></a> <a href="{{ url_for("page_imp_show", iid=imp.iid) }}"><span class="glyphicon glyphicon-pencil"></span></a> <a href="javascript:void(0)" onclick="delet(&quot;{{ url_for("page_imp_del", iid=12341234) }}&quot;, {{ imp.iid }}, &quot;{{ imp }}&quot;);"><span class="glyphicon glyphicon-remove"></span></a></td> <td>
<a href="{{ url_for("page_imp_details", iid=imp.iid) }}" title="Dettagli"><span class="glyphicon glyphicon-zoom-in"></span></a>
<a href="{{ url_for("page_imp_show", iid=imp.iid) }}" title="Modifica"><span class="glyphicon glyphicon-pencil"></span></a>
<a href="javascript:void(0)" onclick="delet(&quot;{{ url_for("page_imp_del", iid=12341234) }}&quot;, {{ imp.iid }}, &quot;{{ imp }}&quot;);" title="Elimina"><span class="glyphicon glyphicon-remove"></span></a>
</td>
</tr> </tr>
{% endfor %} {% endfor %}
</table> </table>

View file

@ -28,7 +28,13 @@
<tr> <tr>
<td>{{ rete.nome }}</td> <td>{{ rete.nome }}</td>
<td>{{ rete.network_ip }}/{{ rete.subnet }}</td> <td>{{ rete.network_ip }}/{{ rete.subnet }}</td>
<td><a href="{{ url_for("page_net_details", nid=rete.nid) }}"><span class="glyphicon glyphicon-zoom-in"></span></a> <a href="{{ url_for("page_net_show", nid=rete.nid) }}"><span class="glyphicon glyphicon-pencil"></span></a> {% if rete.network_ip != "0.0.0.0" %}<a href="javascript:void(0)" onclick="delet(&quot;{{ url_for("page_net_del", nid=12341234) }}&quot;, {{ rete.nid }}, &quot;{{ rete }}&quot;);"><span class="glyphicon glyphicon-remove"></span></a>{% endif %}</td> <td>
<a href="{{ url_for("page_net_details", nid=rete.nid) }}" title="Dettagli"><span class="glyphicon glyphicon-zoom-in"></span></a>
<a href="{{ url_for("page_net_show", nid=rete.nid) }}" title="Modifica"><span class="glyphicon glyphicon-pencil"></span></a>
{% if rete.network_ip != "0.0.0.0" %}
<a href="javascript:void(0)" onclick="delet(&quot;{{ url_for("page_net_del", nid=12341234) }}&quot;, {{ rete.nid }}, &quot;{{ rete }}&quot;);" title="Elimina"><span class="glyphicon glyphicon-remove"></span></a>
{% endif %}
</td>
</tr> </tr>
{% endfor %} {% endfor %}
</table> </table>

View file

@ -35,7 +35,10 @@
{{ order.garanzia }} {{ order.garanzia }}
{% endif %} {% endif %}
</td> </td>
<td><a href="{{ url_for("page_order_details", oid=order.oid) }}" title="Dettagli"><span class="glyphicon glyphicon-zoom-in"></span></a> <a href="{{ url_for("page_order_show", oid=order.oid) }}"><span class="glyphicon glyphicon-pencil"></span></a> <a href="javascript:void(0)" onclick="delet(&quot;{{ url_for("page_order_del", oid=12341234) }}&quot;, {{ order.oid }}, &quot;{{ order }}&quot;);"><span class="glyphicon glyphicon-remove"></span></a></td> <td>
<a href="{{ url_for("page_order_details", oid=order.oid) }}" title="Dettagli"><span class="glyphicon glyphicon-zoom-in"></span></a>
<a href="{{ url_for("page_order_show", oid=order.oid) }}" title="Modifica"><span class="glyphicon glyphicon-pencil"></span></a>
<a href="javascript:void(0)" onclick="delet(&quot;{{ url_for("page_order_del", oid=12341234) }}&quot;, {{ order.oid }}, &quot;{{ order }}&quot;);" title="Elimina"><span class="glyphicon glyphicon-remove"></span></a></td>
</tr> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>

View file

@ -21,7 +21,11 @@
<td>{{ servizio.ente.nomeente }}</td> <td>{{ servizio.ente.nomeente }}</td>
<td>{{ servizio.nomeservizio }}</td> <td>{{ servizio.nomeservizio }}</td>
<td>{{ servizio.locazione }}</td> <td>{{ servizio.locazione }}</td>
<td><a href="{{ url_for("page_imp_list_plus", sid=servizio.sid) }}"><span class="glyphicon glyphicon-list-alt"></span></a> <a href="{{ url_for("page_serv_show", sid=servizio.sid) }}"><span class="glyphicon glyphicon-pencil"></span></a> <a href="javascript:void(0)" onclick="delet(&quot;{{ url_for("page_serv_del", sid=12341234) }}&quot;, {{ servizio.sid }}, &quot;{{ servizio }}&quot;);"><span class="glyphicon glyphicon-remove"></span></a></td> <td>
<a href="{{ url_for("page_imp_list_plus", sid=servizio.sid) }}" title="Trova impiegati di questo servizio"><span class="glyphicon glyphicon-list-alt"></span></a>
<a href="{{ url_for("page_serv_show", sid=servizio.sid) }}" title="Modifica"><span class="glyphicon glyphicon-pencil"></span></a>
<a href="javascript:void(0)" onclick="delet(&quot;{{ url_for("page_serv_del", sid=12341234) }}&quot;, {{ servizio.sid }}, &quot;{{ servizio }}&quot;);" title="Elimina"><span class="glyphicon glyphicon-remove"></span></a>
</td>
</tr> </tr>
{% endfor %} {% endfor %}
</table> </table>

View file

@ -19,7 +19,12 @@
{% for utente in utenti %} {% for utente in utenti %}
<tr> <tr>
<td>{{ utente.username }}</td> <td>{{ utente.username }}</td>
<td>{% if utenti|length >= 2 and utente.username != user %}<a href="javascript:void(0)" onclick="delet(&quot;{{ url_for("page_user_del", uid=12341234) }}&quot;, {{ utente.uid }}, &quot;{{ utente }}&quot;);"><span class="glyphicon glyphicon-remove"></span></a>{% endif %}</td> <td>
{% if utenti|length >= 2 and utente.username != user %}
<a href="javascript:void(0)" onclick="delet(&quot;{{ url_for("page_user_del", uid=12341234) }}&quot;, {{ utente.uid }}, &quot;{{ utente }}&quot;);"><span class="glyphicon glyphicon-remove"></span>
</a>
{% endif %}
</td>
</tr> </tr>
{% endfor %} {% endfor %}
</table> </table>