diff --git a/passbook/admin/templates/administration/base.html b/passbook/admin/templates/administration/base.html index 1fb106800..e4892177f 100644 --- a/passbook/admin/templates/administration/base.html +++ b/passbook/admin/templates/administration/base.html @@ -1,7 +1 @@ {% extends "overview/base.html" %} - -{% load i18n %} -{% load is_active %} - -{% block nav_secondary %} -{% endblock %} diff --git a/passbook/admin/templates/generic/form.html b/passbook/admin/templates/generic/form.html index b25fe016b..006e932f1 100644 --- a/passbook/admin/templates/generic/form.html +++ b/passbook/admin/templates/generic/form.html @@ -24,41 +24,57 @@ {% endblock %} {% block content %} -
- {% block above_form %} - {% endblock %} -
-
- {% include 'partials/form.html' with form=form %} - {% block beneath_form %} - {% endblock %} - {% trans "Cancel" %} - -
-
- -
+ {% endblock %} {% block scripts %} diff --git a/passbook/admin/templates/generic/list.html b/passbook/admin/templates/generic/list.html deleted file mode 100644 index a3ee7ac83..000000000 --- a/passbook/admin/templates/generic/list.html +++ /dev/null @@ -1,29 +0,0 @@ -{% extends "administration/base.html" %} - -{% load i18n %} -{% load utils %} - -{% block content %} -
- {% block above_table %} - {% endblock %} - - - - - - - - - - {% for source in object_list %} - - - - - - {% endfor %} - -
{% trans 'Name' %}{% trans 'Class' %}
{{ source.name }}{{ source.cast|fieldtype }}{% trans 'Edit' %}
-
-{% endblock %} \ No newline at end of file diff --git a/passbook/core/templates/error/400.html b/passbook/core/templates/error/400.html index 410263962..4c6d5c069 100644 --- a/passbook/core/templates/error/400.html +++ b/passbook/core/templates/error/400.html @@ -14,10 +14,11 @@ {% endblock %} +{% block card_title %} +{% trans 'Bad Request' %} +{% endblock %} + {% block card %} -
-

{% trans 'Bad Request' %}

-
{% if message %}

{% trans message %}

diff --git a/passbook/core/templates/generic/delete.html b/passbook/core/templates/generic/delete.html index 41cb1bd2d..592f11f90 100644 --- a/passbook/core/templates/generic/delete.html +++ b/passbook/core/templates/generic/delete.html @@ -4,22 +4,40 @@ {% load utils %} {% block content %} -
- {% block above_form %} -

{% blocktrans with object_type=object|verbose_name %}Delete {{ object_type }}{% endblocktrans %}

- {% endblock %} -
- - {% csrf_token %} -

- {% blocktrans with object_type=object|verbose_name name=object %} - Are you sure you want to delete {{ object_type }} "{{ object }}"? - {% endblocktrans %} -

- - {% trans 'Back' %} - - +
+
+ {% block above_form %} +

+ {% blocktrans with object_type=object|verbose_name %} + Delete {{ object_type }} + {% endblocktrans %} +

+ {% endblock %}
-
+ +
+
+
+
+
+
+ {% csrf_token %} +

+ {% blocktrans with object_type=object|verbose_name name=object %} + Are you sure you want to delete {{ object_type }} "{{ object }}"? + {% endblocktrans %} +

+ +
+ +
+
+
+
+
+
+
{% endblock %} diff --git a/passbook/core/templates/login/base.html b/passbook/core/templates/login/base.html index 6c59152f7..45339ae5a 100644 --- a/passbook/core/templates/login/base.html +++ b/passbook/core/templates/login/base.html @@ -17,6 +17,7 @@
+{% include 'partials/messages.html' %}