mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-08 00:28:16 -06:00
replaced columns status and name in interface table
This commit is contained in:
parent
37ab3f6811
commit
9a6f06c979
@ -293,11 +293,11 @@
|
|||||||
<table class="table table-condensed interface-ips">
|
<table class="table table-condensed interface-ips">
|
||||||
<thead>
|
<thead>
|
||||||
<tr class="text-muted">
|
<tr class="text-muted">
|
||||||
<th class="col-md-1">ID</th>
|
<th class="col-md-2">ID</th>
|
||||||
<th class="col-md-1">Tagged</th>
|
<th class="col-md-1">Tagged</th>
|
||||||
<th class="col-md-2">Name</th>
|
|
||||||
<th class="col-md-2">Status</th>
|
<th class="col-md-2">Status</th>
|
||||||
<th class="col-md-3">Description</th>
|
<th class="col-md-3">Name</th>
|
||||||
|
<th class="col-md-4">Description</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tr>
|
<tr>
|
||||||
@ -308,19 +308,19 @@
|
|||||||
<td>
|
<td>
|
||||||
<a href="{% url 'ipam:vlan' iface.untagged_vlan.id %}">{{ iface.untagged_vlan.id }}</a>
|
<a href="{% url 'ipam:vlan' iface.untagged_vlan.id %}">{{ iface.untagged_vlan.id }}</a>
|
||||||
</td>
|
</td>
|
||||||
{# VLAN tag status #}
|
{# VLAN tag #}
|
||||||
<td>
|
<td>
|
||||||
<span class="text-danger">
|
<span class="text-danger">
|
||||||
<li class="fa fa-close"></li>
|
<li class="fa fa-close"></li>
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
{# VLAN name #}
|
|
||||||
<td>{{ iface.untagged_vlan.name }}</td>
|
|
||||||
{# VLAN status #}
|
{# VLAN status #}
|
||||||
<td>
|
<td>
|
||||||
<span class="label label-primary"
|
<span class="label label-primary"
|
||||||
style="text-transform: capitalize">{{ iface.untagged_vlan.status }}</span>
|
style="text-transform: capitalize">{{ iface.untagged_vlan.status }}</span>
|
||||||
</td>
|
</td>
|
||||||
|
{# VLAN name #}
|
||||||
|
<td>{{ iface.untagged_vlan.name }}</td>
|
||||||
{# VLAN description #}
|
{# VLAN description #}
|
||||||
<td>{{ iface.untagged_vlan.description }}</td>
|
<td>{{ iface.untagged_vlan.description }}</td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -341,13 +341,13 @@
|
|||||||
<li class="fa fa-check"></li>
|
<li class="fa fa-check"></li>
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
{# VLAN name #}
|
|
||||||
<td>{{ tag.name }}</td>
|
|
||||||
{# VLAN status #}
|
{# VLAN status #}
|
||||||
<td>
|
<td>
|
||||||
<span class="label label-primary"
|
<span class="label label-primary"
|
||||||
style="text-transform: capitalize">{{ tag.status }}</span>
|
style="text-transform: capitalize">{{ tag.status }}</span>
|
||||||
</td>
|
</td>
|
||||||
|
{# VLAN name #}
|
||||||
|
<td>{{ tag.name }}</td>
|
||||||
{# VLAN description #}
|
{# VLAN description #}
|
||||||
<td>{{ tag.description }}</td>
|
<td>{{ tag.description }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
Loading…
Reference in New Issue
Block a user