From 01f9bb2ffd053c8f762a2b38219c77c7ccae9c32 Mon Sep 17 00:00:00 2001 From: Elliott Balsley <3991046+llamafilm@users.noreply.github.com> Date: Mon, 28 Oct 2024 12:28:48 -0700 Subject: [PATCH] Update rack_elevation.html --- .../templates/netbox_reorder_rack/inc/rack_elevation.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netbox_reorder_rack/templates/netbox_reorder_rack/inc/rack_elevation.html b/netbox_reorder_rack/templates/netbox_reorder_rack/inc/rack_elevation.html index c4d96b1..04cc2be 100644 --- a/netbox_reorder_rack/templates/netbox_reorder_rack/inc/rack_elevation.html +++ b/netbox_reorder_rack/templates/netbox_reorder_rack/inc/rack_elevation.html @@ -34,7 +34,7 @@ data-item-face="{{ face }}"> {% if device.device.device_type.front_image and images %} <div class="grid-stack-item-content" - style="background-image: url('{{ base_url }}{{ device.device.device_type.front_image.url }}'); + style="background-image: url('{{ device.device.device_type.front_image.url }}'); background-size: {{ unit_width }}px; color: #{% if device.device.role.color %}{{ device.device.role.color|text_color }}{% else %}000000{% endif %}"> {% if labels %}{{ device.device | device_name }}{% endif %} @@ -63,7 +63,7 @@ gs-no-move="{% if not request.user|can_change:device.device %}true{% else %}{% endif %}"> {% if device.device.device_type.rear_image and images %} <div class="grid-stack-item-content device_rear" - style="background-image: url('{{ base_url }}{{ device.device.device_type.rear_image.url }}'); + style="background-image: url('{{ device.device.device_type.rear_image.url }}'); background-size: {{ unit_width }}px; color: #{% if device.device.role.color %}{{ device.device.role.color|text_color }}{% else %}000000{% endif %}"> {% if labels %}{{ device.device | device_name }}{% endif %}