From d4ef00260d52886b1d6fee5fc5ccb1e0a52da9f4 Mon Sep 17 00:00:00 2001 From: Josha von Gizycki Date: Sun, 14 Dec 2025 16:31:57 +0100 Subject: [PATCH] preparations for deleting label fields --- .../controller/RemoveLabelFieldController.kt | 7 +++++++ src/main/resources/static/stylesheet.css | 14 +++++++++----- src/main/resources/templates/show.html | 16 +++++++++++++--- 3 files changed, 29 insertions(+), 8 deletions(-) create mode 100644 src/main/kotlin/wanijo/wanijo2/http/controller/RemoveLabelFieldController.kt diff --git a/src/main/kotlin/wanijo/wanijo2/http/controller/RemoveLabelFieldController.kt b/src/main/kotlin/wanijo/wanijo2/http/controller/RemoveLabelFieldController.kt new file mode 100644 index 0000000..1e15ecd --- /dev/null +++ b/src/main/kotlin/wanijo/wanijo2/http/controller/RemoveLabelFieldController.kt @@ -0,0 +1,7 @@ +package wanijo.wanijo2.http.controller + +import org.springframework.stereotype.Controller + +@Controller +class RemoveLabelFieldController { +} diff --git a/src/main/resources/static/stylesheet.css b/src/main/resources/static/stylesheet.css index bfc111b..88d98c3 100644 --- a/src/main/resources/static/stylesheet.css +++ b/src/main/resources/static/stylesheet.css @@ -89,6 +89,10 @@ main { h2 .low-key-hint { color: var(--light-grey); } + + button { + padding: .3rem; + } } table { @@ -126,10 +130,6 @@ form { textarea { min-height: 20rem; } - - [type=submit] { - padding: .3rem; - } } .form-link { @@ -148,6 +148,10 @@ form { } } -.form-inline { +.form-single { display: block; } + +.form-inline { + display: inline; +} diff --git a/src/main/resources/templates/show.html b/src/main/resources/templates/show.html index eee31b0..25145b8 100644 --- a/src/main/resources/templates/show.html +++ b/src/main/resources/templates/show.html @@ -56,11 +56,21 @@

felder

label - (+) + + +

-
+
+ +
+ + +
+
@@ -88,7 +98,7 @@

gefahr

-
+