diff --git a/python/web/src/static/themes/modern/style.css b/python/web/src/static/themes/modern/style.css index d6f4304f..184842e4 100644 --- a/python/web/src/static/themes/modern/style.css +++ b/python/web/src/static/themes/modern/style.css @@ -654,7 +654,7 @@ table#attached-devices td.parameters form { } table#attached-devices td.parameters form label { - display: none; + padding: 0 0.5rem 0 0; } table#attached-devices td.parameters form select { diff --git a/python/web/src/templates/index.html b/python/web/src/templates/index.html index 1e039b0b..5ef7a8b0 100644 --- a/python/web/src/templates/index.html +++ b/python/web/src/templates/index.html @@ -90,12 +90,11 @@ {% endif %} {{ device.device_name }} - {% if "No Media" in device.status %} + {% if "No Media" in device.status %}
- - +
{% else %} {% if device.params %} @@ -127,7 +126,14 @@ {% endif %} {% endfor %} {% elif device.file %} - {{ device.file }} +
+ + {% if device.device_type in REMOVABLE_DEVICE_TYPES and "No Media" not in device.status %} + + + + {% endif %} +
{% endif %} {% endif %} @@ -142,13 +148,6 @@ {% if device.id in scsi_ids["occupied_ids"] %} - {% if device.device_type in REMOVABLE_DEVICE_TYPES and "No Media" not in device.status %} -
- - - -
- {% endif %}
@@ -414,7 +413,7 @@ {{ _("Device") }} {{ _("Key") }} - {{ _("Parameters and Actions") }} + {{ _("Actions") }} {% for type in device_types.keys() %} @@ -479,9 +478,13 @@ {% endif %} - + {% for f in files|sort(attribute='name') %} {% if type == "SCHD" %} @@ -606,10 +609,10 @@ - +