From 4004bcb8f03b0ca3f076fafac84efe9f1fa83b30 Mon Sep 17 00:00:00 2001 From: Jason Streifling Date: Mon, 9 Sep 2024 22:03:31 +0200 Subject: [PATCH] Make interface responsive --- web/static/css/input.css | 2 +- web/templates/add-user.html | 4 ++-- web/templates/edit-self.html | 2 +- web/templates/edit-user.html | 4 ++-- web/templates/hub.html | 6 +++--- web/templates/index.html | 6 +++--- web/templates/login.html | 6 ++++-- 7 files changed, 16 insertions(+), 14 deletions(-) diff --git a/web/static/css/input.css b/web/static/css/input.css index 815ea0b..e2fe988 100644 --- a/web/static/css/input.css +++ b/web/static/css/input.css @@ -20,7 +20,7 @@ textarea { } .btn-area { - @apply flex gap-4 mt-4; + @apply grid grid-cols-1 md:grid-cols-2 gap-x-4 gap-y-1 mt-4; } .btn { diff --git a/web/templates/add-user.html b/web/templates/add-user.html index a3c9cf7..d6aeae9 100644 --- a/web/templates/add-user.html +++ b/web/templates/add-user.html @@ -2,7 +2,7 @@

Neuer Benutzer

-
+
@@ -25,7 +25,7 @@
-
+
diff --git a/web/templates/edit-self.html b/web/templates/edit-self.html index ee4bdf0..334da84 100644 --- a/web/templates/edit-self.html +++ b/web/templates/edit-self.html @@ -2,7 +2,7 @@

Profil bearbeiten

-
+
diff --git a/web/templates/edit-user.html b/web/templates/edit-user.html index d998f7b..335f7eb 100644 --- a/web/templates/edit-user.html +++ b/web/templates/edit-user.html @@ -2,7 +2,7 @@

Profil von {{.FirstName}} {{.LastName}} bearbeiten

-
+
@@ -29,7 +29,7 @@
-
+
diff --git a/web/templates/hub.html b/web/templates/hub.html index 451d645..43f9e05 100644 --- a/web/templates/hub.html +++ b/web/templates/hub.html @@ -5,7 +5,7 @@ {{if lt . 4}}

Artikel

-
+
{{if lt . 3}} @@ -36,7 +36,7 @@ {{if lt . 4}}

Benutzer

-
+
{{if eq . 0}}