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 }}

-
-
- {% translate "Add new user" %} -
-
+

{{ 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 }}

-
-
+{% block actions %} {% if lot %} {% trans 'Documents' %} {% endif %} - {% trans 'Exports' %} @@ -26,8 +19,11 @@ {% trans 'Annotations' %} {% endif %} -
-
+ +{% 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 %} +