aff_switch.html 715 Bytes
Newer Older
Dalahro's avatar
Dalahro committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
<table class="table table-striped">
    <thead>
        <tr>
            <th>Bâtiment</th>
            <th>Numero</th>
            <th>Détails</th>
            <th></th>
        </tr>
   </thead>
   {% for switch in switch_list %}
   <tr>
       <td>{{switch.building}}</td>
       <td>{{switch.number}}</td>
       <td>{{switch.details}}</td>
15 16
       <td><a class="btn btn-primary btn-sm" role="button" href="{% url 'topologie:index-port' switch.pk %}"><i class="glyphicon glyphicon-cog"></i> Configurer</a>
       <a class="btn btn-info btn-sm" role="button" href="{% url 'topologie:history' 'switch' switch.pk %}"><i class="glyphicon glyphicon-repeat"></i> Historique</a></td>
Dalahro's avatar
Dalahro committed
17 18 19
   </tr>
   {% endfor %}
</table>