From d5cd4427d8347ff97af3e875b33b77b10b4482cf Mon Sep 17 00:00:00 2001 From: elpatron Date: Thu, 16 Apr 2026 08:15:29 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20Kalender-Termine=20als=20QR=20(iCal=20E?= =?UTF-8?q?urope/Berlin)=20und=20UX=20f=C3=BCr=20Datum/Zeit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Modus Text/WLAN/Termin; VEVENT mit TZID Europe/Berlin und VTIMEZONE - Eingabe: separates Datum und 24h-Uhrzeit; Vorschau TT/MM/JJJJ - URL-Parameter und Teilen für Terminfelder - Docker Compose: Healthcheck für Caddy-Container Made-with: Cursor --- docker-compose.yml | 10 +- index.html | 102 +++++++-- main.js | 560 ++++++++++++++++++++++++++++++++++++++++----- 3 files changed, 599 insertions(+), 73 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index a84e8ec..965f1c6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,9 +1,13 @@ -version: '3.8' - services: qr-generator: build: . ports: - "8080:80" container_name: qr-generator - restart: unless-stopped \ No newline at end of file + restart: unless-stopped + healthcheck: + test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://127.0.0.1/"] + interval: 30s + timeout: 5s + retries: 3 + start_period: 10s diff --git a/index.html b/index.html index a6b02ae..98e9165 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,6 @@ - + @@ -53,7 +53,7 @@ color: #374151; } - input, select { + input, select, textarea { width: 100%; padding: 10px; margin-bottom: 15px; @@ -64,7 +64,12 @@ transition: border-color 0.2s ease; } - input:focus, select:focus { + textarea { + min-height: 80px; + resize: vertical; + } + + input:focus, select:focus, textarea:focus { outline: none; border-color: #1e3a8a; box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1); @@ -295,6 +300,24 @@ text-decoration: underline; color: #1e40af; } + + .event-berlin-preview { + font-size: 14px; + color: #4b5563; + margin: -8px 0 16px 0; + line-height: 1.5; + } + + .event-berlin-preview:empty { + display: none; + } + + .event-datetime-hint { + font-size: 13px; + color: #6b7280; + margin: -4px 0 12px 0; + line-height: 1.4; + } @@ -303,24 +326,70 @@
- -
- - + + + +
+ +
+ + +
-
-
- - -
+