From 0aec5e44794d6458ee9b8d7b086922aec89aefeb Mon Sep 17 00:00:00 2001 From: Paul-Christian Volkmer Date: Mon, 4 Mar 2024 17:03:41 +0100 Subject: [PATCH] style: fixed first column width --- src/main/resources/static/style.css | 13 +++++++++++++ src/main/resources/templates/configs.html | 4 ++-- src/main/resources/templates/configs/tokens.html | 9 +++++---- src/main/resources/templates/configs/userroles.html | 5 +---- 4 files changed, 21 insertions(+), 10 deletions(-) diff --git a/src/main/resources/static/style.css b/src/main/resources/static/style.css index 82b4d19..81c61eb 100644 --- a/src/main/resources/static/style.css +++ b/src/main/resources/static/style.css @@ -257,6 +257,10 @@ form.samplecode-input input:focus-visible { display: block; } +.userrole-form { + display: inline-block; +} + .userrole-form form { margin: 0; padding: 0; @@ -321,6 +325,15 @@ table { font-family: sans-serif; } +table.config-table td:first-child { + width: 24em; + min-width: fit-content; +} + +table.config-table td > button:last-of-type { + float: right; +} + .border > table { padding: 0; border: none; diff --git a/src/main/resources/templates/configs.html b/src/main/resources/templates/configs.html index 2103b0b..3e8aa9e 100644 --- a/src/main/resources/templates/configs.html +++ b/src/main/resources/templates/configs.html @@ -12,7 +12,7 @@

🔧 Allgemeine Konfiguration

- +
@@ -69,7 +69,7 @@ Hier sehen Sie eine Übersicht der konfigurierten Transformationen.

-
Name
+
diff --git a/src/main/resources/templates/configs/tokens.html b/src/main/resources/templates/configs/tokens.html index 15c70f0..0e245b0 100644 --- a/src/main/resources/templates/configs/tokens.html +++ b/src/main/resources/templates/configs/tokens.html @@ -7,19 +7,20 @@

Tokens

Noch keine Tokens vorhanden.
-
JSON-Path
+
- - - +
Name Erstellt
[[ ${token.name} ]] + + +
diff --git a/src/main/resources/templates/configs/userroles.html b/src/main/resources/templates/configs/userroles.html index f5e4586..e5b9c6d 100644 --- a/src/main/resources/templates/configs/userroles.html +++ b/src/main/resources/templates/configs/userroles.html @@ -7,12 +7,11 @@

Benutzerberechtigungen

Noch keine Benutzerberechtigungen vorhanden.
- +
- @@ -29,8 +28,6 @@ - -
Benutzername Rolle