From 4e1d3590d0de5d07b167bbde0e934b967d75ae92 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Sat, 2 Jul 2022 00:39:27 +0200 Subject: style updates to many forms --- fietsboek/routes.py | 2 +- fietsboek/templates/edit_form.jinja2 | 4 +-- fietsboek/templates/login.jinja2 | 32 +++++++++++++++------- fietsboek/templates/profile.jinja2 | 52 +++++++++++++++++------------------- 4 files changed, 49 insertions(+), 41 deletions(-) diff --git a/fietsboek/routes.py b/fietsboek/routes.py index fb8536e..e19b47a 100644 --- a/fietsboek/routes.py +++ b/fietsboek/routes.py @@ -17,7 +17,7 @@ def includeme(config): config.add_route('cancel-upload', '/cancel/{id}') config.add_route('details', '/track/{id}') - config.add_route('edit', '/edit/{id}') + config.add_route('edit', '/track/{id}/edit') config.add_route('gpx', '/gpx/{id}.gpx') config.add_route('invalidate-share', '/track/{id}/invalidate-link') config.add_route('badge', '/badge/{id}') diff --git a/fietsboek/templates/edit_form.jinja2 b/fietsboek/templates/edit_form.jinja2 index e3aaba5..5851673 100644 --- a/fietsboek/templates/edit_form.jinja2 +++ b/fietsboek/templates/edit_form.jinja2 @@ -21,7 +21,7 @@
{{ _("page.track.form.tags") }}
-
+
{% for tag in tags %} {{ tag }} {% endfor %} @@ -83,6 +83,6 @@
- +
{% endmacro %} diff --git a/fietsboek/templates/login.jinja2 b/fietsboek/templates/login.jinja2 index 8d1e2c2..18b12e7 100644 --- a/fietsboek/templates/login.jinja2 +++ b/fietsboek/templates/login.jinja2 @@ -4,20 +4,32 @@

{{ _("page.login.title") }}

- -
-
- +
+
+
+ + +
- -
-
- +
+
+
+ + +
+
+
+
+
+ +
+
+ - - {{ _("page.login.forgot_password") }}
{% endblock content %} diff --git a/fietsboek/templates/profile.jinja2 b/fietsboek/templates/profile.jinja2 index 65978ac..75d087c 100644 --- a/fietsboek/templates/profile.jinja2 +++ b/fietsboek/templates/profile.jinja2 @@ -9,29 +9,23 @@

{{ _("page.my_profile.personal_data") }}

-
- -
- -
+
+ +
-
- -
- -
- {{ _("page.my_profile.personal_data.password_invalid") }} -
+
+ +
+ {{ _("page.my_profile.personal_data.password_invalid") }}
+
-
- -
- -
- {{ _("page.my_profile.personal_data.password_must_match") }} -
+
+ +
+ {{ _("page.my_profile.personal_data.password_must_match") }}
+
@@ -65,15 +59,17 @@
-
-
- -
-
- -
-
- + +
+
+
+ + +
+
+
+ +
-- cgit v1.2.3