aff_switch.html 549 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>
Dalahro's avatar
Dalahro committed
15
       <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></td>
Dalahro's avatar
Dalahro committed
16 17 18
   </tr>
   {% endfor %}
</table>