mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-07 08:08:15 -06:00
Remove "Show Descriptions" changes for inline descriptions. Will add feature request later.
This commit is contained in:
parent
60fd2c4296
commit
e3cbdce108
@ -398,10 +398,4 @@ textarea {
|
|||||||
.label-disabled[href]:hover,
|
.label-disabled[href]:hover,
|
||||||
.label-disabled[href]:focus {
|
.label-disabled[href]:focus {
|
||||||
background-color: #cd3c3c;
|
background-color: #cd3c3c;
|
||||||
}
|
|
||||||
i.fa-comment-o {
|
|
||||||
display:inline;
|
|
||||||
}
|
|
||||||
.iface-description {
|
|
||||||
display:none;
|
|
||||||
}
|
}
|
@ -391,9 +391,6 @@
|
|||||||
<button class="btn btn-default btn-xs toggle-ips" selected="selected">
|
<button class="btn btn-default btn-xs toggle-ips" selected="selected">
|
||||||
<span class="glyphicon glyphicon-check" aria-hidden="true"></span> Show IPs
|
<span class="glyphicon glyphicon-check" aria-hidden="true"></span> Show IPs
|
||||||
</button>
|
</button>
|
||||||
<button class="btn btn-default btn-xs toggle-description">
|
|
||||||
<span class="glyphicon glyphicon-unchecked" aria-hidden="true"></span> Show Descriptions
|
|
||||||
</button>
|
|
||||||
{% if perms.dcim.change_interface and interfaces|length > 1 %}
|
{% if perms.dcim.change_interface and interfaces|length > 1 %}
|
||||||
<button class="btn btn-default btn-xs toggle">
|
<button class="btn btn-default btn-xs toggle">
|
||||||
<span class="glyphicon glyphicon-unchecked" aria-hidden="true"></span> Select all
|
<span class="glyphicon glyphicon-unchecked" aria-hidden="true"></span> Select all
|
||||||
|
@ -11,13 +11,8 @@
|
|||||||
<span class="label label-primary">{{ iface.lag.name }}</span>
|
<span class="label label-primary">{{ iface.lag.name }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if iface.description %}
|
{% if iface.description %}
|
||||||
<i class="fa fa-fw fa-comment-o" aria-hidden="true" title="{{ iface.description }}"></i>
|
<i class="fa fa-fw fa-comment-o" title="{{ iface.description }}"></i>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<td>
|
|
||||||
{% if iface.description %}
|
|
||||||
<span class="text-muted iface-description" title="{{ iface.description }}">{{ iface.description }}</span>
|
|
||||||
{% endif %}
|
|
||||||
</td>
|
|
||||||
</td>
|
</td>
|
||||||
<td>{{ iface.mtu|default:"" }}</td>
|
<td>{{ iface.mtu|default:"" }}</td>
|
||||||
<td>{{ iface.mac_address|default:"" }}</td>
|
<td>{{ iface.mac_address|default:"" }}</td>
|
||||||
|
Loading…
Reference in New Issue
Block a user