feat(ui): Wortmarke neXus mit orangem X (#1065)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-16 22:49:10 +01:00
parent 993172d03e
commit b54ec363cb
4 changed files with 22 additions and 11 deletions

View File

@ -16,8 +16,8 @@ use nexus_core::{check_password_rules, hash_password, verify_password};
use nexus_store::UserRole;
use super::{
LOGO, Viewer, audit, csrf_field, esc, form_field, guard, head, html, layout, new_session,
notice, redirect, refused, same_origin, session_redirect, session_user, viewer,
LOGO, Viewer, WORTMARKE, audit, csrf_field, esc, form_field, guard, head, html, layout,
new_session, notice, redirect, refused, same_origin, session_redirect, session_user, viewer,
};
use crate::state::AppState;
@ -53,7 +53,7 @@ fn setup_html(csrf: &str, message: Option<&str>) -> String {
.unwrap_or_default();
format!(
"{head}<body><main class=\"anmeldung\"><section class=\"card\">\
<div class=\"logo gross\">{LOGO}<span>Nexus</span></div>\
<div class=\"logo gross\">{LOGO}<span class=\"wordmark\">{WORTMARKE}</span></div>\
<h2>Erste Einrichtung</h2>\
<p class=\"muted\">Du bist mit dem Standard-Admin angemeldet. Lege jetzt deinen eigenen Admin-Benutzer an. \
Danach wird der Standard-Admin gelöscht, und du meldest dich nur noch mit deinem Benutzer an.</p>{note}\