1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fix interfaces table header

This commit is contained in:
Jeremy Stretch
2020-10-29 13:38:07 -04:00
parent ce2210b7bc
commit cf328ca51e
2 changed files with 3 additions and 5 deletions

View File

@ -193,10 +193,6 @@ table.component-list td.subtable td {
padding-bottom: 6px;
padding-top: 6px;
}
table.interface-ips th {
font-size: 80%;
font-weight: normal;
}
/* Reports */
table.reports td.method {

View File

@ -486,11 +486,13 @@
<div class="panel-heading">
<strong>Interfaces</strong>
<div class="pull-right noprint">
<input class="form-control interface-filter" type="text" placeholder="Filter" title="Filter text (regular expressions supported)" style="height: 23px" />
{% if request.user.is_authenticated %}
<button type="button" class="btn btn-default btn-xs" data-toggle="modal" data-target="#DeviceInterfaceTable_config" title="Configure table"><i class="fa fa-cog"></i> Configure</button>
{% endif %}
</div>
<div class="pull-right col-md-2 noprint">
<input class="form-control interface-filter" type="text" placeholder="Filter" title="Filter text (regular expressions supported)" style="height: 23px" />
</div>
</div>
{% include 'responsive_table.html' with table=interface_table %}
<div class="panel-footer noprint">