mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-19 05:21:55 -06:00
#6797: Fit device type images to available space
This commit is contained in:
parent
744f47cb98
commit
cdf8d91e1b
@ -95,7 +95,7 @@
|
||||
<td>
|
||||
{% if object.front_image %}
|
||||
<a href="{{ object.front_image.url }}">
|
||||
<img src="{{ object.front_image.url }}" alt="{{ object.front_image.name }}" class="img-responsive" />
|
||||
<img src="{{ object.front_image.url }}" alt="{{ object.front_image.name }}" class="img-fluid" />
|
||||
</a>
|
||||
{% else %}
|
||||
<span class="text-muted">—</span>
|
||||
@ -107,7 +107,7 @@
|
||||
<td>
|
||||
{% if object.rear_image %}
|
||||
<a href="{{ object.rear_image.url }}">
|
||||
<img src="{{ object.rear_image.url }}" alt="{{ object.rear_image.name }}" class="img-responsive" />
|
||||
<img src="{{ object.rear_image.url }}" alt="{{ object.rear_image.name }}" class="img-fluid" />
|
||||
</a>
|
||||
{% else %}
|
||||
<span class="text-muted">—</span>
|
||||
|
Loading…
Reference in New Issue
Block a user