ui: refine login and panels
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
ID: DOC_000001 | Version: 0.1.4 | Status: Final
|
||||
ID: DOC_000001 | Version: 0.1.5 | Status: Final
|
||||
By: Codex (GPT-5)
|
||||
|
||||
# Projekt-Logbuch (Changelog)
|
||||
@ -46,6 +46,7 @@ By: Codex (GPT-5)
|
||||
| 30.12.2025 | 🎨 UI | ID: TASK_000036 Login-/Dashboard-URLs und Redirect nach Login. By: Codex (GPT-5) |
|
||||
| 30.12.2025 | 🎨 UI | ID: TASK_000037 OIDC-Button neben Anmelden und nur aktiv bei erreichbarem Server. By: Codex (GPT-5) |
|
||||
| 30.12.2025 | 🎨 UI | ID: TASK_000038 Logo im Header und Favicon eingebunden. By: Codex (GPT-5) |
|
||||
| 30.12.2025 | 🎨 UI | ID: TASK_000039 Login-Text reduziert, Buttons symmetrisch, Panels/Metrics harmonisiert. By: Codex (GPT-5) |
|
||||
|
||||
---
|
||||
## Legende
|
||||
|
||||
@ -140,10 +140,14 @@ body.dark-mode .theme-toggle .sun-icon {
|
||||
}
|
||||
|
||||
.login-actions {
|
||||
display: flex;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.login-actions button {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Header - Keep the gradient but more professional */
|
||||
@ -747,8 +751,7 @@ textarea:focus {
|
||||
}
|
||||
|
||||
.login-actions {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
@ -830,3 +833,69 @@ textarea:focus {
|
||||
.value.level-low {
|
||||
color: var(--success);
|
||||
}
|
||||
.metrics {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
||||
gap: 20px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.metric-card {
|
||||
background: var(--bg-panel);
|
||||
padding: 24px;
|
||||
border-radius: 12px;
|
||||
box-shadow: var(--shadow-md);
|
||||
border-left: 4px solid var(--primary);
|
||||
transition: all 0.3s ease;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.metric-card::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background: var(--primary);
|
||||
opacity: 0.05;
|
||||
border-radius: 50%;
|
||||
transform: translate(30%, -30%);
|
||||
}
|
||||
|
||||
.metric-card:hover {
|
||||
transform: translateY(-4px);
|
||||
box-shadow: var(--shadow-lg);
|
||||
border-left-width: 6px;
|
||||
}
|
||||
|
||||
.metric-card .label {
|
||||
font-size: 0.875rem;
|
||||
color: var(--text-secondary);
|
||||
margin-bottom: 8px;
|
||||
text-transform: uppercase;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.metric-card .value {
|
||||
font-size: 2.5rem;
|
||||
font-weight: 700;
|
||||
color: var(--primary);
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.panel-section {
|
||||
background: var(--bg-panel);
|
||||
border-radius: 12px;
|
||||
padding: 24px;
|
||||
box-shadow: var(--shadow-md);
|
||||
border: 1px solid var(--border-main);
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.panel-section h3 {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
@ -25,17 +25,11 @@
|
||||
<i data-lucide="shield-check"></i>
|
||||
<div>
|
||||
<h1>Safe Kiddo Control</h1>
|
||||
<p class="text-muted">Anmeldung erforderlich</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<section id="loginSection">
|
||||
<h3><i data-lucide="log-in"></i> Anmeldung</h3>
|
||||
<p class="text-muted mb-1">Melde dich an um Nutzerkonten zu verwalten</p>
|
||||
|
||||
<div style="margin: 1.5rem 0; border-top: 1px solid var(--color-border); position: relative;">
|
||||
<span style="position: absolute; top: -0.6rem; left: 50%; transform: translateX(-50%); background: var(--color-surface); padding: 0 1rem; color: var(--color-text-muted); font-size: 0.75rem;">ODER</span>
|
||||
</div>
|
||||
|
||||
<form id="loginForm">
|
||||
<div class="grid">
|
||||
@ -102,7 +96,7 @@
|
||||
</div>
|
||||
|
||||
<!-- User Management Section -->
|
||||
<section id="userSection" class="hidden">
|
||||
<section id="userSection" class="panel-section hidden">
|
||||
<h3><i data-lucide="users"></i> Nutzerverwaltung</h3>
|
||||
|
||||
<button id="refreshUsersBtn" class="secondary small">
|
||||
@ -131,7 +125,7 @@
|
||||
</section>
|
||||
|
||||
<!-- Update Management Section -->
|
||||
<section id="updateSection" class="hidden">
|
||||
<section id="updateSection" class="panel-section hidden">
|
||||
<h3><i data-lucide="download"></i> Update-Verwaltung</h3>
|
||||
|
||||
<div id="updateStatus" style="background: rgba(10, 14, 20, 0.6); border: 1px solid var(--color-border); border-left: 3px solid var(--color-accent); padding: 1rem; border-radius: var(--radius-sm); margin-bottom: 1rem;">
|
||||
|
||||
20
project-management/requirements/tasks/TASK_000039.md
Normal file
20
project-management/requirements/tasks/TASK_000039.md
Normal file
@ -0,0 +1,20 @@
|
||||
ID: TASK_000039 | Version: 0.1.5 | Status: Done
|
||||
By: Codex (GPT-5)
|
||||
|
||||
# TASK_000039: Login-Text und Panel-Layout
|
||||
|
||||
## Outcome
|
||||
Login-Text reduziert, Buttons symmetrisch, und Metrics/Nutzer-Panel wirken konsistent mit dem restlichen Design.
|
||||
|
||||
## Story-Bezug
|
||||
US_000022
|
||||
|
||||
## Beschreibung
|
||||
- "Anmeldung erforderlich" und Hinweistext im Login entfernen.
|
||||
- ODER-Trenner entfernen.
|
||||
- Login-Buttons gleichbreit nebeneinander ausrichten.
|
||||
- Metrics und Sections als Panels gestalten.
|
||||
|
||||
## Definition of Done (DoD)
|
||||
- Login-Text reduziert und Buttons symmetrisch.
|
||||
- Metrics/Sections fügen sich visuell in das UI ein.
|
||||
Reference in New Issue
Block a user