update templates to bootstrap 5 classes

This commit is contained in:
checktheroads
2021-03-14 01:06:18 -07:00
parent 362392d1de
commit 991f71bf28
9 changed files with 259 additions and 234 deletions

View File

@@ -319,6 +319,11 @@
<div class="card-body">
{% if related_devices %}
<table class="table table-hover">
<tr>
<th>Device</th>
<th>Rack</th>
<th>Type</th>
</tr>
{% for rd in related_devices %}
<tr>
<td>
@@ -326,7 +331,7 @@
</td>
<td>
{% if rd.rack %}
<a href="{% url 'dcim:rack' pk=rd.rack.pk %}">Rack {{ rd.rack }}</a>
<a href="{% url 'dcim:rack' pk=rd.rack.pk %}">{{ rd.rack }}</a>
{% else %}
<span class="text-muted">&mdash;</span>
{% endif %}