From b380961f0bb20a4720644cfd61179d11ee61ebad Mon Sep 17 00:00:00 2001 From: Thomas Rusiecki Date: Sat, 8 Feb 2025 19:06:38 -0300 Subject: [PATCH] normalized top right buttons --- admin/templates/admin_users.html | 19 +++++++++++-------- dashboard/templates/base.html | 5 +++++ dashboard/templates/unassigned_devices.html | 16 ++++++---------- lot/templates/lots.html | 21 +++++++++++---------- 4 files changed, 33 insertions(+), 28 deletions(-) diff --git a/admin/templates/admin_users.html b/admin/templates/admin_users.html index 37fbf96..92bcf7a 100644 --- a/admin/templates/admin_users.html +++ b/admin/templates/admin_users.html @@ -1,15 +1,18 @@ {% extends "base.html" %} {% load i18n %} +{% block actions %} + + + + {% translate "New user" %} + +{% endblock %} + + {% block content %} -
-
-

{{ subtitle }}

-
- -
+

{{ subtitle }}

+
diff --git a/dashboard/templates/base.html b/dashboard/templates/base.html index ff07943..94ec750 100644 --- a/dashboard/templates/base.html +++ b/dashboard/templates/base.html @@ -200,6 +200,11 @@
+
+ {% block actions %} + {% endblock %} +
+ {% block content %} {% endblock content %} diff --git a/dashboard/templates/unassigned_devices.html b/dashboard/templates/unassigned_devices.html index 6f67a7a..303bb82 100644 --- a/dashboard/templates/unassigned_devices.html +++ b/dashboard/templates/unassigned_devices.html @@ -2,20 +2,13 @@ {% load i18n %} {% load paginacion %} - -{% block content %} -
-
-

{{ subtitle }}

-
- -
+ +{% endblock%} + +{% block content %} +

{{ subtitle }}

diff --git a/lot/templates/lots.html b/lot/templates/lots.html index 2aa866d..23c3d83 100644 --- a/lot/templates/lots.html +++ b/lot/templates/lots.html @@ -1,28 +1,29 @@ {% extends "base.html" %} {% load i18n %} -{% block content %} -
-
-

{{ subtitle }}

-
- -
+{% endblock %} + +{% block content %} +