Dateien nach "frontend/src" hochladen

This commit is contained in:
2026-05-26 15:12:17 +02:00
parent 777ebcbb02
commit d656027a20
2 changed files with 11 additions and 26 deletions

View File

@@ -948,7 +948,7 @@ function AdminPanel({ toast, mobile, user }) {
<h1 style={{ color:'#fff', fontFamily:"'Space Mono',monospace", fontSize:mobile?17:22, marginBottom:16 }}>Einstellungen</h1>
<div style={{ display:'flex', gap:6, marginBottom:18, flexWrap:'wrap' }}>
{[['profil','Profil'], ...(user?.role==='admin'?[['benutzer','Benutzer'],['backup','Backup']]:[])]
{[['profil','Profil'],['dashboard','Dashboard'], ...(user?.role==='admin'?[['benutzer','Benutzer'],['backup','Backup']]:[])]
.map(([k,l]) => (
<button key={k} onClick={()=>setSection(k)} style={{
padding:'6px 16px', borderRadius:20, fontFamily:'monospace', fontSize:12, cursor:'pointer',
@@ -1010,9 +1010,6 @@ function AdminPanel({ toast, mobile, user }) {
{busy.pw ? '…' : '✓ Passwort ändern'}
</button>
</Sec>
<Sec title="KALENDER (iCal)">
<CalendarSettings toast={toast}/>
</Sec>
<Sec title="ACCOUNT LÖSCHEN">
<p style={{ color:'rgba(255,255,255,0.55)', fontSize:12, fontFamily:'monospace', marginBottom:12, lineHeight:1.6 }}>
Löscht deinen Account und alle deine Daten unwiderruflich.
@@ -1026,6 +1023,14 @@ function AdminPanel({ toast, mobile, user }) {
<div><UserManagement toast={toast}/></div>
)}
{section === 'dashboard' && (
<div>
<Sec title="KALENDER (iCal)">
<CalendarSettings toast={toast}/>
</Sec>
</div>
)}
{section === 'backup' && (
<div>
<Sec title="DATENBANK">