Layout improvements

This commit is contained in:
jeremystretch
2021-07-20 15:30:49 -04:00
parent e4c668c252
commit c0bf1576c2
5 changed files with 39 additions and 28 deletions

View File

@@ -14,15 +14,6 @@
</h5>
<div class="card-body">
<table class="table table-hover attr-table">
<tr>
<td colspan="2">
{% if object.enforce_unique %}
<span class="badge bg-info">Unique IP Space</span>
{% else %}
<span class="badge bg-warning text-body">Non-Unique IP Space</span>
{% endif %}
</td>
</tr>
<tr>
<th scope="row">Route Distinguisher</th>
<td><code>{{ object.rd }}</code></td>
@@ -37,6 +28,16 @@
{% endif %}
</td>
</tr>
<tr>
<th scope="row">Unique IP Space</th>
<td>
{% if object.enforce_unique %}
<i class="mdi mdi-check-bold text-success" title="Yes"></i>
{% else %}
<i class="mdi mdi-close-thick text-danger" title="No"></i>
{% endif %}
</td>
</tr>
<tr>
<th scope="row">Description</th>
<td>{{ object.description|placeholder }}</td>