Remove "Show Descriptions" changes for inline descriptions. Will add feature request later.

This commit is contained in:
Joseph Kennedy 2017-09-01 04:23:51 -04:00
parent 60fd2c4296
commit e3cbdce108
3 changed files with 1 additions and 15 deletions

View File

@ -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;
}

View File

@ -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

View File

@ -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>