mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-08-12 10:13:40 +00:00
23 lines
875 B
HTML
23 lines
875 B
HTML
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th>Dns</th>
|
|
<th>Ipv4</th>
|
|
<th>Localisation</th>
|
|
<th>Nombre de ports</th>
|
|
<th>Détails</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
{% for switch in switch_list %}
|
|
<tr>
|
|
<td>{{switch.switch_interface.dns}}</td>
|
|
<td>{{switch.switch_interface.ipv4}}</td>
|
|
<td>{{switch.location}}</td>
|
|
<td>{{switch.number}}</td>
|
|
<td>{{switch.details}}</td>
|
|
<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>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|