mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-27 19:27:33 +02:00
update templates to bootstrap 5 classes
This commit is contained in:
@@ -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">—</span>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user