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 { tfoot td {
font-weight: bold; font-weight: bold;
} }
table.attr-table td:nth-child(1) {
width: 25%;
}
/* Paginator */ /* Paginator */
div.paginator { div.paginator {

View File

@ -47,7 +47,7 @@
<div class="panel-heading"> <div class="panel-heading">
<strong>Circuit</strong> <strong>Circuit</strong>
</div> </div>
<table class="table table-hover panel-body"> <table class="table table-hover panel-body attr-table">
<tr> <tr>
<td>Provider</td> <td>Provider</td>
<td> <td>

View File

@ -23,7 +23,7 @@
<strong>Termination - {{ side }} Side</strong> <strong>Termination - {{ side }} Side</strong>
</div> </div>
{% if termination %} {% if termination %}
<table class="table table-hover panel-body"> <table class="table table-hover panel-body attr-table">
<tr> <tr>
<td>Site</td> <td>Site</td>
<td> <td>

View File

@ -53,7 +53,7 @@
<div class="panel-heading"> <div class="panel-heading">
<strong>Provider</strong> <strong>Provider</strong>
</div> </div>
<table class="table table-hover panel-body"> <table class="table table-hover panel-body attr-table">
<tr> <tr>
<td>ASN</td> <td>ASN</td>
<td> <td>

View File

@ -13,7 +13,7 @@
<div class="panel-heading"> <div class="panel-heading">
<strong>Device</strong> <strong>Device</strong>
</div> </div>
<table class="table table-hover panel-body"> <table class="table table-hover panel-body attr-table">
<tr> <tr>
<td>Tenant</td> <td>Tenant</td>
<td> <td>
@ -85,7 +85,7 @@
<div class="panel-heading"> <div class="panel-heading">
<strong>Management</strong> <strong>Management</strong>
</div> </div>
<table class="table table-hover panel-body"> <table class="table table-hover panel-body attr-table">
<tr> <tr>
<td>Role</td> <td>Role</td>
<td> <td>

View File

@ -10,7 +10,7 @@
<div class="panel-heading"> <div class="panel-heading">
<strong>Chassis</strong> <strong>Chassis</strong>
</div> </div>
<table class="table table-hover panel-body"> <table class="table table-hover panel-body attr-table">
<tr> <tr>
<td>Model</td> <td>Model</td>
<td>{{ device.device_type.full_name }}</td> <td>{{ device.device_type.full_name }}</td>

View File

@ -39,7 +39,7 @@
<div class="panel-heading"> <div class="panel-heading">
<strong>Chassis</strong> <strong>Chassis</strong>
</div> </div>
<table class="table table-hover panel-body"> <table class="table table-hover panel-body attr-table">
<tr> <tr>
<td>Manufacturer</td> <td>Manufacturer</td>
<td><a href="{% url 'dcim:devicetype_list' %}?manufacturer={{ devicetype.manufacturer.slug }}">{{ devicetype.manufacturer }}</a></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"> <div class="panel-heading">
<strong>Rack</strong> <strong>Rack</strong>
</div> </div>
<table class="table table-hover panel-body"> <table class="table table-hover panel-body attr-table">
<tr> <tr>
<td>Site</td> <td>Site</td>
<td> <td>

View File

@ -54,7 +54,7 @@
<div class="panel-heading"> <div class="panel-heading">
<strong>Site</strong> <strong>Site</strong>
</div> </div>
<table class="table table-hover panel-body"> <table class="table table-hover panel-body attr-table">
<tr> <tr>
<td>Tenant</td> <td>Tenant</td>
<td> <td>

View File

@ -3,7 +3,7 @@
<div class="panel-heading"> <div class="panel-heading">
<strong>Custom Fields</strong> <strong>Custom Fields</strong>
</div> </div>
<table class="table table-hover panel-body"> <table class="table table-hover panel-body attr-table">
{% for field, value in custom_fields.items %} {% for field, value in custom_fields.items %}
<tr> <tr>
<td>{{ field }}</td> <td>{{ field }}</td>

View File

@ -47,7 +47,7 @@
<div class="panel-heading"> <div class="panel-heading">
<strong>Aggregate</strong> <strong>Aggregate</strong>
</div> </div>
<table class="table table-hover panel-body"> <table class="table table-hover panel-body attr-table">
<tr> <tr>
<td>Family</td> <td>Family</td>
<td>{{ aggregate.get_family_display }}</td> <td>{{ aggregate.get_family_display }}</td>

View File

@ -49,7 +49,7 @@
<div class="panel-heading"> <div class="panel-heading">
<strong>IP Address</strong> <strong>IP Address</strong>
</div> </div>
<table class="table table-hover panel-body"> <table class="table table-hover panel-body attr-table">
<tr> <tr>
<td>Family</td> <td>Family</td>
<td>{{ ipaddress.get_family_display }}</td> <td>{{ ipaddress.get_family_display }}</td>

View File

@ -11,7 +11,7 @@
<div class="panel-heading"> <div class="panel-heading">
<strong>Prefix</strong> <strong>Prefix</strong>
</div> </div>
<table class="table table-hover panel-body"> <table class="table table-hover panel-body attr-table">
<tr> <tr>
<td>Family</td> <td>Family</td>
<td>{{ prefix.get_family_display }}</td> <td>{{ prefix.get_family_display }}</td>

View File

@ -50,7 +50,7 @@
<div class="panel-heading"> <div class="panel-heading">
<strong>VLAN</strong> <strong>VLAN</strong>
</div> </div>
<table class="table table-hover panel-body"> <table class="table table-hover panel-body attr-table">
<tr> <tr>
<td>Site</td> <td>Site</td>
<td><a href="{% url 'dcim:site' slug=vlan.site.slug %}">{{ vlan.site }}</a></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"> <div class="panel-heading">
<strong>VRF</strong> <strong>VRF</strong>
</div> </div>
<table class="table table-hover panel-body"> <table class="table table-hover panel-body attr-table">
<tr> <tr>
<td>Route Distinguisher</td> <td>Route Distinguisher</td>
<td>{{ vrf.rd }}</td> <td>{{ vrf.rd }}</td>

View File

@ -49,7 +49,7 @@
<div class="panel-heading"> <div class="panel-heading">
<strong>Tenant</strong> <strong>Tenant</strong>
</div> </div>
<table class="table table-hover panel-body"> <table class="table table-hover panel-body attr-table">
<tr> <tr>
<td>Group</td> <td>Group</td>
<td> <td>