From 2acc9061400da24822b0cbedf7640a1f268e9aad Mon Sep 17 00:00:00 2001 From: leah glueck Date: Sun, 22 Mar 2026 19:19:48 +0100 Subject: [PATCH] Fehlermeldungen eingebaut, Pop-up fenster mit intro text bei kontakt.htlm --- kontakt.html | 281 ++++++++++++++++++++++++++++++++++++++++++++++++++- login.html | 92 ++++++++++++++++- 2 files changed, 371 insertions(+), 2 deletions(-) diff --git a/kontakt.html b/kontakt.html index 352f4ab..e9dcf0b 100644 --- a/kontakt.html +++ b/kontakt.html @@ -154,6 +154,137 @@ color: #0073e6; text-decoration: underline; } + + .error-message { + color: #d32f2f; + font-size: 13px; + margin-top: 5px; + display: none; + } + + .form-group.has-error input { + border-color: #d32f2f; + box-shadow: 0 0 5px rgba(211, 47, 47, 0.3); + } + + .form-group.has-error .error-message { + display: block; + } + + /* Modal Styles */ + .modal { + display: none; + position: fixed; + z-index: 1000; + left: 0; + top: 0; + width: 100%; + height: 100%; + background-color: rgba(0, 0, 0, 0.4); + animation: fadeIn 0.3s ease; + } + + @keyframes fadeIn { + from { + opacity: 0; + } + to { + opacity: 1; + } + } + + .modal.show { + display: flex; + justify-content: center; + align-items: center; + } + + .modal-content { + background-color: white; + padding: 40px; + border-radius: 8px; + box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); + max-width: 500px; + width: 90%; + text-align: center; + animation: slideIn 0.3s ease; + } + + @keyframes slideIn { + from { + transform: translateY(-50px); + opacity: 0; + } + to { + transform: translateY(0); + opacity: 1; + } + } + + .modal-header { + position: relative; + margin-bottom: 20px; + } + + .modal-header h2 { + color: #0084ff; + font-size: 24px; + margin-bottom: 10px; + } + + .close-btn { + position: absolute; + right: 0; + top: 0; + font-size: 28px; + font-weight: bold; + color: #999; + background: none; + border: none; + cursor: pointer; + padding: 0; + width: 30px; + height: 30px; + display: flex; + align-items: center; + justify-content: center; + transition: color 0.3s ease; + } + + .close-btn:hover { + color: #333; + } + + .modal-body { + color: #333; + font-size: 16px; + line-height: 1.6; + margin-bottom: 30px; + } + + .modal-footer { + display: flex; + gap: 10px; + justify-content: center; + } + + .modal-footer button { + padding: 10px 30px; + font-size: 14px; + border: none; + border-radius: 4px; + cursor: pointer; + transition: background-color 0.3s ease; + } + + .modal-footer .btn-primary { + background-color: #0084ff; + color: white; + } + + .modal-footer .btn-primary:hover { + background-color: #0073e6; + } @@ -169,25 +300,29 @@ Hinweis: Sichtbar auf der Plattform ist nur der Vorname, erst einer Anmeldung zum Event ist der Nachname für die Teilnehmenden sichtbar. -
+
+
Bitte gib deinen Vornamen ein.
+
Bitte gib deinen Nachnamen ein.
+
Bitte gib eine gültige E-Mail Adresse ein.
+
Dein Passwort muss mindestens 8 Zeichen lang sein.
@@ -198,5 +333,149 @@
+ + + + + diff --git a/login.html b/login.html index d2b5110..eb68679 100644 --- a/login.html +++ b/login.html @@ -142,6 +142,22 @@ color: #0073e6; text-decoration: underline; } + + .error-message { + color: #d32f2f; + font-size: 13px; + margin-top: 5px; + display: none; + } + + .form-group.has-error input { + border-color: #d32f2f; + box-shadow: 0 0 5px rgba(211, 47, 47, 0.3); + } + + .form-group.has-error .error-message { + display: block; + } @@ -153,15 +169,17 @@

Willkommen zurück

-
+
+
Bitte gib eine gültige E-Mail Adresse ein.
+
Bitte gib dein Passwort ein.
@@ -172,5 +190,77 @@
+ +