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]:focus {
|
||||
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">
|
||||
<span class="glyphicon glyphicon-check" aria-hidden="true"></span> Show IPs
|
||||
</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 %}
|
||||
<button class="btn btn-default btn-xs toggle">
|
||||
<span class="glyphicon glyphicon-unchecked" aria-hidden="true"></span> Select all
|
||||
|
@ -11,13 +11,8 @@
|
||||
<span class="label label-primary">{{ iface.lag.name }}</span>
|
||||
{% endif %}
|
||||
{% 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 %}
|
||||
<td>
|
||||
{% if iface.description %}
|
||||
<span class="text-muted iface-description" title="{{ iface.description }}">{{ iface.description }}</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</td>
|
||||
<td>{{ iface.mtu|default:"" }}</td>
|
||||
<td>{{ iface.mac_address|default:"" }}</td>
|
||||
|
Loading…
Reference in New Issue
Block a user