Cleaned up attribute tables

This commit is contained in:
Jeremy Stretch 2016-12-14 17:09:33 -05:00
parent bf817eb69e
commit 6a9f26a68d
16 changed files with 20 additions and 17 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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