From 21ef696057f51f96d9ac785031217ae81904d373 Mon Sep 17 00:00:00 2001 From: Thomas Rusiecki Date: Fri, 14 Feb 2025 17:51:11 -0300 Subject: [PATCH] minor view changes --- admin/templates/states_panel.html | 8 ++---- dashboard/templates/base.html | 5 ++-- dashboard/templates/unassigned_devices.html | 31 +++++++++++---------- device/templates/details.html | 5 ++-- evidence/templates/ev_details.html | 14 +++++----- evidence/templates/upload.html | 4 +-- user/templates/panel.html | 2 +- 7 files changed, 33 insertions(+), 36 deletions(-) diff --git a/admin/templates/states_panel.html b/admin/templates/states_panel.html index 540cc42..78a21d9 100644 --- a/admin/templates/states_panel.html +++ b/admin/templates/states_panel.html @@ -9,13 +9,9 @@ {% endblock %} {% block content %} -
-
-

{{ subtitle }}

-
-
+

{{ subtitle }}

-
+
{% if state_definitions %} diff --git a/dashboard/templates/base.html b/dashboard/templates/base.html index 716db77..06f917e 100644 --- a/dashboard/templates/base.html +++ b/dashboard/templates/base.html @@ -219,13 +219,14 @@ -
+
{% block actions %} {% endblock %}
+
{% block content %} {% endblock content %} - +
diff --git a/dashboard/templates/unassigned_devices.html b/dashboard/templates/unassigned_devices.html index 7ddbd18..6a6094a 100644 --- a/dashboard/templates/unassigned_devices.html +++ b/dashboard/templates/unassigned_devices.html @@ -3,27 +3,32 @@ {% load paginacion %} {% block actions %} + {% if lot %} - + {% trans 'Documents' %} {% endif %} - + {% if lot %} + + + {% trans 'Properties' %} + + {% endif %} + {% trans 'Exports' %} - {% if lot %} - - - {% trans 'properties' %} - - {% endif %} + {% endblock%} {% block content %} -

{{ subtitle }}

+ +{% if lot.name %} +

{% trans "Lot" %} {{ lot.name }}

+{% endif %}
@@ -91,7 +96,7 @@ {% elif dev.type == "SolidStateDrive" %} {% elif dev.type == "NetworkAdapter" %} - + {% elif dev.type == "Processor" %} {% elif dev.type == "RamModule" %} @@ -104,8 +109,6 @@ {% elif dev.type == "Camera" %} - {% else %} - {% endif %} {{dev.type}} @@ -132,10 +135,8 @@
-
-
+
{% render_pagination page total_pages limit %} -