From eed265776b6352f3b1033b2a3970161bbf10a40f Mon Sep 17 00:00:00 2001 From: Adam Gaiswinkler Date: Mon, 14 Jul 2025 07:42:51 +0200 Subject: [PATCH] Anmelde Button und status sichtbarer --- .../Details.razor | 15 ++++++------ .../Module.css | 24 ++++++++++++++++++- 2 files changed, 31 insertions(+), 8 deletions(-) diff --git a/Client/Modules/SZUAbsolventenverein.Module.EventRegistration/Details.razor b/Client/Modules/SZUAbsolventenverein.Module.EventRegistration/Details.razor index c75921b..2cdee0e 100644 --- a/Client/Modules/SZUAbsolventenverein.Module.EventRegistration/Details.razor +++ b/Client/Modules/SZUAbsolventenverein.Module.EventRegistration/Details.razor @@ -20,21 +20,22 @@ @if (Status != null) { -

Status: +

+ Status: @if (Status == true) { - @Localizer["Zusage"] - + @Localizer["Zugesagt"] +
} else { - @Localizer["Absage"] - + @Localizer["Abgesagt"] +
}

} else {
- - + +
} } else diff --git a/Server/wwwroot/Modules/SZUAbsolventenverein.Module.EventRegistration/Module.css b/Server/wwwroot/Modules/SZUAbsolventenverein.Module.EventRegistration/Module.css index 0856a26..95c9d0c 100644 --- a/Server/wwwroot/Modules/SZUAbsolventenverein.Module.EventRegistration/Module.css +++ b/Server/wwwroot/Modules/SZUAbsolventenverein.Module.EventRegistration/Module.css @@ -1 +1,23 @@ -/* Module Custom Styles */ \ No newline at end of file +/* Module Custom Styles */ +.AbsageBtn { + + background-color: #e63946; /* schönes kräftiges Rot */ + color: white; + +} +.AbsageBtn:hover { + background-color: #ae262f +} +.ZusageBtn { + background-color: #2a9d8f; /* angenehmes Grün */ + color: white; +} +.ZusageBtn:hover { + background-color: #20776d +} +.Ueberschrift { + font-size: 1.5rem; +} +.Underline { + text-decoration: underline; +} \ No newline at end of file