|
|
@ -60,25 +60,34 @@ with this program; if not, write to the Free Software Foundation, Inc., |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="panel-body"> |
|
|
<div class="panel-body"> |
|
|
<div class="table-repsonsive"> |
|
|
<div class="container-fluid"> |
|
|
<table class="table"> |
|
|
<div class="row"> |
|
|
<thead> |
|
|
<div class="col-sm-3"> |
|
|
<tr> |
|
|
<b>{% trans "IPv4 address"%}</b> |
|
|
<th>{% trans "IPv4 address"%}</th> |
|
|
</br> |
|
|
<th>{% trans "Ports"%}</th> |
|
|
{{ switch.interface_set.first.ipv4 }} |
|
|
<th>{% trans "Stack"%}</th> |
|
|
</div> |
|
|
<th>{% trans "Stack member ID" %}</th> |
|
|
<div class="col-sm-2"> |
|
|
<th>{% trans "Switch model" %}</th> |
|
|
<b>{% trans "Ports"%}</b> |
|
|
</tr> |
|
|
</br> |
|
|
</thead> |
|
|
{{ switch.number }} |
|
|
<tr> |
|
|
</div> |
|
|
<td>{{ switch.interface_set.first.ipv4 }}</td> |
|
|
<div class="col-sm-2"> |
|
|
<td>{{ switch.number }}</td> |
|
|
<b>{% trans "Stack"%}</b> |
|
|
<td>{{ switch.stack.name }}</td> |
|
|
</br> |
|
|
<td>{{ switch.stack_member_id }}</td> |
|
|
{{ switch.stack.name }} |
|
|
<td>{{ switch.model }}</td> |
|
|
</div> |
|
|
</tr> |
|
|
<div class="col-sm-2"> |
|
|
</table> |
|
|
<b>{% trans "Stack member ID" %}</b> |
|
|
|
|
|
</br> |
|
|
|
|
|
{{ switch.stack_member_id }} |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="col-sm-3"> |
|
|
|
|
|
<b>{% trans "Switch model" %}</b> |
|
|
|
|
|
</br> |
|
|
|
|
|
{{ switch.model }} |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
{% if switch.interface_set.first.details %} |
|
|
{% if switch.interface_set.first.details %} |
|
|
|