mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-18 21:16:27 -06:00
Cleaned up attribute tables
This commit is contained in:
parent
bf817eb69e
commit
6a9f26a68d
@ -89,6 +89,9 @@ th.pk, td.pk {
|
||||
tfoot td {
|
||||
font-weight: bold;
|
||||
}
|
||||
table.attr-table td:nth-child(1) {
|
||||
width: 25%;
|
||||
}
|
||||
|
||||
/* Paginator */
|
||||
div.paginator {
|
||||
@ -327,4 +330,4 @@ td .progress {
|
||||
}
|
||||
textarea {
|
||||
font-family: Consolas, Lucida Console, monospace;
|
||||
}
|
||||
}
|
@ -47,7 +47,7 @@
|
||||
<div class="panel-heading">
|
||||
<strong>Circuit</strong>
|
||||
</div>
|
||||
<table class="table table-hover panel-body">
|
||||
<table class="table table-hover panel-body attr-table">
|
||||
<tr>
|
||||
<td>Provider</td>
|
||||
<td>
|
||||
|
@ -23,7 +23,7 @@
|
||||
<strong>Termination - {{ side }} Side</strong>
|
||||
</div>
|
||||
{% if termination %}
|
||||
<table class="table table-hover panel-body">
|
||||
<table class="table table-hover panel-body attr-table">
|
||||
<tr>
|
||||
<td>Site</td>
|
||||
<td>
|
||||
|
@ -53,7 +53,7 @@
|
||||
<div class="panel-heading">
|
||||
<strong>Provider</strong>
|
||||
</div>
|
||||
<table class="table table-hover panel-body">
|
||||
<table class="table table-hover panel-body attr-table">
|
||||
<tr>
|
||||
<td>ASN</td>
|
||||
<td>
|
||||
|
@ -13,7 +13,7 @@
|
||||
<div class="panel-heading">
|
||||
<strong>Device</strong>
|
||||
</div>
|
||||
<table class="table table-hover panel-body">
|
||||
<table class="table table-hover panel-body attr-table">
|
||||
<tr>
|
||||
<td>Tenant</td>
|
||||
<td>
|
||||
@ -85,7 +85,7 @@
|
||||
<div class="panel-heading">
|
||||
<strong>Management</strong>
|
||||
</div>
|
||||
<table class="table table-hover panel-body">
|
||||
<table class="table table-hover panel-body attr-table">
|
||||
<tr>
|
||||
<td>Role</td>
|
||||
<td>
|
||||
|
@ -10,7 +10,7 @@
|
||||
<div class="panel-heading">
|
||||
<strong>Chassis</strong>
|
||||
</div>
|
||||
<table class="table table-hover panel-body">
|
||||
<table class="table table-hover panel-body attr-table">
|
||||
<tr>
|
||||
<td>Model</td>
|
||||
<td>{{ device.device_type.full_name }}</td>
|
||||
|
@ -39,7 +39,7 @@
|
||||
<div class="panel-heading">
|
||||
<strong>Chassis</strong>
|
||||
</div>
|
||||
<table class="table table-hover panel-body">
|
||||
<table class="table table-hover panel-body attr-table">
|
||||
<tr>
|
||||
<td>Manufacturer</td>
|
||||
<td><a href="{% url 'dcim:devicetype_list' %}?manufacturer={{ devicetype.manufacturer.slug }}">{{ devicetype.manufacturer }}</a></td>
|
||||
|
@ -60,7 +60,7 @@
|
||||
<div class="panel-heading">
|
||||
<strong>Rack</strong>
|
||||
</div>
|
||||
<table class="table table-hover panel-body">
|
||||
<table class="table table-hover panel-body attr-table">
|
||||
<tr>
|
||||
<td>Site</td>
|
||||
<td>
|
||||
|
@ -54,7 +54,7 @@
|
||||
<div class="panel-heading">
|
||||
<strong>Site</strong>
|
||||
</div>
|
||||
<table class="table table-hover panel-body">
|
||||
<table class="table table-hover panel-body attr-table">
|
||||
<tr>
|
||||
<td>Tenant</td>
|
||||
<td>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<div class="panel-heading">
|
||||
<strong>Custom Fields</strong>
|
||||
</div>
|
||||
<table class="table table-hover panel-body">
|
||||
<table class="table table-hover panel-body attr-table">
|
||||
{% for field, value in custom_fields.items %}
|
||||
<tr>
|
||||
<td>{{ field }}</td>
|
||||
|
@ -47,7 +47,7 @@
|
||||
<div class="panel-heading">
|
||||
<strong>Aggregate</strong>
|
||||
</div>
|
||||
<table class="table table-hover panel-body">
|
||||
<table class="table table-hover panel-body attr-table">
|
||||
<tr>
|
||||
<td>Family</td>
|
||||
<td>{{ aggregate.get_family_display }}</td>
|
||||
|
@ -49,7 +49,7 @@
|
||||
<div class="panel-heading">
|
||||
<strong>IP Address</strong>
|
||||
</div>
|
||||
<table class="table table-hover panel-body">
|
||||
<table class="table table-hover panel-body attr-table">
|
||||
<tr>
|
||||
<td>Family</td>
|
||||
<td>{{ ipaddress.get_family_display }}</td>
|
||||
|
@ -11,7 +11,7 @@
|
||||
<div class="panel-heading">
|
||||
<strong>Prefix</strong>
|
||||
</div>
|
||||
<table class="table table-hover panel-body">
|
||||
<table class="table table-hover panel-body attr-table">
|
||||
<tr>
|
||||
<td>Family</td>
|
||||
<td>{{ prefix.get_family_display }}</td>
|
||||
|
@ -50,7 +50,7 @@
|
||||
<div class="panel-heading">
|
||||
<strong>VLAN</strong>
|
||||
</div>
|
||||
<table class="table table-hover panel-body">
|
||||
<table class="table table-hover panel-body attr-table">
|
||||
<tr>
|
||||
<td>Site</td>
|
||||
<td><a href="{% url 'dcim:site' slug=vlan.site.slug %}">{{ vlan.site }}</a></td>
|
||||
|
@ -46,7 +46,7 @@
|
||||
<div class="panel-heading">
|
||||
<strong>VRF</strong>
|
||||
</div>
|
||||
<table class="table table-hover panel-body">
|
||||
<table class="table table-hover panel-body attr-table">
|
||||
<tr>
|
||||
<td>Route Distinguisher</td>
|
||||
<td>{{ vrf.rd }}</td>
|
||||
|
@ -49,7 +49,7 @@
|
||||
<div class="panel-heading">
|
||||
<strong>Tenant</strong>
|
||||
</div>
|
||||
<table class="table table-hover panel-body">
|
||||
<table class="table table-hover panel-body attr-table">
|
||||
<tr>
|
||||
<td>Group</td>
|
||||
<td>
|
||||
|
Loading…
Reference in New Issue
Block a user