From b8a131e990eee22d523b4c5a4c641898738b6561 Mon Sep 17 00:00:00 2001 From: DaanoGames Date: Wed, 16 Apr 2025 15:36:12 +0200 Subject: [PATCH] changed class name to padding --- application/auth/templates/admin.html | 8 ++++---- application/dash/templates/add_service.html | 9 ++++++--- application/dash/templates/edit_service.html | 8 +++++++- application/static/style.css | 2 +- 4 files changed, 18 insertions(+), 9 deletions(-) diff --git a/application/auth/templates/admin.html b/application/auth/templates/admin.html index d37d244..0eb208f 100644 --- a/application/auth/templates/admin.html +++ b/application/auth/templates/admin.html @@ -35,16 +35,16 @@ Register
{{ form.username.label }}
{{ form.username() }}
-
+
{{ form.password.label }}
{{ form.password() }}
-
+
{{ form.confirm_password.label }}
{{ form.confirm_password() }}
-
+
{{ form.is_admin() }} {{ form.is_admin.label }}
-
+
{{ form.submit() }}
diff --git a/application/dash/templates/add_service.html b/application/dash/templates/add_service.html index 0b44851..a7b07b7 100644 --- a/application/dash/templates/add_service.html +++ b/application/dash/templates/add_service.html @@ -41,13 +41,16 @@ Add service
{{ form.name.label }}
{{ form.name() }}
-
+
{{ form.url.label }}
{{ form.url() }}
-
+
+ Upload an icon: +
+
{{ form.image() }}
-
+
{{ form.submit() }}
diff --git a/application/dash/templates/edit_service.html b/application/dash/templates/edit_service.html index 74a1e26..0ed5287 100644 --- a/application/dash/templates/edit_service.html +++ b/application/dash/templates/edit_service.html @@ -13,7 +13,13 @@ Edit service
{{ form.url.label }}
{{ form.url() }}
-
+
+ Upload an icon: +
+
+ {{ form.image() }} +
+
{{ form.submit(value="Edit") }}
diff --git a/application/static/style.css b/application/static/style.css index 87e882e..37aa8f8 100644 --- a/application/static/style.css +++ b/application/static/style.css @@ -44,7 +44,7 @@ body { font-size: 20px; } -.submit { +.padding { padding-top: 10px; }