Admin-Accounts-Editor (CRUD inkl. 2FA-Mail) + Regel: Lehrer-Username = E-Mail (Maske + register), Schueler frei

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-08-18 11:43:04 +02:00
parent b0fe3fdf86
commit 2bdaa0f6cc
9 changed files with 305 additions and 2 deletions
+3 -1
View File
@@ -107,6 +107,7 @@ $activeMain = null;
<h2>Einloggen</h2>
<label>E-Mail oder Benutzername</label>
<input type="text" id="l-user" placeholder="name@schule.at oder schueler01">
<p style="font-size:.66rem;color:#8a8a8a;margin:.15rem 0 .3rem">Lehrpersonen melden sich mit ihrer <strong>E-Mail-Adresse</strong> an, Schüler*innen mit ihrem <strong>Benutzernamen</strong>.</p>
<label>Passwort</label>
<div class="pw-wrap"><input type="password" id="l-pass"><span class="pw-eye" onclick="togglePw(this)">👁</span></div>
<button class="btn" onclick="doLogin()">Einloggen</button>
@@ -123,8 +124,9 @@ $activeMain = null;
</div>
<div id="reg-teacher">
<label>E-Mail</label>
<label>E-Mail-Adresse</label>
<input type="email" id="r-email" placeholder="name@schule.at">
<p style="font-size:.66rem;color:#8a8a8a;margin:.15rem 0 .4rem">Ihre E-Mail-Adresse ist zugleich Ihr <strong>Benutzername</strong> für die Anmeldung.</p>
<label>Passwort (mind. 8 Zeichen)</label>
<div class="pw-wrap"><input type="password" id="r-pass" minlength="8"><span class="pw-eye" onclick="togglePw(this)">👁</span></div>
<label>Passwort bestätigen</label>