From 8bcf12e1a767367f536e16578208db3c1317b0c9 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sun, 12 Jul 2020 20:32:32 +0100 Subject: [PATCH] Redesign tags and license edit pages --- app/templates/admin/licenses/edit.html | 6 ++---- app/templates/admin/licenses/list.html | 19 +++++++++++++------ app/templates/admin/tags/edit.html | 6 ++---- app/templates/admin/tags/list.html | 21 ++++++++++++++++----- 4 files changed, 33 insertions(+), 19 deletions(-) diff --git a/app/templates/admin/licenses/edit.html b/app/templates/admin/licenses/edit.html index eabe782..e488c56 100644 --- a/app/templates/admin/licenses/edit.html +++ b/app/templates/admin/licenses/edit.html @@ -9,10 +9,8 @@ {% endblock %} {% block content %} -

- Back to list | - New License -

+ New License + Back to list {% from "macros/forms.html" import render_field, render_submit_field %}
diff --git a/app/templates/admin/licenses/list.html b/app/templates/admin/licenses/list.html index 869aac6..9d517c5 100644 --- a/app/templates/admin/licenses/list.html +++ b/app/templates/admin/licenses/list.html @@ -5,12 +5,19 @@ Licenses {% endblock %} {% block content %} -

- New License -

- + {% endblock %} diff --git a/app/templates/admin/tags/edit.html b/app/templates/admin/tags/edit.html index 5ffe2d0..f25312e 100644 --- a/app/templates/admin/tags/edit.html +++ b/app/templates/admin/tags/edit.html @@ -9,10 +9,8 @@ {% endblock %} {% block content %} -

- Back to list | - New Tag -

+ New Tag + Back to list {% from "macros/forms.html" import render_field, render_submit_field %} diff --git a/app/templates/admin/tags/list.html b/app/templates/admin/tags/list.html index daae8e7..574d1a6 100644 --- a/app/templates/admin/tags/list.html +++ b/app/templates/admin/tags/list.html @@ -1,16 +1,27 @@ {% extends "base.html" %} {% block title %} -Tags +{{ _("Tags") }} {% endblock %} {% block content %} + {{ _("New Tag") }} + +

{{ _("Tags") }}

+

- New Tag + Also see Package Tags.

- + {% endblock %} -- 2.44.0