Skip to content

Commit

Permalink
Update rack.html
Browse files Browse the repository at this point in the history
  • Loading branch information
llamafilm authored Oct 28, 2024
1 parent 34dcde5 commit 5795059
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ <h4>Non-Racked Devices</h4>
gs-locked="{% if not request.user|can_change:device %}true{% else %}{% endif %}"
gs-no-move="{% if not request.user|can_change:device %}true{% else %}{% endif %}">
<div class="grid-stack-item-content"
style="{% if device.device_type.front_image and images %}background-image: url('{{ base_url }}{{ device.device_type.front_image.url }}');
style="{% if device.device_type.front_image and images %}background-image: url('{{ device.device_type.front_image.url }}');
background-size: {{ unit_width }}px;
{% else %}background-color: #{{ device.role.color }};
{% endif %} color: #{% if device.role.color %}{{ device.role.color|text_color }}{% else %}000000{% endif %}">
Expand Down

0 comments on commit 5795059

Please sign in to comment.