Refactors dashboard to use external CSS file
Moves inline styles to dedicated dashboard.css Updates HTML to reference external stylesheet Improves code organization and maintainability Relates to refac branch
This commit is contained in:
parent
0fa5b60a6b
commit
7b2080a7bf
10 changed files with 9481 additions and 899 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 63 KiB |
869
wwwroot/css/dashboard.css
Normal file
869
wwwroot/css/dashboard.css
Normal file
|
|
@ -0,0 +1,869 @@
|
||||||
|
/* ==========================================
|
||||||
|
DASHBOARD STYLES
|
||||||
|
========================================== */
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
FONT FACE (Poppins)
|
||||||
|
========================================== */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Poppins';
|
||||||
|
src: url('../fonts/Poppins-Regular.woff') format('woff');
|
||||||
|
font-weight: 400;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Poppins';
|
||||||
|
src: url('../fonts/Poppins-Medium.woff') format('woff');
|
||||||
|
font-weight: 500;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Poppins';
|
||||||
|
src: url('../fonts/Poppins-SemiBold.woff') format('woff');
|
||||||
|
font-weight: 600;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Poppins';
|
||||||
|
src: url('../fonts/Poppins-Bold.woff') format('woff');
|
||||||
|
font-weight: 700;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
CSS VARIABLES
|
||||||
|
========================================== */
|
||||||
|
:root {
|
||||||
|
--color-surface: #fff;
|
||||||
|
--color-background: #f5f5f5;
|
||||||
|
--color-background-hover: #f0f0f0;
|
||||||
|
--color-background-alt: #fafafa;
|
||||||
|
--color-border: #e0e0e0;
|
||||||
|
--color-text: #333;
|
||||||
|
--color-text-secondary: #666;
|
||||||
|
--color-teal: #00897b;
|
||||||
|
--color-blue: #1976d2;
|
||||||
|
--color-red: #e53935;
|
||||||
|
--color-amber: #f59e0b;
|
||||||
|
--color-purple: #8b5cf6;
|
||||||
|
--color-green: #43a047;
|
||||||
|
--font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||||||
|
--font-mono: 'JetBrains Mono', monospace;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Dark mode */
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
:root:not(.light-mode) {
|
||||||
|
--color-surface: #1e1e1e;
|
||||||
|
--color-background: #121212;
|
||||||
|
--color-background-hover: #2a2a2a;
|
||||||
|
--color-background-alt: #1a1a1a;
|
||||||
|
--color-border: #333;
|
||||||
|
--color-text: #e0e0e0;
|
||||||
|
--color-text-secondary: #999;
|
||||||
|
--color-teal: #26a69a;
|
||||||
|
--color-blue: #42a5f5;
|
||||||
|
--color-red: #ef5350;
|
||||||
|
--color-amber: #ffb74d;
|
||||||
|
--color-purple: #a78bfa;
|
||||||
|
--color-green: #66bb6a;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
:root.dark-mode {
|
||||||
|
--color-surface: #1e1e1e;
|
||||||
|
--color-background: #121212;
|
||||||
|
--color-background-hover: #2a2a2a;
|
||||||
|
--color-background-alt: #1a1a1a;
|
||||||
|
--color-border: #333;
|
||||||
|
--color-text: #e0e0e0;
|
||||||
|
--color-text-secondary: #999;
|
||||||
|
--color-teal: #26a69a;
|
||||||
|
--color-blue: #42a5f5;
|
||||||
|
--color-red: #ef5350;
|
||||||
|
--color-amber: #ffb74d;
|
||||||
|
--color-purple: #a78bfa;
|
||||||
|
--color-green: #66bb6a;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
RESET & BASE
|
||||||
|
========================================== */
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: var(--font-family);
|
||||||
|
font-size: 14px;
|
||||||
|
color: var(--color-text);
|
||||||
|
background: var(--color-background);
|
||||||
|
line-height: 1.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
LAYOUT
|
||||||
|
========================================== */
|
||||||
|
swp-page-container {
|
||||||
|
display: block;
|
||||||
|
max-width: 1400px;
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-dashboard-grid {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 1fr 380px;
|
||||||
|
gap: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-main-column {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-side-column {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
BUTTONS
|
||||||
|
========================================== */
|
||||||
|
swp-btn {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
padding: 10px 18px;
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: 500;
|
||||||
|
font-family: var(--font-family);
|
||||||
|
border-radius: 6px;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: all 150ms ease;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-btn i {
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-btn.primary {
|
||||||
|
background: var(--color-teal);
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-btn.primary:hover {
|
||||||
|
background: #00796b;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-btn.secondary {
|
||||||
|
background: var(--color-surface);
|
||||||
|
border: 1px solid var(--color-border);
|
||||||
|
color: var(--color-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-btn.secondary:hover {
|
||||||
|
background: var(--color-background-hover);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
CARDS
|
||||||
|
========================================== */
|
||||||
|
swp-card {
|
||||||
|
display: block;
|
||||||
|
background: var(--color-surface);
|
||||||
|
border-radius: 8px;
|
||||||
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-card-header {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-card-title {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: var(--color-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-card-title i {
|
||||||
|
font-size: 20px;
|
||||||
|
color: var(--color-teal);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-card-action {
|
||||||
|
font-size: 12px;
|
||||||
|
color: var(--color-teal);
|
||||||
|
cursor: pointer;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-card-action:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-section-label {
|
||||||
|
display: block;
|
||||||
|
font-size: 11px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.5px;
|
||||||
|
margin-bottom: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
STATS BAR
|
||||||
|
========================================== */
|
||||||
|
swp-stats-bar {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(4, 1fr);
|
||||||
|
gap: 16px;
|
||||||
|
margin-bottom: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-stat-card {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 4px;
|
||||||
|
padding: 16px 20px;
|
||||||
|
background: var(--color-surface);
|
||||||
|
border-radius: 8px;
|
||||||
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-stat-card swp-stat-value {
|
||||||
|
font-size: 28px;
|
||||||
|
font-weight: 700;
|
||||||
|
font-family: var(--font-mono);
|
||||||
|
color: var(--color-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-stat-card swp-stat-label {
|
||||||
|
font-size: 12px;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-stat-card swp-stat-trend {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 4px;
|
||||||
|
font-size: 11px;
|
||||||
|
margin-top: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-stat-card swp-stat-trend.up {
|
||||||
|
color: var(--color-green);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-stat-card swp-stat-trend.down {
|
||||||
|
color: var(--color-red);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-stat-card.highlight swp-stat-value {
|
||||||
|
color: var(--color-teal);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-stat-card.success swp-stat-value {
|
||||||
|
color: var(--color-green);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-stat-card.warning swp-stat-value {
|
||||||
|
color: var(--color-amber);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
AI INSIGHT
|
||||||
|
========================================== */
|
||||||
|
swp-ai-insight {
|
||||||
|
display: block;
|
||||||
|
padding: 16px;
|
||||||
|
background: linear-gradient(135deg, color-mix(in srgb, var(--color-purple) 8%, transparent), color-mix(in srgb, var(--color-teal) 8%, transparent));
|
||||||
|
border: 1px solid color-mix(in srgb, var(--color-purple) 20%, transparent);
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-ai-header {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-ai-header i {
|
||||||
|
font-size: 20px;
|
||||||
|
color: var(--color-purple);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-ai-header span {
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: var(--color-purple);
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-ai-text {
|
||||||
|
display: block;
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 1.6;
|
||||||
|
color: var(--color-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-ai-text strong {
|
||||||
|
color: var(--color-purple);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
OCCUPANCY BAR
|
||||||
|
========================================== */
|
||||||
|
swp-occupancy-bar {
|
||||||
|
display: block;
|
||||||
|
margin-top: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-occupancy-header {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: baseline;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-occupancy-label {
|
||||||
|
font-size: 13px;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-occupancy-value {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 600;
|
||||||
|
font-family: var(--font-mono);
|
||||||
|
color: var(--color-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-occupancy-track {
|
||||||
|
height: 8px;
|
||||||
|
background: var(--color-border);
|
||||||
|
border-radius: 4px;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-occupancy-fill {
|
||||||
|
display: block;
|
||||||
|
height: 100%;
|
||||||
|
background: var(--color-teal);
|
||||||
|
border-radius: 4px;
|
||||||
|
transition: width 500ms ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-occupancy-fill.high {
|
||||||
|
background: var(--color-green);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-occupancy-fill.medium {
|
||||||
|
background: var(--color-amber);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-occupancy-fill.low {
|
||||||
|
background: var(--color-red);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
TIMELINE / BOOKINGS
|
||||||
|
========================================== */
|
||||||
|
swp-booking-list {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-booking-item {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 12px;
|
||||||
|
padding: 12px;
|
||||||
|
background: var(--color-background-alt);
|
||||||
|
border-radius: 6px;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background 150ms ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-booking-item:hover {
|
||||||
|
background: var(--color-background-hover);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-booking-time {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
min-width: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-booking-time swp-time-start {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 600;
|
||||||
|
font-family: var(--font-mono);
|
||||||
|
color: var(--color-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-booking-time swp-time-end {
|
||||||
|
font-size: 11px;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
font-family: var(--font-mono);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-booking-indicator {
|
||||||
|
width: 4px;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 2px;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-booking-indicator.teal { background: var(--color-teal); }
|
||||||
|
swp-booking-indicator.blue { background: var(--color-blue); }
|
||||||
|
swp-booking-indicator.purple { background: var(--color-purple); }
|
||||||
|
swp-booking-indicator.amber { background: var(--color-amber); }
|
||||||
|
swp-booking-indicator.green { background: var(--color-green); }
|
||||||
|
|
||||||
|
swp-booking-details {
|
||||||
|
flex: 1;
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-booking-service {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 500;
|
||||||
|
color: var(--color-text);
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-booking-customer {
|
||||||
|
font-size: 12px;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-booking-employee {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-booking-employee swp-avatar-small {
|
||||||
|
width: 24px;
|
||||||
|
height: 24px;
|
||||||
|
border-radius: 50%;
|
||||||
|
background: var(--color-teal);
|
||||||
|
color: white;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
font-size: 10px;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-booking-employee span {
|
||||||
|
font-size: 12px;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-booking-status {
|
||||||
|
padding: 4px 8px;
|
||||||
|
border-radius: 4px;
|
||||||
|
font-size: 11px;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-booking-status.confirmed {
|
||||||
|
background: color-mix(in srgb, var(--color-green) 15%, transparent);
|
||||||
|
color: var(--color-green);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-booking-status.pending {
|
||||||
|
background: color-mix(in srgb, var(--color-amber) 15%, transparent);
|
||||||
|
color: var(--color-amber);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-booking-status.inprogress {
|
||||||
|
background: color-mix(in srgb, var(--color-blue) 15%, transparent);
|
||||||
|
color: var(--color-blue);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-booking-status.completed {
|
||||||
|
background: var(--color-background-hover);
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-booking-item.completed {
|
||||||
|
opacity: 0.6;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-booking-item.completed swp-booking-indicator {
|
||||||
|
background: var(--color-border);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
ATTENTION LIST
|
||||||
|
========================================== */
|
||||||
|
swp-attention-list {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-attention-item {
|
||||||
|
display: flex;
|
||||||
|
align-items: flex-start;
|
||||||
|
gap: 12px;
|
||||||
|
padding: 12px;
|
||||||
|
background: var(--color-background-alt);
|
||||||
|
border-radius: 6px;
|
||||||
|
border-left: 3px solid var(--color-border);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-attention-item.urgent {
|
||||||
|
border-left-color: var(--color-red);
|
||||||
|
background: color-mix(in srgb, var(--color-red) 5%, var(--color-background-alt));
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-attention-item.warning {
|
||||||
|
border-left-color: var(--color-amber);
|
||||||
|
background: color-mix(in srgb, var(--color-amber) 5%, var(--color-background-alt));
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-attention-item.info {
|
||||||
|
border-left-color: var(--color-blue);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-attention-icon {
|
||||||
|
width: 32px;
|
||||||
|
height: 32px;
|
||||||
|
border-radius: 50%;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-attention-item.urgent swp-attention-icon {
|
||||||
|
background: color-mix(in srgb, var(--color-red) 15%, transparent);
|
||||||
|
color: var(--color-red);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-attention-item.warning swp-attention-icon {
|
||||||
|
background: color-mix(in srgb, var(--color-amber) 15%, transparent);
|
||||||
|
color: var(--color-amber);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-attention-item.info swp-attention-icon {
|
||||||
|
background: color-mix(in srgb, var(--color-blue) 15%, transparent);
|
||||||
|
color: var(--color-blue);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-attention-icon i {
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-attention-content {
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-attention-title {
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: 500;
|
||||||
|
color: var(--color-text);
|
||||||
|
margin-bottom: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-attention-desc {
|
||||||
|
font-size: 12px;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-attention-action {
|
||||||
|
font-size: 12px;
|
||||||
|
color: var(--color-teal);
|
||||||
|
cursor: pointer;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-attention-action:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
EMPLOYEE STATUS
|
||||||
|
========================================== */
|
||||||
|
swp-employee-list {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-employee-status-item {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 12px;
|
||||||
|
padding: 10px 12px;
|
||||||
|
background: var(--color-background-alt);
|
||||||
|
border-radius: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-employee-avatar {
|
||||||
|
width: 36px;
|
||||||
|
height: 36px;
|
||||||
|
border-radius: 50%;
|
||||||
|
background: var(--color-teal);
|
||||||
|
color: white;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: 600;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-employee-info {
|
||||||
|
flex: 1;
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-employee-name {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 500;
|
||||||
|
color: var(--color-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-employee-current {
|
||||||
|
font-size: 12px;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-employee-status-badge {
|
||||||
|
padding: 4px 10px;
|
||||||
|
border-radius: 12px;
|
||||||
|
font-size: 11px;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-employee-status-badge.busy {
|
||||||
|
background: color-mix(in srgb, var(--color-teal) 15%, transparent);
|
||||||
|
color: var(--color-teal);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-employee-status-badge.available {
|
||||||
|
background: color-mix(in srgb, var(--color-green) 15%, transparent);
|
||||||
|
color: var(--color-green);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-employee-status-badge.away {
|
||||||
|
background: color-mix(in srgb, var(--color-amber) 15%, transparent);
|
||||||
|
color: var(--color-amber);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-employee-status-badge.off {
|
||||||
|
background: var(--color-background-hover);
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
QUICK STATS MINI
|
||||||
|
========================================== */
|
||||||
|
swp-quick-stats {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(2, 1fr);
|
||||||
|
gap: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-quick-stat {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 2px;
|
||||||
|
padding: 12px;
|
||||||
|
background: var(--color-background-alt);
|
||||||
|
border-radius: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-quick-stat swp-stat-value {
|
||||||
|
font-size: 20px;
|
||||||
|
font-weight: 600;
|
||||||
|
font-family: var(--font-mono);
|
||||||
|
color: var(--color-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-quick-stat swp-stat-label {
|
||||||
|
font-size: 11px;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
NOTIFICATIONS
|
||||||
|
========================================== */
|
||||||
|
swp-notification-list {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-notification-item {
|
||||||
|
display: flex;
|
||||||
|
align-items: flex-start;
|
||||||
|
gap: 10px;
|
||||||
|
padding: 10px 12px;
|
||||||
|
background: var(--color-background-alt);
|
||||||
|
border-radius: 6px;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background 150ms ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-notification-item:hover {
|
||||||
|
background: var(--color-background-hover);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-notification-item.unread {
|
||||||
|
background: color-mix(in srgb, var(--color-teal) 5%, var(--color-background-alt));
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-notification-icon {
|
||||||
|
width: 28px;
|
||||||
|
height: 28px;
|
||||||
|
border-radius: 50%;
|
||||||
|
background: var(--color-background-hover);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
flex-shrink: 0;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-notification-icon i {
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-notification-content {
|
||||||
|
flex: 1;
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-notification-text {
|
||||||
|
font-size: 13px;
|
||||||
|
color: var(--color-text);
|
||||||
|
line-height: 1.4;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-notification-text strong {
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-notification-time {
|
||||||
|
font-size: 11px;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
margin-top: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-notification-item.unread swp-notification-icon {
|
||||||
|
background: color-mix(in srgb, var(--color-teal) 15%, transparent);
|
||||||
|
color: var(--color-teal);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
TIME INDICATOR
|
||||||
|
========================================== */
|
||||||
|
swp-current-time {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
padding: 8px 12px;
|
||||||
|
background: color-mix(in srgb, var(--color-teal) 10%, transparent);
|
||||||
|
border-radius: 6px;
|
||||||
|
margin-bottom: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-current-time i {
|
||||||
|
font-size: 16px;
|
||||||
|
color: var(--color-teal);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-current-time span {
|
||||||
|
font-size: 13px;
|
||||||
|
color: var(--color-teal);
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-current-time swp-time {
|
||||||
|
font-family: var(--font-mono);
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
PAGE HEADER (for content modules)
|
||||||
|
========================================== */
|
||||||
|
swp-page-header {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
margin-bottom: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-page-header swp-page-title {
|
||||||
|
font-size: 18px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: var(--color-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-page-header swp-page-actions {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-date-display {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
font-size: 14px;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-date-display i {
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
RESPONSIVE
|
||||||
|
========================================== */
|
||||||
|
@media (max-width: 1100px) {
|
||||||
|
swp-dashboard-grid {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-stats-bar {
|
||||||
|
grid-template-columns: repeat(2, 1fr);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 600px) {
|
||||||
|
swp-stats-bar {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
}
|
||||||
576
wwwroot/css/indstillinger.css
Normal file
576
wwwroot/css/indstillinger.css
Normal file
|
|
@ -0,0 +1,576 @@
|
||||||
|
/* ==========================================
|
||||||
|
INDSTILLINGER (SETTINGS) STYLES
|
||||||
|
========================================== */
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
PAGE LAYOUT
|
||||||
|
========================================== */
|
||||||
|
swp-page-container {
|
||||||
|
display: block;
|
||||||
|
max-width: 900px;
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-page-header {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
margin-bottom: 32px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-page-title {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-page-title h1 {
|
||||||
|
font-size: 22px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: var(--color-text);
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-page-title p {
|
||||||
|
font-size: 13px;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
SETTINGS SECTIONS
|
||||||
|
========================================== */
|
||||||
|
swp-settings-section {
|
||||||
|
display: block;
|
||||||
|
background: var(--color-surface);
|
||||||
|
border-radius: 8px;
|
||||||
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
|
||||||
|
margin-bottom: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-section-header {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
padding: 20px 24px;
|
||||||
|
border-bottom: 1px solid var(--color-border);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-section-title {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-section-title i {
|
||||||
|
font-size: 22px;
|
||||||
|
color: var(--color-teal);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-section-title h2 {
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: var(--color-text);
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-section-content {
|
||||||
|
display: block;
|
||||||
|
padding: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-section-footer {
|
||||||
|
display: flex;
|
||||||
|
justify-content: flex-end;
|
||||||
|
padding: 16px 24px;
|
||||||
|
border-top: 1px solid var(--color-border);
|
||||||
|
background: var(--color-background-alt);
|
||||||
|
border-radius: 0 0 8px 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
FORM ELEMENTS
|
||||||
|
========================================== */
|
||||||
|
swp-form-grid {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(2, 1fr);
|
||||||
|
gap: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-form-grid.single-column {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-form-row {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-form-row.full-width {
|
||||||
|
grid-column: 1 / -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-form-label {
|
||||||
|
display: block;
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: 500;
|
||||||
|
color: var(--color-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-form-label span.optional {
|
||||||
|
font-weight: 400;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
margin-left: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-form-input {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
padding: 10px 14px;
|
||||||
|
font-size: 14px;
|
||||||
|
font-family: var(--font-family);
|
||||||
|
color: var(--color-text);
|
||||||
|
background: var(--color-background);
|
||||||
|
border: 1px solid var(--color-border);
|
||||||
|
border-radius: 6px;
|
||||||
|
transition: all 150ms ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-form-input:focus {
|
||||||
|
outline: none;
|
||||||
|
border-color: var(--color-teal);
|
||||||
|
box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-teal) 15%, transparent);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-form-input::placeholder {
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-form-input[type="time"] {
|
||||||
|
padding: 8px 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-form-textarea {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
padding: 10px 14px;
|
||||||
|
font-size: 14px;
|
||||||
|
font-family: var(--font-family);
|
||||||
|
color: var(--color-text);
|
||||||
|
background: var(--color-background);
|
||||||
|
border: 1px solid var(--color-border);
|
||||||
|
border-radius: 6px;
|
||||||
|
resize: vertical;
|
||||||
|
min-height: 80px;
|
||||||
|
transition: all 150ms ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-form-textarea:focus {
|
||||||
|
outline: none;
|
||||||
|
border-color: var(--color-teal);
|
||||||
|
box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-teal) 15%, transparent);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-form-select {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
padding: 10px 14px;
|
||||||
|
font-size: 14px;
|
||||||
|
font-family: var(--font-family);
|
||||||
|
color: var(--color-text);
|
||||||
|
background: var(--color-background);
|
||||||
|
border: 1px solid var(--color-border);
|
||||||
|
border-radius: 6px;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: all 150ms ease;
|
||||||
|
appearance: none;
|
||||||
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 256 256'%3E%3Cpath fill='%23666' d='M213.66 101.66l-80 80a8 8 0 0 1-11.32 0l-80-80A8 8 0 0 1 48 88h160a8 8 0 0 1 5.66 13.66z'/%3E%3C/svg%3E");
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: right 12px center;
|
||||||
|
padding-right: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-form-select:focus {
|
||||||
|
outline: none;
|
||||||
|
border-color: var(--color-teal);
|
||||||
|
box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-teal) 15%, transparent);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-form-hint {
|
||||||
|
display: block;
|
||||||
|
font-size: 12px;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
margin-top: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
TOGGLE SWITCH
|
||||||
|
========================================== */
|
||||||
|
swp-toggle-row {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
padding: 12px 0;
|
||||||
|
border-bottom: 1px solid var(--color-border);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-toggle-row:last-child {
|
||||||
|
border-bottom: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-toggle-info {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-toggle-label {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 500;
|
||||||
|
color: var(--color-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-toggle-desc {
|
||||||
|
font-size: 12px;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-toggle {
|
||||||
|
position: relative;
|
||||||
|
width: 44px;
|
||||||
|
height: 24px;
|
||||||
|
background: var(--color-border);
|
||||||
|
border-radius: 12px;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background 200ms ease;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-toggle.active {
|
||||||
|
background: var(--color-teal);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-toggle-knob {
|
||||||
|
position: absolute;
|
||||||
|
top: 2px;
|
||||||
|
left: 2px;
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
background: white;
|
||||||
|
border-radius: 50%;
|
||||||
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
|
||||||
|
transition: transform 200ms ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-toggle.active swp-toggle-knob {
|
||||||
|
transform: translateX(20px);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
OPENING HOURS TABLE
|
||||||
|
========================================== */
|
||||||
|
swp-hours-table {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-hours-row {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 100px 80px 1fr 1fr auto;
|
||||||
|
gap: 16px;
|
||||||
|
align-items: center;
|
||||||
|
padding: 12px 0;
|
||||||
|
border-bottom: 1px solid var(--color-border);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-hours-row:last-child {
|
||||||
|
border-bottom: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-hours-day {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 500;
|
||||||
|
color: var(--color-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-hours-status {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-hours-badge {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
padding: 4px 10px;
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: 500;
|
||||||
|
border-radius: 4px;
|
||||||
|
background: color-mix(in srgb, var(--color-green) 15%, transparent);
|
||||||
|
color: var(--color-green);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-hours-badge.closed {
|
||||||
|
background: var(--color-background);
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-hours-time {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-hours-time span {
|
||||||
|
font-size: 13px;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-hours-time swp-form-input {
|
||||||
|
width: 100px;
|
||||||
|
padding: 8px 12px;
|
||||||
|
font-size: 13px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-hours-actions {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
LOGO UPLOAD
|
||||||
|
========================================== */
|
||||||
|
swp-logo-upload {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-logo-preview {
|
||||||
|
width: 80px;
|
||||||
|
height: 80px;
|
||||||
|
background: var(--color-background);
|
||||||
|
border: 2px dashed var(--color-border);
|
||||||
|
border-radius: 8px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-logo-preview.has-logo {
|
||||||
|
border-style: solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-logo-preview img {
|
||||||
|
max-width: 100%;
|
||||||
|
max-height: 100%;
|
||||||
|
object-fit: contain;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-logo-preview i {
|
||||||
|
font-size: 32px;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-logo-actions {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-logo-actions swp-btn {
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
URL FIELD WITH COPY
|
||||||
|
========================================== */
|
||||||
|
swp-url-field {
|
||||||
|
display: flex;
|
||||||
|
align-items: stretch;
|
||||||
|
border: 1px solid var(--color-border);
|
||||||
|
border-radius: 6px;
|
||||||
|
overflow: hidden;
|
||||||
|
background: var(--color-background);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-url-field swp-form-input {
|
||||||
|
border: none;
|
||||||
|
border-radius: 0;
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-url-field swp-form-input:focus {
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-url-copy {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
padding: 0 14px;
|
||||||
|
background: var(--color-surface);
|
||||||
|
border-left: 1px solid var(--color-border);
|
||||||
|
cursor: pointer;
|
||||||
|
transition: all 150ms ease;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-url-copy:hover {
|
||||||
|
background: var(--color-background-hover);
|
||||||
|
color: var(--color-teal);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-url-copy i {
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
BUTTONS
|
||||||
|
========================================== */
|
||||||
|
swp-btn {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
padding: 10px 18px;
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: 500;
|
||||||
|
font-family: var(--font-family);
|
||||||
|
border-radius: 6px;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: all 150ms ease;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-btn i {
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-btn.primary {
|
||||||
|
background: var(--color-teal);
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-btn.primary:hover {
|
||||||
|
background: #00796b;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-btn.secondary {
|
||||||
|
background: var(--color-surface);
|
||||||
|
border: 1px solid var(--color-border);
|
||||||
|
color: var(--color-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-btn.secondary:hover {
|
||||||
|
background: var(--color-background-hover);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-btn.small {
|
||||||
|
padding: 6px 12px;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-btn.small i {
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-btn.danger {
|
||||||
|
background: transparent;
|
||||||
|
border: 1px solid var(--color-border);
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-btn.danger:hover {
|
||||||
|
background: color-mix(in srgb, var(--color-red) 10%, transparent);
|
||||||
|
border-color: var(--color-red);
|
||||||
|
color: var(--color-red);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
ICON BUTTON
|
||||||
|
========================================== */
|
||||||
|
swp-icon-btn {
|
||||||
|
width: 32px;
|
||||||
|
height: 32px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
border: none;
|
||||||
|
background: transparent;
|
||||||
|
border-radius: 6px;
|
||||||
|
cursor: pointer;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
transition: all 150ms ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-icon-btn:hover {
|
||||||
|
background: var(--color-background-hover);
|
||||||
|
color: var(--color-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-icon-btn i {
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
INFO BOX
|
||||||
|
========================================== */
|
||||||
|
swp-info-box {
|
||||||
|
display: flex;
|
||||||
|
align-items: flex-start;
|
||||||
|
gap: 12px;
|
||||||
|
padding: 14px 16px;
|
||||||
|
background: color-mix(in srgb, var(--color-blue) 8%, transparent);
|
||||||
|
border: 1px solid color-mix(in srgb, var(--color-blue) 20%, transparent);
|
||||||
|
border-radius: 6px;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-info-box i {
|
||||||
|
font-size: 20px;
|
||||||
|
color: var(--color-blue);
|
||||||
|
flex-shrink: 0;
|
||||||
|
margin-top: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-info-box p {
|
||||||
|
font-size: 13px;
|
||||||
|
color: var(--color-text);
|
||||||
|
margin: 0;
|
||||||
|
line-height: 1.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
RESPONSIVE
|
||||||
|
========================================== */
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
swp-page-container {
|
||||||
|
padding: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-form-grid {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-hours-row {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
gap: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-hours-time {
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-section-header {
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: flex-start;
|
||||||
|
gap: 12px;
|
||||||
|
}
|
||||||
|
}
|
||||||
684
wwwroot/css/konto.css
Normal file
684
wwwroot/css/konto.css
Normal file
|
|
@ -0,0 +1,684 @@
|
||||||
|
/* ==========================================
|
||||||
|
KONTO & ABONNEMENT STYLES
|
||||||
|
========================================== */
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
PAGE LAYOUT
|
||||||
|
========================================== */
|
||||||
|
swp-page-container {
|
||||||
|
display: block;
|
||||||
|
max-width: 1200px;
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-page-header {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
margin-bottom: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-page-title {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-page-title h1 {
|
||||||
|
font-size: 22px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: var(--color-text);
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-page-title p {
|
||||||
|
font-size: 13px;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
SECTIONS
|
||||||
|
========================================== */
|
||||||
|
swp-section {
|
||||||
|
display: block;
|
||||||
|
margin-bottom: 32px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-section-header {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-section-title {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 10px;
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: var(--color-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-section-title i {
|
||||||
|
font-size: 22px;
|
||||||
|
color: var(--color-teal);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
PLAN CARDS
|
||||||
|
========================================== */
|
||||||
|
swp-plan-grid {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(3, 1fr);
|
||||||
|
gap: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-plan-card {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
background: var(--color-surface);
|
||||||
|
border: 2px solid var(--color-border);
|
||||||
|
border-radius: 12px;
|
||||||
|
padding: 24px;
|
||||||
|
transition: all 200ms ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-plan-card.current {
|
||||||
|
border-color: var(--color-teal);
|
||||||
|
box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-teal) 15%, transparent);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-plan-card.enterprise {
|
||||||
|
background: linear-gradient(135deg, var(--color-surface) 0%, color-mix(in srgb, var(--color-purple) 5%, var(--color-surface)) 100%);
|
||||||
|
border-color: var(--color-purple);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-plan-badge {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 6px;
|
||||||
|
padding: 4px 10px;
|
||||||
|
font-size: 11px;
|
||||||
|
font-weight: 600;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.5px;
|
||||||
|
border-radius: 20px;
|
||||||
|
width: fit-content;
|
||||||
|
margin-bottom: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-plan-badge.current {
|
||||||
|
background: color-mix(in srgb, var(--color-teal) 15%, transparent);
|
||||||
|
color: var(--color-teal);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-plan-badge.popular {
|
||||||
|
background: color-mix(in srgb, var(--color-amber) 15%, transparent);
|
||||||
|
color: var(--color-amber);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-plan-name {
|
||||||
|
font-size: 20px;
|
||||||
|
font-weight: 700;
|
||||||
|
color: var(--color-text);
|
||||||
|
margin-bottom: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-plan-users {
|
||||||
|
font-size: 13px;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-plan-price {
|
||||||
|
display: flex;
|
||||||
|
align-items: baseline;
|
||||||
|
gap: 4px;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-plan-price-amount {
|
||||||
|
font-size: 36px;
|
||||||
|
font-weight: 700;
|
||||||
|
color: var(--color-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-plan-price-period {
|
||||||
|
font-size: 14px;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-plan-features {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 10px;
|
||||||
|
flex: 1;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-plan-feature {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 10px;
|
||||||
|
font-size: 13px;
|
||||||
|
color: var(--color-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-plan-feature i {
|
||||||
|
font-size: 18px;
|
||||||
|
color: var(--color-green);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-plan-action {
|
||||||
|
margin-top: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-plan-action swp-btn {
|
||||||
|
width: 100%;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-plan-card.current swp-btn.secondary {
|
||||||
|
background: var(--color-background-alt);
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
USERS TABLE
|
||||||
|
========================================== */
|
||||||
|
swp-users-header {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-users-count {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
font-size: 14px;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-users-count strong {
|
||||||
|
color: var(--color-text);
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-users-progress {
|
||||||
|
width: 100px;
|
||||||
|
height: 6px;
|
||||||
|
background: var(--color-border);
|
||||||
|
border-radius: 3px;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-users-progress-bar {
|
||||||
|
height: 100%;
|
||||||
|
background: var(--color-teal);
|
||||||
|
border-radius: 3px;
|
||||||
|
transition: width 300ms ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-users-progress-bar.warning {
|
||||||
|
background: var(--color-amber);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-users-progress-bar.full {
|
||||||
|
background: var(--color-red);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-table-card {
|
||||||
|
display: block;
|
||||||
|
background: var(--color-surface);
|
||||||
|
border-radius: 8px;
|
||||||
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-table {
|
||||||
|
display: table;
|
||||||
|
width: 100%;
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-table-header {
|
||||||
|
display: table-header-group;
|
||||||
|
background: var(--color-background-alt);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-table-body {
|
||||||
|
display: table-row-group;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-table-row {
|
||||||
|
display: table-row;
|
||||||
|
transition: background 150ms ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-table-body swp-table-row:hover {
|
||||||
|
background: var(--color-background-hover);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-table-cell {
|
||||||
|
display: table-cell;
|
||||||
|
padding: 14px 16px;
|
||||||
|
font-size: 13px;
|
||||||
|
color: var(--color-text);
|
||||||
|
border-bottom: 1px solid var(--color-border);
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-table-header swp-table-cell {
|
||||||
|
font-size: 11px;
|
||||||
|
font-weight: 600;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.5px;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
border-bottom: 1px solid var(--color-border);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-table-cell:first-child {
|
||||||
|
padding-left: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-table-cell:last-child {
|
||||||
|
padding-right: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* User row specific */
|
||||||
|
swp-user-info {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-user-avatar {
|
||||||
|
width: 36px;
|
||||||
|
height: 36px;
|
||||||
|
border-radius: 50%;
|
||||||
|
background: var(--color-teal);
|
||||||
|
color: white;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: 600;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-user-avatar.purple { background: var(--color-purple); }
|
||||||
|
swp-user-avatar.blue { background: var(--color-blue); }
|
||||||
|
swp-user-avatar.amber { background: var(--color-amber); }
|
||||||
|
|
||||||
|
swp-user-details {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-user-name {
|
||||||
|
font-weight: 500;
|
||||||
|
color: var(--color-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-user-email {
|
||||||
|
font-size: 12px;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-role-badge {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
padding: 4px 10px;
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: 500;
|
||||||
|
border-radius: 4px;
|
||||||
|
background: var(--color-background);
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-role-badge.admin {
|
||||||
|
background: color-mix(in srgb, var(--color-purple) 15%, transparent);
|
||||||
|
color: var(--color-purple);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-role-badge.owner {
|
||||||
|
background: color-mix(in srgb, var(--color-teal) 15%, transparent);
|
||||||
|
color: var(--color-teal);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-status-badge {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 6px;
|
||||||
|
padding: 4px 10px;
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: 500;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-status-badge.active {
|
||||||
|
background: color-mix(in srgb, var(--color-green) 15%, transparent);
|
||||||
|
color: var(--color-green);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-status-badge.invited {
|
||||||
|
background: color-mix(in srgb, var(--color-amber) 15%, transparent);
|
||||||
|
color: var(--color-amber);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-status-badge.inactive {
|
||||||
|
background: var(--color-background);
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-status-dot {
|
||||||
|
width: 6px;
|
||||||
|
height: 6px;
|
||||||
|
border-radius: 50%;
|
||||||
|
background: currentColor;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-table-actions {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-icon-btn {
|
||||||
|
width: 32px;
|
||||||
|
height: 32px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
border: none;
|
||||||
|
background: transparent;
|
||||||
|
border-radius: 6px;
|
||||||
|
cursor: pointer;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
transition: all 150ms ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-icon-btn:hover {
|
||||||
|
background: var(--color-background-hover);
|
||||||
|
color: var(--color-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-icon-btn.danger:hover {
|
||||||
|
background: color-mix(in srgb, var(--color-red) 15%, transparent);
|
||||||
|
color: var(--color-red);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-icon-btn i {
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
BILLING GRID
|
||||||
|
========================================== */
|
||||||
|
swp-billing-grid {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 380px 1fr;
|
||||||
|
gap: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
PAYMENT CARD
|
||||||
|
========================================== */
|
||||||
|
swp-payment-card {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 20px;
|
||||||
|
background: var(--color-surface);
|
||||||
|
border-radius: 8px;
|
||||||
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
|
||||||
|
padding: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-payment-method {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 16px;
|
||||||
|
padding: 16px;
|
||||||
|
background: var(--color-background-alt);
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-payment-icon {
|
||||||
|
width: 48px;
|
||||||
|
height: 32px;
|
||||||
|
background: var(--color-surface);
|
||||||
|
border: 1px solid var(--color-border);
|
||||||
|
border-radius: 4px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-payment-icon i {
|
||||||
|
font-size: 24px;
|
||||||
|
color: var(--color-blue);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-payment-info {
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-payment-type {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: var(--color-text);
|
||||||
|
margin-bottom: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-payment-number {
|
||||||
|
font-size: 13px;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
font-family: var(--font-mono);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-payment-detail {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
padding: 12px 0;
|
||||||
|
border-bottom: 1px solid var(--color-border);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-payment-detail:last-of-type {
|
||||||
|
border-bottom: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-payment-label {
|
||||||
|
font-size: 13px;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-payment-value {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 500;
|
||||||
|
color: var(--color-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-payment-value.highlight {
|
||||||
|
color: var(--color-teal);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
INVOICES
|
||||||
|
========================================== */
|
||||||
|
swp-invoices-card {
|
||||||
|
display: block;
|
||||||
|
background: var(--color-surface);
|
||||||
|
border-radius: 8px;
|
||||||
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-invoices-header {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
padding: 16px 20px;
|
||||||
|
border-bottom: 1px solid var(--color-border);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-invoices-title {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: var(--color-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-invoice-status {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 6px;
|
||||||
|
padding: 4px 10px;
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: 500;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-invoice-status.paid {
|
||||||
|
background: color-mix(in srgb, var(--color-green) 15%, transparent);
|
||||||
|
color: var(--color-green);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-invoice-status.pending {
|
||||||
|
background: color-mix(in srgb, var(--color-amber) 15%, transparent);
|
||||||
|
color: var(--color-amber);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-invoice-status.overdue {
|
||||||
|
background: color-mix(in srgb, var(--color-red) 15%, transparent);
|
||||||
|
color: var(--color-red);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-download-btn {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 6px;
|
||||||
|
padding: 6px 12px;
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: 500;
|
||||||
|
color: var(--color-teal);
|
||||||
|
background: transparent;
|
||||||
|
border: 1px solid var(--color-teal);
|
||||||
|
border-radius: 4px;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: all 150ms ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-download-btn:hover {
|
||||||
|
background: color-mix(in srgb, var(--color-teal) 10%, transparent);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-download-btn i {
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
BUTTONS
|
||||||
|
========================================== */
|
||||||
|
swp-btn {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
padding: 10px 18px;
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: 500;
|
||||||
|
font-family: var(--font-family);
|
||||||
|
border-radius: 6px;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: all 150ms ease;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-btn i {
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-btn.primary {
|
||||||
|
background: var(--color-teal);
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-btn.primary:hover {
|
||||||
|
background: #00796b;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-btn.secondary {
|
||||||
|
background: var(--color-surface);
|
||||||
|
border: 1px solid var(--color-border);
|
||||||
|
color: var(--color-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-btn.secondary:hover {
|
||||||
|
background: var(--color-background-hover);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-btn.outline {
|
||||||
|
background: transparent;
|
||||||
|
border: 1px solid var(--color-teal);
|
||||||
|
color: var(--color-teal);
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-btn.outline:hover {
|
||||||
|
background: color-mix(in srgb, var(--color-teal) 10%, transparent);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
EMPTY STATE
|
||||||
|
========================================== */
|
||||||
|
swp-empty-state {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
padding: 48px 24px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-empty-state i {
|
||||||
|
font-size: 48px;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
margin-bottom: 16px;
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-empty-state p {
|
||||||
|
font-size: 14px;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
RESPONSIVE
|
||||||
|
========================================== */
|
||||||
|
@media (max-width: 1024px) {
|
||||||
|
swp-plan-grid {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-billing-grid {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
swp-page-container {
|
||||||
|
padding: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-table-card {
|
||||||
|
overflow-x: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
swp-table {
|
||||||
|
min-width: 600px;
|
||||||
|
}
|
||||||
|
}
|
||||||
1385
wwwroot/poc-dashboard copy.html
Normal file
1385
wwwroot/poc-dashboard copy.html
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -6,891 +6,13 @@
|
||||||
<title>Dashboard - Salon OS</title>
|
<title>Dashboard - Salon OS</title>
|
||||||
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">
|
||||||
<script src="https://unpkg.com/@phosphor-icons/web@2.1.1"></script>
|
<script src="https://unpkg.com/@phosphor-icons/web@2.1.1"></script>
|
||||||
<style>
|
<link rel="stylesheet" href="css/dashboard.css">
|
||||||
/* ==========================================
|
|
||||||
FONT FACE (Poppins)
|
|
||||||
========================================== */
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Poppins';
|
|
||||||
src: url('fonts/Poppins-Regular.woff') format('woff');
|
|
||||||
font-weight: 400;
|
|
||||||
font-style: normal;
|
|
||||||
font-display: swap;
|
|
||||||
}
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Poppins';
|
|
||||||
src: url('fonts/Poppins-Medium.woff') format('woff');
|
|
||||||
font-weight: 500;
|
|
||||||
font-style: normal;
|
|
||||||
font-display: swap;
|
|
||||||
}
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Poppins';
|
|
||||||
src: url('fonts/Poppins-SemiBold.woff') format('woff');
|
|
||||||
font-weight: 600;
|
|
||||||
font-style: normal;
|
|
||||||
font-display: swap;
|
|
||||||
}
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Poppins';
|
|
||||||
src: url('fonts/Poppins-Bold.woff') format('woff');
|
|
||||||
font-weight: 700;
|
|
||||||
font-style: normal;
|
|
||||||
font-display: swap;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ==========================================
|
|
||||||
CSS VARIABLES
|
|
||||||
========================================== */
|
|
||||||
:root {
|
|
||||||
--color-surface: #fff;
|
|
||||||
--color-background: #f5f5f5;
|
|
||||||
--color-background-hover: #f0f0f0;
|
|
||||||
--color-background-alt: #fafafa;
|
|
||||||
--color-border: #e0e0e0;
|
|
||||||
--color-text: #333;
|
|
||||||
--color-text-secondary: #666;
|
|
||||||
--color-teal: #00897b;
|
|
||||||
--color-blue: #1976d2;
|
|
||||||
--color-red: #e53935;
|
|
||||||
--color-amber: #f59e0b;
|
|
||||||
--color-purple: #8b5cf6;
|
|
||||||
--color-green: #43a047;
|
|
||||||
--font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
||||||
--font-mono: 'JetBrains Mono', monospace;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Dark mode */
|
|
||||||
@media (prefers-color-scheme: dark) {
|
|
||||||
:root:not(.light-mode) {
|
|
||||||
--color-surface: #1e1e1e;
|
|
||||||
--color-background: #121212;
|
|
||||||
--color-background-hover: #2a2a2a;
|
|
||||||
--color-background-alt: #1a1a1a;
|
|
||||||
--color-border: #333;
|
|
||||||
--color-text: #e0e0e0;
|
|
||||||
--color-text-secondary: #999;
|
|
||||||
--color-teal: #26a69a;
|
|
||||||
--color-blue: #42a5f5;
|
|
||||||
--color-red: #ef5350;
|
|
||||||
--color-amber: #ffb74d;
|
|
||||||
--color-purple: #a78bfa;
|
|
||||||
--color-green: #66bb6a;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
:root.dark-mode {
|
|
||||||
--color-surface: #1e1e1e;
|
|
||||||
--color-background: #121212;
|
|
||||||
--color-background-hover: #2a2a2a;
|
|
||||||
--color-background-alt: #1a1a1a;
|
|
||||||
--color-border: #333;
|
|
||||||
--color-text: #e0e0e0;
|
|
||||||
--color-text-secondary: #999;
|
|
||||||
--color-teal: #26a69a;
|
|
||||||
--color-blue: #42a5f5;
|
|
||||||
--color-red: #ef5350;
|
|
||||||
--color-amber: #ffb74d;
|
|
||||||
--color-purple: #a78bfa;
|
|
||||||
--color-green: #66bb6a;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ==========================================
|
|
||||||
RESET & BASE
|
|
||||||
========================================== */
|
|
||||||
* {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
font-family: var(--font-family);
|
|
||||||
font-size: 14px;
|
|
||||||
color: var(--color-text);
|
|
||||||
background: var(--color-background);
|
|
||||||
line-height: 1.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ==========================================
|
|
||||||
TOPBAR
|
|
||||||
========================================== */
|
|
||||||
swp-topbar {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: space-between;
|
|
||||||
padding: 12px 24px;
|
|
||||||
background: var(--color-surface);
|
|
||||||
border-bottom: 1px solid var(--color-border);
|
|
||||||
position: sticky;
|
|
||||||
top: 0;
|
|
||||||
z-index: 100;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-topbar-left {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-page-title {
|
|
||||||
font-size: 16px;
|
|
||||||
font-weight: 600;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-topbar-right {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-date-display {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 8px;
|
|
||||||
font-size: 14px;
|
|
||||||
color: var(--color-text-secondary);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-date-display i {
|
|
||||||
font-size: 18px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ==========================================
|
|
||||||
LAYOUT
|
|
||||||
========================================== */
|
|
||||||
swp-page-container {
|
|
||||||
display: block;
|
|
||||||
max-width: 1400px;
|
|
||||||
margin: 0 auto;
|
|
||||||
padding: 24px;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-dashboard-grid {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: 1fr 380px;
|
|
||||||
gap: 24px;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-main-column {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-side-column {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ==========================================
|
|
||||||
BUTTONS
|
|
||||||
========================================== */
|
|
||||||
swp-btn {
|
|
||||||
display: inline-flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 8px;
|
|
||||||
padding: 10px 18px;
|
|
||||||
font-size: 13px;
|
|
||||||
font-weight: 500;
|
|
||||||
font-family: var(--font-family);
|
|
||||||
border-radius: 6px;
|
|
||||||
cursor: pointer;
|
|
||||||
transition: all 150ms ease;
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-btn i {
|
|
||||||
font-size: 18px;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-btn.primary {
|
|
||||||
background: var(--color-teal);
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-btn.primary:hover {
|
|
||||||
background: #00796b;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-btn.secondary {
|
|
||||||
background: var(--color-surface);
|
|
||||||
border: 1px solid var(--color-border);
|
|
||||||
color: var(--color-text);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-btn.secondary:hover {
|
|
||||||
background: var(--color-background-hover);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ==========================================
|
|
||||||
CARDS
|
|
||||||
========================================== */
|
|
||||||
swp-card {
|
|
||||||
display: block;
|
|
||||||
background: var(--color-surface);
|
|
||||||
border-radius: 8px;
|
|
||||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
|
|
||||||
padding: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-card-header {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: space-between;
|
|
||||||
margin-bottom: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-card-title {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 8px;
|
|
||||||
font-size: 14px;
|
|
||||||
font-weight: 600;
|
|
||||||
color: var(--color-text);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-card-title i {
|
|
||||||
font-size: 20px;
|
|
||||||
color: var(--color-teal);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-card-action {
|
|
||||||
font-size: 12px;
|
|
||||||
color: var(--color-teal);
|
|
||||||
cursor: pointer;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-card-action:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-section-label {
|
|
||||||
display: block;
|
|
||||||
font-size: 11px;
|
|
||||||
font-weight: 600;
|
|
||||||
color: var(--color-text-secondary);
|
|
||||||
text-transform: uppercase;
|
|
||||||
letter-spacing: 0.5px;
|
|
||||||
margin-bottom: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ==========================================
|
|
||||||
STATS BAR
|
|
||||||
========================================== */
|
|
||||||
swp-stats-bar {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: repeat(4, 1fr);
|
|
||||||
gap: 16px;
|
|
||||||
margin-bottom: 24px;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-stat-card {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 4px;
|
|
||||||
padding: 16px 20px;
|
|
||||||
background: var(--color-surface);
|
|
||||||
border-radius: 8px;
|
|
||||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-stat-card swp-stat-value {
|
|
||||||
font-size: 28px;
|
|
||||||
font-weight: 700;
|
|
||||||
font-family: var(--font-mono);
|
|
||||||
color: var(--color-text);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-stat-card swp-stat-label {
|
|
||||||
font-size: 12px;
|
|
||||||
color: var(--color-text-secondary);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-stat-card swp-stat-trend {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 4px;
|
|
||||||
font-size: 11px;
|
|
||||||
margin-top: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-stat-card swp-stat-trend.up {
|
|
||||||
color: var(--color-green);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-stat-card swp-stat-trend.down {
|
|
||||||
color: var(--color-red);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-stat-card.highlight swp-stat-value {
|
|
||||||
color: var(--color-teal);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-stat-card.success swp-stat-value {
|
|
||||||
color: var(--color-green);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-stat-card.warning swp-stat-value {
|
|
||||||
color: var(--color-amber);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ==========================================
|
|
||||||
AI INSIGHT
|
|
||||||
========================================== */
|
|
||||||
swp-ai-insight {
|
|
||||||
display: block;
|
|
||||||
padding: 16px;
|
|
||||||
background: linear-gradient(135deg, color-mix(in srgb, var(--color-purple) 8%, transparent), color-mix(in srgb, var(--color-teal) 8%, transparent));
|
|
||||||
border: 1px solid color-mix(in srgb, var(--color-purple) 20%, transparent);
|
|
||||||
border-radius: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-ai-header {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 8px;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-ai-header i {
|
|
||||||
font-size: 20px;
|
|
||||||
color: var(--color-purple);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-ai-header span {
|
|
||||||
font-size: 12px;
|
|
||||||
font-weight: 600;
|
|
||||||
color: var(--color-purple);
|
|
||||||
text-transform: uppercase;
|
|
||||||
letter-spacing: 0.5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-ai-text {
|
|
||||||
display: block;
|
|
||||||
font-size: 14px;
|
|
||||||
line-height: 1.6;
|
|
||||||
color: var(--color-text);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-ai-text strong {
|
|
||||||
color: var(--color-purple);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ==========================================
|
|
||||||
OCCUPANCY BAR
|
|
||||||
========================================== */
|
|
||||||
swp-occupancy-bar {
|
|
||||||
display: block;
|
|
||||||
margin-top: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-occupancy-header {
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
align-items: baseline;
|
|
||||||
margin-bottom: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-occupancy-label {
|
|
||||||
font-size: 13px;
|
|
||||||
color: var(--color-text-secondary);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-occupancy-value {
|
|
||||||
font-size: 14px;
|
|
||||||
font-weight: 600;
|
|
||||||
font-family: var(--font-mono);
|
|
||||||
color: var(--color-text);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-occupancy-track {
|
|
||||||
height: 8px;
|
|
||||||
background: var(--color-border);
|
|
||||||
border-radius: 4px;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-occupancy-fill {
|
|
||||||
display: block;
|
|
||||||
height: 100%;
|
|
||||||
background: var(--color-teal);
|
|
||||||
border-radius: 4px;
|
|
||||||
transition: width 500ms ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-occupancy-fill.high {
|
|
||||||
background: var(--color-green);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-occupancy-fill.medium {
|
|
||||||
background: var(--color-amber);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-occupancy-fill.low {
|
|
||||||
background: var(--color-red);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ==========================================
|
|
||||||
TIMELINE / BOOKINGS
|
|
||||||
========================================== */
|
|
||||||
swp-booking-list {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-booking-item {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 12px;
|
|
||||||
padding: 12px;
|
|
||||||
background: var(--color-background-alt);
|
|
||||||
border-radius: 6px;
|
|
||||||
cursor: pointer;
|
|
||||||
transition: background 150ms ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-booking-item:hover {
|
|
||||||
background: var(--color-background-hover);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-booking-time {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
min-width: 50px;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-booking-time swp-time-start {
|
|
||||||
font-size: 14px;
|
|
||||||
font-weight: 600;
|
|
||||||
font-family: var(--font-mono);
|
|
||||||
color: var(--color-text);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-booking-time swp-time-end {
|
|
||||||
font-size: 11px;
|
|
||||||
color: var(--color-text-secondary);
|
|
||||||
font-family: var(--font-mono);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-booking-indicator {
|
|
||||||
width: 4px;
|
|
||||||
height: 40px;
|
|
||||||
border-radius: 2px;
|
|
||||||
flex-shrink: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-booking-indicator.teal { background: var(--color-teal); }
|
|
||||||
swp-booking-indicator.blue { background: var(--color-blue); }
|
|
||||||
swp-booking-indicator.purple { background: var(--color-purple); }
|
|
||||||
swp-booking-indicator.amber { background: var(--color-amber); }
|
|
||||||
swp-booking-indicator.green { background: var(--color-green); }
|
|
||||||
|
|
||||||
swp-booking-details {
|
|
||||||
flex: 1;
|
|
||||||
min-width: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-booking-service {
|
|
||||||
font-size: 14px;
|
|
||||||
font-weight: 500;
|
|
||||||
color: var(--color-text);
|
|
||||||
white-space: nowrap;
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-booking-customer {
|
|
||||||
font-size: 12px;
|
|
||||||
color: var(--color-text-secondary);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-booking-employee {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 6px;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-booking-employee swp-avatar-small {
|
|
||||||
width: 24px;
|
|
||||||
height: 24px;
|
|
||||||
border-radius: 50%;
|
|
||||||
background: var(--color-teal);
|
|
||||||
color: white;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
font-size: 10px;
|
|
||||||
font-weight: 600;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-booking-employee span {
|
|
||||||
font-size: 12px;
|
|
||||||
color: var(--color-text-secondary);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-booking-status {
|
|
||||||
padding: 4px 8px;
|
|
||||||
border-radius: 4px;
|
|
||||||
font-size: 11px;
|
|
||||||
font-weight: 500;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-booking-status.confirmed {
|
|
||||||
background: color-mix(in srgb, var(--color-green) 15%, transparent);
|
|
||||||
color: var(--color-green);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-booking-status.pending {
|
|
||||||
background: color-mix(in srgb, var(--color-amber) 15%, transparent);
|
|
||||||
color: var(--color-amber);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-booking-status.inprogress {
|
|
||||||
background: color-mix(in srgb, var(--color-blue) 15%, transparent);
|
|
||||||
color: var(--color-blue);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-booking-status.completed {
|
|
||||||
background: var(--color-background-hover);
|
|
||||||
color: var(--color-text-secondary);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-booking-item.completed {
|
|
||||||
opacity: 0.6;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-booking-item.completed swp-booking-indicator {
|
|
||||||
background: var(--color-border);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ==========================================
|
|
||||||
ATTENTION LIST
|
|
||||||
========================================== */
|
|
||||||
swp-attention-list {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-attention-item {
|
|
||||||
display: flex;
|
|
||||||
align-items: flex-start;
|
|
||||||
gap: 12px;
|
|
||||||
padding: 12px;
|
|
||||||
background: var(--color-background-alt);
|
|
||||||
border-radius: 6px;
|
|
||||||
border-left: 3px solid var(--color-border);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-attention-item.urgent {
|
|
||||||
border-left-color: var(--color-red);
|
|
||||||
background: color-mix(in srgb, var(--color-red) 5%, var(--color-background-alt));
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-attention-item.warning {
|
|
||||||
border-left-color: var(--color-amber);
|
|
||||||
background: color-mix(in srgb, var(--color-amber) 5%, var(--color-background-alt));
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-attention-item.info {
|
|
||||||
border-left-color: var(--color-blue);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-attention-icon {
|
|
||||||
width: 32px;
|
|
||||||
height: 32px;
|
|
||||||
border-radius: 50%;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
flex-shrink: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-attention-item.urgent swp-attention-icon {
|
|
||||||
background: color-mix(in srgb, var(--color-red) 15%, transparent);
|
|
||||||
color: var(--color-red);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-attention-item.warning swp-attention-icon {
|
|
||||||
background: color-mix(in srgb, var(--color-amber) 15%, transparent);
|
|
||||||
color: var(--color-amber);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-attention-item.info swp-attention-icon {
|
|
||||||
background: color-mix(in srgb, var(--color-blue) 15%, transparent);
|
|
||||||
color: var(--color-blue);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-attention-icon i {
|
|
||||||
font-size: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-attention-content {
|
|
||||||
flex: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-attention-title {
|
|
||||||
font-size: 13px;
|
|
||||||
font-weight: 500;
|
|
||||||
color: var(--color-text);
|
|
||||||
margin-bottom: 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-attention-desc {
|
|
||||||
font-size: 12px;
|
|
||||||
color: var(--color-text-secondary);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-attention-action {
|
|
||||||
font-size: 12px;
|
|
||||||
color: var(--color-teal);
|
|
||||||
cursor: pointer;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-attention-action:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ==========================================
|
|
||||||
EMPLOYEE STATUS
|
|
||||||
========================================== */
|
|
||||||
swp-employee-list {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-employee-status-item {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 12px;
|
|
||||||
padding: 10px 12px;
|
|
||||||
background: var(--color-background-alt);
|
|
||||||
border-radius: 6px;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-employee-avatar {
|
|
||||||
width: 36px;
|
|
||||||
height: 36px;
|
|
||||||
border-radius: 50%;
|
|
||||||
background: var(--color-teal);
|
|
||||||
color: white;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
font-size: 13px;
|
|
||||||
font-weight: 600;
|
|
||||||
flex-shrink: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-employee-info {
|
|
||||||
flex: 1;
|
|
||||||
min-width: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-employee-name {
|
|
||||||
font-size: 14px;
|
|
||||||
font-weight: 500;
|
|
||||||
color: var(--color-text);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-employee-current {
|
|
||||||
font-size: 12px;
|
|
||||||
color: var(--color-text-secondary);
|
|
||||||
white-space: nowrap;
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-employee-status-badge {
|
|
||||||
padding: 4px 10px;
|
|
||||||
border-radius: 12px;
|
|
||||||
font-size: 11px;
|
|
||||||
font-weight: 500;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-employee-status-badge.busy {
|
|
||||||
background: color-mix(in srgb, var(--color-teal) 15%, transparent);
|
|
||||||
color: var(--color-teal);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-employee-status-badge.available {
|
|
||||||
background: color-mix(in srgb, var(--color-green) 15%, transparent);
|
|
||||||
color: var(--color-green);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-employee-status-badge.away {
|
|
||||||
background: color-mix(in srgb, var(--color-amber) 15%, transparent);
|
|
||||||
color: var(--color-amber);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-employee-status-badge.off {
|
|
||||||
background: var(--color-background-hover);
|
|
||||||
color: var(--color-text-secondary);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ==========================================
|
|
||||||
QUICK STATS MINI
|
|
||||||
========================================== */
|
|
||||||
swp-quick-stats {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: repeat(2, 1fr);
|
|
||||||
gap: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-quick-stat {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 2px;
|
|
||||||
padding: 12px;
|
|
||||||
background: var(--color-background-alt);
|
|
||||||
border-radius: 6px;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-quick-stat swp-stat-value {
|
|
||||||
font-size: 20px;
|
|
||||||
font-weight: 600;
|
|
||||||
font-family: var(--font-mono);
|
|
||||||
color: var(--color-text);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-quick-stat swp-stat-label {
|
|
||||||
font-size: 11px;
|
|
||||||
color: var(--color-text-secondary);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ==========================================
|
|
||||||
NOTIFICATIONS
|
|
||||||
========================================== */
|
|
||||||
swp-notification-list {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-notification-item {
|
|
||||||
display: flex;
|
|
||||||
align-items: flex-start;
|
|
||||||
gap: 10px;
|
|
||||||
padding: 10px 12px;
|
|
||||||
background: var(--color-background-alt);
|
|
||||||
border-radius: 6px;
|
|
||||||
cursor: pointer;
|
|
||||||
transition: background 150ms ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-notification-item:hover {
|
|
||||||
background: var(--color-background-hover);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-notification-item.unread {
|
|
||||||
background: color-mix(in srgb, var(--color-teal) 5%, var(--color-background-alt));
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-notification-icon {
|
|
||||||
width: 28px;
|
|
||||||
height: 28px;
|
|
||||||
border-radius: 50%;
|
|
||||||
background: var(--color-background-hover);
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
flex-shrink: 0;
|
|
||||||
color: var(--color-text-secondary);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-notification-icon i {
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-notification-content {
|
|
||||||
flex: 1;
|
|
||||||
min-width: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-notification-text {
|
|
||||||
font-size: 13px;
|
|
||||||
color: var(--color-text);
|
|
||||||
line-height: 1.4;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-notification-text strong {
|
|
||||||
font-weight: 600;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-notification-time {
|
|
||||||
font-size: 11px;
|
|
||||||
color: var(--color-text-secondary);
|
|
||||||
margin-top: 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-notification-item.unread swp-notification-icon {
|
|
||||||
background: color-mix(in srgb, var(--color-teal) 15%, transparent);
|
|
||||||
color: var(--color-teal);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ==========================================
|
|
||||||
TIME INDICATOR
|
|
||||||
========================================== */
|
|
||||||
swp-current-time {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 8px;
|
|
||||||
padding: 8px 12px;
|
|
||||||
background: color-mix(in srgb, var(--color-teal) 10%, transparent);
|
|
||||||
border-radius: 6px;
|
|
||||||
margin-bottom: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-current-time i {
|
|
||||||
font-size: 16px;
|
|
||||||
color: var(--color-teal);
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-current-time span {
|
|
||||||
font-size: 13px;
|
|
||||||
color: var(--color-teal);
|
|
||||||
font-weight: 500;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-current-time swp-time {
|
|
||||||
font-family: var(--font-mono);
|
|
||||||
font-weight: 600;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ==========================================
|
|
||||||
RESPONSIVE
|
|
||||||
========================================== */
|
|
||||||
@media (max-width: 1100px) {
|
|
||||||
swp-dashboard-grid {
|
|
||||||
grid-template-columns: 1fr;
|
|
||||||
}
|
|
||||||
|
|
||||||
swp-stats-bar {
|
|
||||||
grid-template-columns: repeat(2, 1fr);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 600px) {
|
|
||||||
swp-stats-bar {
|
|
||||||
grid-template-columns: 1fr;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!-- Topbar -->
|
<!-- Page Header -->
|
||||||
<swp-topbar>
|
<swp-page-header>
|
||||||
<swp-topbar-left>
|
<swp-page-title>Dashboard</swp-page-title>
|
||||||
<swp-page-title>Dashboard</swp-page-title>
|
<swp-page-actions>
|
||||||
</swp-topbar-left>
|
|
||||||
<swp-topbar-right>
|
|
||||||
<swp-date-display>
|
<swp-date-display>
|
||||||
<i class="ph ph-calendar-blank"></i>
|
<i class="ph ph-calendar-blank"></i>
|
||||||
<span>Mandag, 30. december 2024</span>
|
<span>Mandag, 30. december 2024</span>
|
||||||
|
|
@ -899,18 +21,18 @@
|
||||||
<i class="ph ph-plus"></i>
|
<i class="ph ph-plus"></i>
|
||||||
Ny booking
|
Ny booking
|
||||||
</swp-btn>
|
</swp-btn>
|
||||||
</swp-topbar-right>
|
</swp-page-actions>
|
||||||
</swp-topbar>
|
</swp-page-header>
|
||||||
|
|
||||||
<swp-page-container>
|
<swp-page-container>
|
||||||
<!-- Stats Bar -->
|
<!-- Stats Bar -->
|
||||||
<swp-stats-bar>
|
<swp-stats-bar>
|
||||||
<swp-stat-card class="highlight">
|
<swp-stat-card class="highlight">
|
||||||
<swp-stat-value>4 / 12</swp-stat-value>
|
<swp-stat-value>12</swp-stat-value>
|
||||||
<swp-stat-label>Bookinger gennemført</swp-stat-label>
|
<swp-stat-label>Bookinger i dag</swp-stat-label>
|
||||||
<swp-stat-trend class="up">
|
<swp-stat-trend class="up">
|
||||||
<i class="ph ph-check-circle"></i>
|
<i class="ph ph-check-circle"></i>
|
||||||
8 tilbage i dag
|
4 gennemført, 2 i gang
|
||||||
</swp-stat-trend>
|
</swp-stat-trend>
|
||||||
</swp-stat-card>
|
</swp-stat-card>
|
||||||
<swp-stat-card class="success">
|
<swp-stat-card class="success">
|
||||||
|
|
|
||||||
2319
wwwroot/poc-indstillinger.html
Normal file
2319
wwwroot/poc-indstillinger.html
Normal file
File diff suppressed because it is too large
Load diff
635
wwwroot/poc-konto.html
Normal file
635
wwwroot/poc-konto.html
Normal file
|
|
@ -0,0 +1,635 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="da">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Abonnement & Konto - Salon OS</title>
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@phosphor-icons/web@2.1.2/src/regular/style.css" />
|
||||||
|
<link rel="stylesheet" href="css/konto.css">
|
||||||
|
<style>
|
||||||
|
/* ==========================================
|
||||||
|
FONT FACE (Poppins)
|
||||||
|
========================================== */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Poppins';
|
||||||
|
src: url('fonts/Poppins-Regular.woff') format('woff');
|
||||||
|
font-weight: 400;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Poppins';
|
||||||
|
src: url('fonts/Poppins-Medium.woff') format('woff');
|
||||||
|
font-weight: 500;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Poppins';
|
||||||
|
src: url('fonts/Poppins-SemiBold.woff') format('woff');
|
||||||
|
font-weight: 600;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Poppins';
|
||||||
|
src: url('fonts/Poppins-Bold.woff') format('woff');
|
||||||
|
font-weight: 700;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
CSS VARIABLES (Design System)
|
||||||
|
========================================== */
|
||||||
|
:root {
|
||||||
|
--color-surface: #fff;
|
||||||
|
--color-background: #f5f5f5;
|
||||||
|
--color-background-hover: #f0f0f0;
|
||||||
|
--color-background-alt: #fafafa;
|
||||||
|
--color-border: #e0e0e0;
|
||||||
|
--color-text: #333;
|
||||||
|
--color-text-secondary: #666;
|
||||||
|
--color-teal: #00897b;
|
||||||
|
--color-blue: #1976d2;
|
||||||
|
--color-red: #e53935;
|
||||||
|
--color-amber: #f59e0b;
|
||||||
|
--color-purple: #8b5cf6;
|
||||||
|
--color-green: #43a047;
|
||||||
|
--font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||||||
|
--font-mono: 'JetBrains Mono', monospace;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Dark mode - system preference */
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
:root:not(.light-mode) {
|
||||||
|
--color-surface: #1e1e1e;
|
||||||
|
--color-background: #121212;
|
||||||
|
--color-background-hover: #2a2a2a;
|
||||||
|
--color-background-alt: #1a1a1a;
|
||||||
|
--color-border: #333;
|
||||||
|
--color-text: #e0e0e0;
|
||||||
|
--color-text-secondary: #999;
|
||||||
|
--color-teal: #26a69a;
|
||||||
|
--color-blue: #42a5f5;
|
||||||
|
--color-red: #ef5350;
|
||||||
|
--color-amber: #ffb74d;
|
||||||
|
--color-purple: #a78bfa;
|
||||||
|
--color-green: #66bb6a;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Manual dark mode override */
|
||||||
|
:root.dark-mode {
|
||||||
|
--color-surface: #1e1e1e;
|
||||||
|
--color-background: #121212;
|
||||||
|
--color-background-hover: #2a2a2a;
|
||||||
|
--color-background-alt: #1a1a1a;
|
||||||
|
--color-border: #333;
|
||||||
|
--color-text: #e0e0e0;
|
||||||
|
--color-text-secondary: #999;
|
||||||
|
--color-teal: #26a69a;
|
||||||
|
--color-blue: #42a5f5;
|
||||||
|
--color-red: #ef5350;
|
||||||
|
--color-amber: #ffb74d;
|
||||||
|
--color-purple: #a78bfa;
|
||||||
|
--color-green: #66bb6a;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================================
|
||||||
|
RESET & BASE
|
||||||
|
========================================== */
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: var(--font-family);
|
||||||
|
font-size: 14px;
|
||||||
|
color: var(--color-text);
|
||||||
|
background: var(--color-background);
|
||||||
|
line-height: 1.5;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<swp-page-container>
|
||||||
|
|
||||||
|
<!-- Page Header -->
|
||||||
|
<swp-page-header>
|
||||||
|
<swp-page-title>
|
||||||
|
<h1>Abonnement & Konto</h1>
|
||||||
|
<p>Administrer dit abonnement, brugere og betalingsinfo</p>
|
||||||
|
</swp-page-title>
|
||||||
|
</swp-page-header>
|
||||||
|
|
||||||
|
<!-- ==========================================
|
||||||
|
SUBSCRIPTION SECTION
|
||||||
|
========================================== -->
|
||||||
|
<swp-section>
|
||||||
|
<swp-section-header>
|
||||||
|
<swp-section-title>
|
||||||
|
<i class="ph ph-crown"></i>
|
||||||
|
Dit abonnement
|
||||||
|
</swp-section-title>
|
||||||
|
</swp-section-header>
|
||||||
|
|
||||||
|
<swp-plan-grid>
|
||||||
|
<!-- Basis Plan -->
|
||||||
|
<swp-plan-card>
|
||||||
|
<swp-plan-name>Basis</swp-plan-name>
|
||||||
|
<swp-plan-users>1-3 brugere</swp-plan-users>
|
||||||
|
<swp-plan-price>
|
||||||
|
<swp-plan-price-amount>299</swp-plan-price-amount>
|
||||||
|
<swp-plan-price-period>kr/md</swp-plan-price-period>
|
||||||
|
</swp-plan-price>
|
||||||
|
<swp-plan-features>
|
||||||
|
<swp-plan-feature>
|
||||||
|
<i class="ph ph-check-circle"></i>
|
||||||
|
Op til 3 brugere
|
||||||
|
</swp-plan-feature>
|
||||||
|
<swp-plan-feature>
|
||||||
|
<i class="ph ph-check-circle"></i>
|
||||||
|
Online booking
|
||||||
|
</swp-plan-feature>
|
||||||
|
<swp-plan-feature>
|
||||||
|
<i class="ph ph-check-circle"></i>
|
||||||
|
Kalender & aftalestyring
|
||||||
|
</swp-plan-feature>
|
||||||
|
<swp-plan-feature>
|
||||||
|
<i class="ph ph-check-circle"></i>
|
||||||
|
Kundekartotek
|
||||||
|
</swp-plan-feature>
|
||||||
|
<swp-plan-feature>
|
||||||
|
<i class="ph ph-check-circle"></i>
|
||||||
|
SMS-påmindelser
|
||||||
|
</swp-plan-feature>
|
||||||
|
</swp-plan-features>
|
||||||
|
<swp-plan-action>
|
||||||
|
<swp-btn class="secondary">Skift til Basis</swp-btn>
|
||||||
|
</swp-plan-action>
|
||||||
|
</swp-plan-card>
|
||||||
|
|
||||||
|
<!-- Pro Plan (Current) -->
|
||||||
|
<swp-plan-card class="current">
|
||||||
|
<swp-plan-badge class="current">
|
||||||
|
<i class="ph ph-check"></i>
|
||||||
|
Nuværende plan
|
||||||
|
</swp-plan-badge>
|
||||||
|
<swp-plan-name>Pro</swp-plan-name>
|
||||||
|
<swp-plan-users>4-8 brugere</swp-plan-users>
|
||||||
|
<swp-plan-price>
|
||||||
|
<swp-plan-price-amount>599</swp-plan-price-amount>
|
||||||
|
<swp-plan-price-period>kr/md</swp-plan-price-period>
|
||||||
|
</swp-plan-price>
|
||||||
|
<swp-plan-features>
|
||||||
|
<swp-plan-feature>
|
||||||
|
<i class="ph ph-check-circle"></i>
|
||||||
|
Op til 8 brugere
|
||||||
|
</swp-plan-feature>
|
||||||
|
<swp-plan-feature>
|
||||||
|
<i class="ph ph-check-circle"></i>
|
||||||
|
Alt fra Basis
|
||||||
|
</swp-plan-feature>
|
||||||
|
<swp-plan-feature>
|
||||||
|
<i class="ph ph-check-circle"></i>
|
||||||
|
Lagerstyring
|
||||||
|
</swp-plan-feature>
|
||||||
|
<swp-plan-feature>
|
||||||
|
<i class="ph ph-check-circle"></i>
|
||||||
|
Avancerede rapporter
|
||||||
|
</swp-plan-feature>
|
||||||
|
<swp-plan-feature>
|
||||||
|
<i class="ph ph-check-circle"></i>
|
||||||
|
Gavekort & klippekort
|
||||||
|
</swp-plan-feature>
|
||||||
|
<swp-plan-feature>
|
||||||
|
<i class="ph ph-check-circle"></i>
|
||||||
|
Prioriteret support
|
||||||
|
</swp-plan-feature>
|
||||||
|
</swp-plan-features>
|
||||||
|
<swp-plan-action>
|
||||||
|
<swp-btn class="secondary">Nuværende plan</swp-btn>
|
||||||
|
</swp-plan-action>
|
||||||
|
</swp-plan-card>
|
||||||
|
|
||||||
|
<!-- Enterprise Plan -->
|
||||||
|
<swp-plan-card class="enterprise">
|
||||||
|
<swp-plan-badge class="popular">
|
||||||
|
<i class="ph ph-star"></i>
|
||||||
|
Til større saloner
|
||||||
|
</swp-plan-badge>
|
||||||
|
<swp-plan-name>Enterprise</swp-plan-name>
|
||||||
|
<swp-plan-users>8+ brugere</swp-plan-users>
|
||||||
|
<swp-plan-price>
|
||||||
|
<swp-plan-price-amount>Kontakt os</swp-plan-price-amount>
|
||||||
|
</swp-plan-price>
|
||||||
|
<swp-plan-features>
|
||||||
|
<swp-plan-feature>
|
||||||
|
<i class="ph ph-check-circle"></i>
|
||||||
|
Ubegrænset antal brugere
|
||||||
|
</swp-plan-feature>
|
||||||
|
<swp-plan-feature>
|
||||||
|
<i class="ph ph-check-circle"></i>
|
||||||
|
Alt fra Pro
|
||||||
|
</swp-plan-feature>
|
||||||
|
<swp-plan-feature>
|
||||||
|
<i class="ph ph-check-circle"></i>
|
||||||
|
Flere lokationer
|
||||||
|
</swp-plan-feature>
|
||||||
|
<swp-plan-feature>
|
||||||
|
<i class="ph ph-check-circle"></i>
|
||||||
|
Tilpasset integration
|
||||||
|
</swp-plan-feature>
|
||||||
|
<swp-plan-feature>
|
||||||
|
<i class="ph ph-check-circle"></i>
|
||||||
|
Dedikeret kontaktperson
|
||||||
|
</swp-plan-feature>
|
||||||
|
<swp-plan-feature>
|
||||||
|
<i class="ph ph-check-circle"></i>
|
||||||
|
SLA & uptime garanti
|
||||||
|
</swp-plan-feature>
|
||||||
|
</swp-plan-features>
|
||||||
|
<swp-plan-action>
|
||||||
|
<swp-btn class="outline">Kontakt salg</swp-btn>
|
||||||
|
</swp-plan-action>
|
||||||
|
</swp-plan-card>
|
||||||
|
</swp-plan-grid>
|
||||||
|
</swp-section>
|
||||||
|
|
||||||
|
<!-- ==========================================
|
||||||
|
USERS SECTION
|
||||||
|
========================================== -->
|
||||||
|
<swp-section>
|
||||||
|
<swp-section-header>
|
||||||
|
<swp-section-title>
|
||||||
|
<i class="ph ph-users"></i>
|
||||||
|
Brugere
|
||||||
|
</swp-section-title>
|
||||||
|
</swp-section-header>
|
||||||
|
|
||||||
|
<swp-users-header>
|
||||||
|
<swp-users-count>
|
||||||
|
<strong>5 af 8</strong> brugere
|
||||||
|
<swp-users-progress>
|
||||||
|
<swp-users-progress-bar style="width: 62.5%"></swp-users-progress-bar>
|
||||||
|
</swp-users-progress>
|
||||||
|
</swp-users-count>
|
||||||
|
<swp-btn class="primary">
|
||||||
|
<i class="ph ph-user-plus"></i>
|
||||||
|
Inviter bruger
|
||||||
|
</swp-btn>
|
||||||
|
</swp-users-header>
|
||||||
|
|
||||||
|
<swp-table-card>
|
||||||
|
<swp-table>
|
||||||
|
<swp-table-header>
|
||||||
|
<swp-table-row>
|
||||||
|
<swp-table-cell>Bruger</swp-table-cell>
|
||||||
|
<swp-table-cell>Rolle</swp-table-cell>
|
||||||
|
<swp-table-cell>Status</swp-table-cell>
|
||||||
|
<swp-table-cell>Sidst aktiv</swp-table-cell>
|
||||||
|
<swp-table-cell></swp-table-cell>
|
||||||
|
</swp-table-row>
|
||||||
|
</swp-table-header>
|
||||||
|
<swp-table-body>
|
||||||
|
<!-- User 1 - Owner -->
|
||||||
|
<swp-table-row>
|
||||||
|
<swp-table-cell>
|
||||||
|
<swp-user-info>
|
||||||
|
<swp-user-avatar>MJ</swp-user-avatar>
|
||||||
|
<swp-user-details>
|
||||||
|
<swp-user-name>Maria Jensen</swp-user-name>
|
||||||
|
<swp-user-email>maria@salonbeauty.dk</swp-user-email>
|
||||||
|
</swp-user-details>
|
||||||
|
</swp-user-info>
|
||||||
|
</swp-table-cell>
|
||||||
|
<swp-table-cell>
|
||||||
|
<swp-role-badge class="owner">Ejer</swp-role-badge>
|
||||||
|
</swp-table-cell>
|
||||||
|
<swp-table-cell>
|
||||||
|
<swp-status-badge class="active">
|
||||||
|
<swp-status-dot></swp-status-dot>
|
||||||
|
Aktiv
|
||||||
|
</swp-status-badge>
|
||||||
|
</swp-table-cell>
|
||||||
|
<swp-table-cell>I dag, 14:32</swp-table-cell>
|
||||||
|
<swp-table-cell>
|
||||||
|
<swp-table-actions>
|
||||||
|
<swp-icon-btn title="Rediger">
|
||||||
|
<i class="ph ph-pencil"></i>
|
||||||
|
</swp-icon-btn>
|
||||||
|
</swp-table-actions>
|
||||||
|
</swp-table-cell>
|
||||||
|
</swp-table-row>
|
||||||
|
|
||||||
|
<!-- User 2 - Admin -->
|
||||||
|
<swp-table-row>
|
||||||
|
<swp-table-cell>
|
||||||
|
<swp-user-info>
|
||||||
|
<swp-user-avatar class="purple">AS</swp-user-avatar>
|
||||||
|
<swp-user-details>
|
||||||
|
<swp-user-name>Anna Sørensen</swp-user-name>
|
||||||
|
<swp-user-email>anna@salonbeauty.dk</swp-user-email>
|
||||||
|
</swp-user-details>
|
||||||
|
</swp-user-info>
|
||||||
|
</swp-table-cell>
|
||||||
|
<swp-table-cell>
|
||||||
|
<swp-role-badge class="admin">Admin</swp-role-badge>
|
||||||
|
</swp-table-cell>
|
||||||
|
<swp-table-cell>
|
||||||
|
<swp-status-badge class="active">
|
||||||
|
<swp-status-dot></swp-status-dot>
|
||||||
|
Aktiv
|
||||||
|
</swp-status-badge>
|
||||||
|
</swp-table-cell>
|
||||||
|
<swp-table-cell>I dag, 12:15</swp-table-cell>
|
||||||
|
<swp-table-cell>
|
||||||
|
<swp-table-actions>
|
||||||
|
<swp-icon-btn title="Rediger">
|
||||||
|
<i class="ph ph-pencil"></i>
|
||||||
|
</swp-icon-btn>
|
||||||
|
<swp-icon-btn class="danger" title="Fjern bruger">
|
||||||
|
<i class="ph ph-trash"></i>
|
||||||
|
</swp-icon-btn>
|
||||||
|
</swp-table-actions>
|
||||||
|
</swp-table-cell>
|
||||||
|
</swp-table-row>
|
||||||
|
|
||||||
|
<!-- User 3 -->
|
||||||
|
<swp-table-row>
|
||||||
|
<swp-table-cell>
|
||||||
|
<swp-user-info>
|
||||||
|
<swp-user-avatar class="blue">LP</swp-user-avatar>
|
||||||
|
<swp-user-details>
|
||||||
|
<swp-user-name>Louise Pedersen</swp-user-name>
|
||||||
|
<swp-user-email>louise@salonbeauty.dk</swp-user-email>
|
||||||
|
</swp-user-details>
|
||||||
|
</swp-user-info>
|
||||||
|
</swp-table-cell>
|
||||||
|
<swp-table-cell>
|
||||||
|
<swp-role-badge>Medarbejder</swp-role-badge>
|
||||||
|
</swp-table-cell>
|
||||||
|
<swp-table-cell>
|
||||||
|
<swp-status-badge class="active">
|
||||||
|
<swp-status-dot></swp-status-dot>
|
||||||
|
Aktiv
|
||||||
|
</swp-status-badge>
|
||||||
|
</swp-table-cell>
|
||||||
|
<swp-table-cell>I går, 17:45</swp-table-cell>
|
||||||
|
<swp-table-cell>
|
||||||
|
<swp-table-actions>
|
||||||
|
<swp-icon-btn title="Rediger">
|
||||||
|
<i class="ph ph-pencil"></i>
|
||||||
|
</swp-icon-btn>
|
||||||
|
<swp-icon-btn class="danger" title="Fjern bruger">
|
||||||
|
<i class="ph ph-trash"></i>
|
||||||
|
</swp-icon-btn>
|
||||||
|
</swp-table-actions>
|
||||||
|
</swp-table-cell>
|
||||||
|
</swp-table-row>
|
||||||
|
|
||||||
|
<!-- User 4 -->
|
||||||
|
<swp-table-row>
|
||||||
|
<swp-table-cell>
|
||||||
|
<swp-user-info>
|
||||||
|
<swp-user-avatar class="amber">KN</swp-user-avatar>
|
||||||
|
<swp-user-details>
|
||||||
|
<swp-user-name>Katrine Nielsen</swp-user-name>
|
||||||
|
<swp-user-email>katrine@salonbeauty.dk</swp-user-email>
|
||||||
|
</swp-user-details>
|
||||||
|
</swp-user-info>
|
||||||
|
</swp-table-cell>
|
||||||
|
<swp-table-cell>
|
||||||
|
<swp-role-badge>Medarbejder</swp-role-badge>
|
||||||
|
</swp-table-cell>
|
||||||
|
<swp-table-cell>
|
||||||
|
<swp-status-badge class="active">
|
||||||
|
<swp-status-dot></swp-status-dot>
|
||||||
|
Aktiv
|
||||||
|
</swp-status-badge>
|
||||||
|
</swp-table-cell>
|
||||||
|
<swp-table-cell>27. dec, 09:30</swp-table-cell>
|
||||||
|
<swp-table-cell>
|
||||||
|
<swp-table-actions>
|
||||||
|
<swp-icon-btn title="Rediger">
|
||||||
|
<i class="ph ph-pencil"></i>
|
||||||
|
</swp-icon-btn>
|
||||||
|
<swp-icon-btn class="danger" title="Fjern bruger">
|
||||||
|
<i class="ph ph-trash"></i>
|
||||||
|
</swp-icon-btn>
|
||||||
|
</swp-table-actions>
|
||||||
|
</swp-table-cell>
|
||||||
|
</swp-table-row>
|
||||||
|
|
||||||
|
<!-- User 5 - Invited -->
|
||||||
|
<swp-table-row>
|
||||||
|
<swp-table-cell>
|
||||||
|
<swp-user-info>
|
||||||
|
<swp-user-avatar class="purple">SH</swp-user-avatar>
|
||||||
|
<swp-user-details>
|
||||||
|
<swp-user-name>Sofie Hansen</swp-user-name>
|
||||||
|
<swp-user-email>sofie@salonbeauty.dk</swp-user-email>
|
||||||
|
</swp-user-details>
|
||||||
|
</swp-user-info>
|
||||||
|
</swp-table-cell>
|
||||||
|
<swp-table-cell>
|
||||||
|
<swp-role-badge>Medarbejder</swp-role-badge>
|
||||||
|
</swp-table-cell>
|
||||||
|
<swp-table-cell>
|
||||||
|
<swp-status-badge class="invited">
|
||||||
|
<swp-status-dot></swp-status-dot>
|
||||||
|
Invitation sendt
|
||||||
|
</swp-status-badge>
|
||||||
|
</swp-table-cell>
|
||||||
|
<swp-table-cell>-</swp-table-cell>
|
||||||
|
<swp-table-cell>
|
||||||
|
<swp-table-actions>
|
||||||
|
<swp-icon-btn title="Send invitation igen">
|
||||||
|
<i class="ph ph-paper-plane-tilt"></i>
|
||||||
|
</swp-icon-btn>
|
||||||
|
<swp-icon-btn class="danger" title="Annuller invitation">
|
||||||
|
<i class="ph ph-x"></i>
|
||||||
|
</swp-icon-btn>
|
||||||
|
</swp-table-actions>
|
||||||
|
</swp-table-cell>
|
||||||
|
</swp-table-row>
|
||||||
|
</swp-table-body>
|
||||||
|
</swp-table>
|
||||||
|
</swp-table-card>
|
||||||
|
</swp-section>
|
||||||
|
|
||||||
|
<!-- ==========================================
|
||||||
|
BILLING SECTION
|
||||||
|
========================================== -->
|
||||||
|
<swp-section>
|
||||||
|
<swp-section-header>
|
||||||
|
<swp-section-title>
|
||||||
|
<i class="ph ph-credit-card"></i>
|
||||||
|
Betaling & Fakturaer
|
||||||
|
</swp-section-title>
|
||||||
|
</swp-section-header>
|
||||||
|
|
||||||
|
<swp-billing-grid>
|
||||||
|
<!-- Payment Info -->
|
||||||
|
<swp-payment-card>
|
||||||
|
<swp-payment-method>
|
||||||
|
<swp-payment-icon>
|
||||||
|
<i class="ph ph-credit-card"></i>
|
||||||
|
</swp-payment-icon>
|
||||||
|
<swp-payment-info>
|
||||||
|
<swp-payment-type>Visa</swp-payment-type>
|
||||||
|
<swp-payment-number>**** **** **** 4582</swp-payment-number>
|
||||||
|
</swp-payment-info>
|
||||||
|
<swp-btn class="secondary" style="padding: 8px 12px; font-size: 12px;">
|
||||||
|
<i class="ph ph-pencil"></i>
|
||||||
|
Skift
|
||||||
|
</swp-btn>
|
||||||
|
</swp-payment-method>
|
||||||
|
|
||||||
|
<swp-payment-detail>
|
||||||
|
<swp-payment-label>Betalingsfrekvens</swp-payment-label>
|
||||||
|
<swp-payment-value>Månedlig</swp-payment-value>
|
||||||
|
</swp-payment-detail>
|
||||||
|
|
||||||
|
<swp-payment-detail>
|
||||||
|
<swp-payment-label>Næste betaling</swp-payment-label>
|
||||||
|
<swp-payment-value class="highlight">1. januar 2026</swp-payment-value>
|
||||||
|
</swp-payment-detail>
|
||||||
|
|
||||||
|
<swp-payment-detail>
|
||||||
|
<swp-payment-label>Beløb</swp-payment-label>
|
||||||
|
<swp-payment-value>599,00 kr</swp-payment-value>
|
||||||
|
</swp-payment-detail>
|
||||||
|
|
||||||
|
<swp-payment-detail>
|
||||||
|
<swp-payment-label>Kortudløb</swp-payment-label>
|
||||||
|
<swp-payment-value>08/2027</swp-payment-value>
|
||||||
|
</swp-payment-detail>
|
||||||
|
|
||||||
|
<swp-btn class="outline" style="margin-top: 8px;">
|
||||||
|
<i class="ph ph-arrows-clockwise"></i>
|
||||||
|
Skift til årlig betaling (spar 15%)
|
||||||
|
</swp-btn>
|
||||||
|
</swp-payment-card>
|
||||||
|
|
||||||
|
<!-- Invoices -->
|
||||||
|
<swp-invoices-card>
|
||||||
|
<swp-invoices-header>
|
||||||
|
<swp-invoices-title>Faktura-historik</swp-invoices-title>
|
||||||
|
</swp-invoices-header>
|
||||||
|
|
||||||
|
<swp-table>
|
||||||
|
<swp-table-header>
|
||||||
|
<swp-table-row>
|
||||||
|
<swp-table-cell>Dato</swp-table-cell>
|
||||||
|
<swp-table-cell>Fakturanr.</swp-table-cell>
|
||||||
|
<swp-table-cell>Beløb</swp-table-cell>
|
||||||
|
<swp-table-cell>Status</swp-table-cell>
|
||||||
|
<swp-table-cell></swp-table-cell>
|
||||||
|
</swp-table-row>
|
||||||
|
</swp-table-header>
|
||||||
|
<swp-table-body>
|
||||||
|
<swp-table-row>
|
||||||
|
<swp-table-cell>1. dec 2025</swp-table-cell>
|
||||||
|
<swp-table-cell style="font-family: var(--font-mono); font-size: 12px;">INV-2025-0012</swp-table-cell>
|
||||||
|
<swp-table-cell>599,00 kr</swp-table-cell>
|
||||||
|
<swp-table-cell>
|
||||||
|
<swp-invoice-status class="paid">
|
||||||
|
<i class="ph ph-check-circle"></i>
|
||||||
|
Betalt
|
||||||
|
</swp-invoice-status>
|
||||||
|
</swp-table-cell>
|
||||||
|
<swp-table-cell>
|
||||||
|
<swp-download-btn>
|
||||||
|
<i class="ph ph-download"></i>
|
||||||
|
PDF
|
||||||
|
</swp-download-btn>
|
||||||
|
</swp-table-cell>
|
||||||
|
</swp-table-row>
|
||||||
|
|
||||||
|
<swp-table-row>
|
||||||
|
<swp-table-cell>1. nov 2025</swp-table-cell>
|
||||||
|
<swp-table-cell style="font-family: var(--font-mono); font-size: 12px;">INV-2025-0011</swp-table-cell>
|
||||||
|
<swp-table-cell>599,00 kr</swp-table-cell>
|
||||||
|
<swp-table-cell>
|
||||||
|
<swp-invoice-status class="paid">
|
||||||
|
<i class="ph ph-check-circle"></i>
|
||||||
|
Betalt
|
||||||
|
</swp-invoice-status>
|
||||||
|
</swp-table-cell>
|
||||||
|
<swp-table-cell>
|
||||||
|
<swp-download-btn>
|
||||||
|
<i class="ph ph-download"></i>
|
||||||
|
PDF
|
||||||
|
</swp-download-btn>
|
||||||
|
</swp-table-cell>
|
||||||
|
</swp-table-row>
|
||||||
|
|
||||||
|
<swp-table-row>
|
||||||
|
<swp-table-cell>1. okt 2025</swp-table-cell>
|
||||||
|
<swp-table-cell style="font-family: var(--font-mono); font-size: 12px;">INV-2025-0010</swp-table-cell>
|
||||||
|
<swp-table-cell>599,00 kr</swp-table-cell>
|
||||||
|
<swp-table-cell>
|
||||||
|
<swp-invoice-status class="paid">
|
||||||
|
<i class="ph ph-check-circle"></i>
|
||||||
|
Betalt
|
||||||
|
</swp-invoice-status>
|
||||||
|
</swp-table-cell>
|
||||||
|
<swp-table-cell>
|
||||||
|
<swp-download-btn>
|
||||||
|
<i class="ph ph-download"></i>
|
||||||
|
PDF
|
||||||
|
</swp-download-btn>
|
||||||
|
</swp-table-cell>
|
||||||
|
</swp-table-row>
|
||||||
|
|
||||||
|
<swp-table-row>
|
||||||
|
<swp-table-cell>1. sep 2025</swp-table-cell>
|
||||||
|
<swp-table-cell style="font-family: var(--font-mono); font-size: 12px;">INV-2025-0009</swp-table-cell>
|
||||||
|
<swp-table-cell>599,00 kr</swp-table-cell>
|
||||||
|
<swp-table-cell>
|
||||||
|
<swp-invoice-status class="paid">
|
||||||
|
<i class="ph ph-check-circle"></i>
|
||||||
|
Betalt
|
||||||
|
</swp-invoice-status>
|
||||||
|
</swp-table-cell>
|
||||||
|
<swp-table-cell>
|
||||||
|
<swp-download-btn>
|
||||||
|
<i class="ph ph-download"></i>
|
||||||
|
PDF
|
||||||
|
</swp-download-btn>
|
||||||
|
</swp-table-cell>
|
||||||
|
</swp-table-row>
|
||||||
|
|
||||||
|
<swp-table-row>
|
||||||
|
<swp-table-cell>1. aug 2025</swp-table-cell>
|
||||||
|
<swp-table-cell style="font-family: var(--font-mono); font-size: 12px;">INV-2025-0008</swp-table-cell>
|
||||||
|
<swp-table-cell>599,00 kr</swp-table-cell>
|
||||||
|
<swp-table-cell>
|
||||||
|
<swp-invoice-status class="paid">
|
||||||
|
<i class="ph ph-check-circle"></i>
|
||||||
|
Betalt
|
||||||
|
</swp-invoice-status>
|
||||||
|
</swp-table-cell>
|
||||||
|
<swp-table-cell>
|
||||||
|
<swp-download-btn>
|
||||||
|
<i class="ph ph-download"></i>
|
||||||
|
PDF
|
||||||
|
</swp-download-btn>
|
||||||
|
</swp-table-cell>
|
||||||
|
</swp-table-row>
|
||||||
|
</swp-table-body>
|
||||||
|
</swp-table>
|
||||||
|
</swp-invoices-card>
|
||||||
|
</swp-billing-grid>
|
||||||
|
</swp-section>
|
||||||
|
|
||||||
|
</swp-page-container>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
2509
wwwroot/poc-layout copy.html
Normal file
2509
wwwroot/poc-layout copy.html
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -6,6 +6,7 @@
|
||||||
<title>Salon OS</title>
|
<title>Salon OS</title>
|
||||||
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@phosphor-icons/web@2.1.2/src/regular/style.css" />
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@phosphor-icons/web@2.1.2/src/regular/style.css" />
|
||||||
|
<link rel="stylesheet" href="css/dashboard.css">
|
||||||
<style>
|
<style>
|
||||||
/* ==========================================
|
/* ==========================================
|
||||||
FONT FACE (Poppins)
|
FONT FACE (Poppins)
|
||||||
|
|
@ -1667,11 +1668,11 @@
|
||||||
<!-- SYSTEM -->
|
<!-- SYSTEM -->
|
||||||
<swp-side-menu-group>
|
<swp-side-menu-group>
|
||||||
<swp-side-menu-label>System</swp-side-menu-label>
|
<swp-side-menu-label>System</swp-side-menu-label>
|
||||||
<swp-side-menu-item data-tooltip="Indstillinger">
|
<swp-side-menu-item onclick="location.href='poc-indstillinger.html'" data-tooltip="Indstillinger">
|
||||||
<i class="ph ph-gear"></i>
|
<i class="ph ph-gear"></i>
|
||||||
<span>Indstillinger</span>
|
<span>Indstillinger</span>
|
||||||
</swp-side-menu-item>
|
</swp-side-menu-item>
|
||||||
<swp-side-menu-item data-tooltip="Abonnement & Konto">
|
<swp-side-menu-item onclick="location.href='poc-konto.html'" data-tooltip="Abonnement & Konto">
|
||||||
<i class="ph ph-credit-card"></i>
|
<i class="ph ph-credit-card"></i>
|
||||||
<span>Abonnement & Konto</span>
|
<span>Abonnement & Konto</span>
|
||||||
</swp-side-menu-item>
|
</swp-side-menu-item>
|
||||||
|
|
@ -1716,15 +1717,464 @@
|
||||||
|
|
||||||
<!-- Main Content -->
|
<!-- Main Content -->
|
||||||
<swp-main-content>
|
<swp-main-content>
|
||||||
<swp-content-placeholder>
|
<swp-page-container>
|
||||||
<i class="ph ph-squares-four"></i>
|
<!-- Stats Bar -->
|
||||||
<swp-content-placeholder-title>Dashboard</swp-content-placeholder-title>
|
<swp-stats-bar>
|
||||||
<swp-content-placeholder-text>
|
<swp-stat-card class="highlight">
|
||||||
Vælg et menupunkt i venstre side for at navigere til den ønskede sektion.
|
<swp-stat-value>12</swp-stat-value>
|
||||||
<br><br>
|
<swp-stat-label>Bookinger i dag</swp-stat-label>
|
||||||
Prøv f.eks. <a href="poc-produkter.html">Produkter & Lager</a> eller <a href="poc-leverandoerer.html">Leverandører</a>.
|
<swp-stat-trend class="up">
|
||||||
</swp-content-placeholder-text>
|
<i class="ph ph-check-circle"></i>
|
||||||
</swp-content-placeholder>
|
4 gennemført, 2 i gang
|
||||||
|
</swp-stat-trend>
|
||||||
|
</swp-stat-card>
|
||||||
|
<swp-stat-card class="success">
|
||||||
|
<swp-stat-value>8.450 kr</swp-stat-value>
|
||||||
|
<swp-stat-label>Forventet omsætning</swp-stat-label>
|
||||||
|
<swp-stat-trend class="up">
|
||||||
|
<i class="ph ph-trend-up"></i>
|
||||||
|
+12% vs. gennemsnit
|
||||||
|
</swp-stat-trend>
|
||||||
|
</swp-stat-card>
|
||||||
|
<swp-stat-card>
|
||||||
|
<swp-stat-value>78%</swp-stat-value>
|
||||||
|
<swp-stat-label>Belægningsgrad</swp-stat-label>
|
||||||
|
<swp-stat-trend class="up">
|
||||||
|
<i class="ph ph-trend-up"></i>
|
||||||
|
God kapacitet
|
||||||
|
</swp-stat-trend>
|
||||||
|
</swp-stat-card>
|
||||||
|
<swp-stat-card class="warning">
|
||||||
|
<swp-stat-value>4</swp-stat-value>
|
||||||
|
<swp-stat-label>Kræver opmærksomhed</swp-stat-label>
|
||||||
|
</swp-stat-card>
|
||||||
|
</swp-stats-bar>
|
||||||
|
|
||||||
|
<swp-dashboard-grid>
|
||||||
|
<!-- Main Column -->
|
||||||
|
<swp-main-column>
|
||||||
|
<!-- AI Insight -->
|
||||||
|
<swp-card>
|
||||||
|
<swp-ai-insight>
|
||||||
|
<swp-ai-header>
|
||||||
|
<i class="ph ph-sparkle"></i>
|
||||||
|
<span>AI Analyse</span>
|
||||||
|
</swp-ai-header>
|
||||||
|
<swp-ai-text>
|
||||||
|
<strong>Godt i gang!</strong> 4 af 12 bookinger er gennemført. 2 er i gang nu, og 6 venter.
|
||||||
|
Forventet omsætning: <strong>8.450 kr</strong> – allerede realiseret <strong>2.150 kr</strong>.
|
||||||
|
Tip: Ida Rasmussen (11:30) har ikke bekræftet – overvej at sende en påmindelse.
|
||||||
|
</swp-ai-text>
|
||||||
|
</swp-ai-insight>
|
||||||
|
</swp-card>
|
||||||
|
|
||||||
|
<!-- Today's Bookings -->
|
||||||
|
<swp-card>
|
||||||
|
<swp-card-header>
|
||||||
|
<swp-card-title>
|
||||||
|
<i class="ph ph-calendar-check"></i>
|
||||||
|
Dagens bookinger
|
||||||
|
</swp-card-title>
|
||||||
|
<swp-card-action>Se alle</swp-card-action>
|
||||||
|
</swp-card-header>
|
||||||
|
|
||||||
|
<swp-current-time>
|
||||||
|
<i class="ph ph-clock"></i>
|
||||||
|
<span>Nu: <swp-time>10:45</swp-time></span>
|
||||||
|
</swp-current-time>
|
||||||
|
|
||||||
|
<swp-booking-list>
|
||||||
|
<!-- Gennemførte bookinger -->
|
||||||
|
<swp-booking-item class="completed">
|
||||||
|
<swp-booking-time>
|
||||||
|
<swp-time-start>08:00</swp-time-start>
|
||||||
|
<swp-time-end>08:30</swp-time-end>
|
||||||
|
</swp-booking-time>
|
||||||
|
<swp-booking-indicator></swp-booking-indicator>
|
||||||
|
<swp-booking-details>
|
||||||
|
<swp-booking-service>Herreklip</swp-booking-service>
|
||||||
|
<swp-booking-customer>Thomas Berg</swp-booking-customer>
|
||||||
|
</swp-booking-details>
|
||||||
|
<swp-booking-employee>
|
||||||
|
<swp-avatar-small>MH</swp-avatar-small>
|
||||||
|
<span>Maria</span>
|
||||||
|
</swp-booking-employee>
|
||||||
|
<swp-booking-status class="completed">Gennemført</swp-booking-status>
|
||||||
|
</swp-booking-item>
|
||||||
|
|
||||||
|
<swp-booking-item class="completed">
|
||||||
|
<swp-booking-time>
|
||||||
|
<swp-time-start>08:30</swp-time-start>
|
||||||
|
<swp-time-end>09:00</swp-time-end>
|
||||||
|
</swp-booking-time>
|
||||||
|
<swp-booking-indicator></swp-booking-indicator>
|
||||||
|
<swp-booking-details>
|
||||||
|
<swp-booking-service>Dameklip</swp-booking-service>
|
||||||
|
<swp-booking-customer>Katrine Holm</swp-booking-customer>
|
||||||
|
</swp-booking-details>
|
||||||
|
<swp-booking-employee>
|
||||||
|
<swp-avatar-small>AS</swp-avatar-small>
|
||||||
|
<span>Anna</span>
|
||||||
|
</swp-booking-employee>
|
||||||
|
<swp-booking-status class="completed">Gennemført</swp-booking-status>
|
||||||
|
</swp-booking-item>
|
||||||
|
|
||||||
|
<swp-booking-item class="completed">
|
||||||
|
<swp-booking-time>
|
||||||
|
<swp-time-start>09:00</swp-time-start>
|
||||||
|
<swp-time-end>09:30</swp-time-end>
|
||||||
|
</swp-booking-time>
|
||||||
|
<swp-booking-indicator></swp-booking-indicator>
|
||||||
|
<swp-booking-details>
|
||||||
|
<swp-booking-service>Skægtrimning</swp-booking-service>
|
||||||
|
<swp-booking-customer>Mikkel Skov</swp-booking-customer>
|
||||||
|
</swp-booking-details>
|
||||||
|
<swp-booking-employee>
|
||||||
|
<swp-avatar-small>PK</swp-avatar-small>
|
||||||
|
<span>Peter</span>
|
||||||
|
</swp-booking-employee>
|
||||||
|
<swp-booking-status class="completed">Gennemført</swp-booking-status>
|
||||||
|
</swp-booking-item>
|
||||||
|
|
||||||
|
<swp-booking-item class="completed">
|
||||||
|
<swp-booking-time>
|
||||||
|
<swp-time-start>09:00</swp-time-start>
|
||||||
|
<swp-time-end>10:30</swp-time-end>
|
||||||
|
</swp-booking-time>
|
||||||
|
<swp-booking-indicator></swp-booking-indicator>
|
||||||
|
<swp-booking-details>
|
||||||
|
<swp-booking-service>Dameklip + Farve</swp-booking-service>
|
||||||
|
<swp-booking-customer>Sofie Nielsen</swp-booking-customer>
|
||||||
|
</swp-booking-details>
|
||||||
|
<swp-booking-employee>
|
||||||
|
<swp-avatar-small>AS</swp-avatar-small>
|
||||||
|
<span>Anna</span>
|
||||||
|
</swp-booking-employee>
|
||||||
|
<swp-booking-status class="completed">Gennemført</swp-booking-status>
|
||||||
|
</swp-booking-item>
|
||||||
|
|
||||||
|
<!-- Igangværende -->
|
||||||
|
<swp-booking-item style="background: color-mix(in srgb, var(--color-teal) 8%, var(--color-background-alt));">
|
||||||
|
<swp-booking-time>
|
||||||
|
<swp-time-start>10:30</swp-time-start>
|
||||||
|
<swp-time-end>11:00</swp-time-end>
|
||||||
|
</swp-booking-time>
|
||||||
|
<swp-booking-indicator class="blue"></swp-booking-indicator>
|
||||||
|
<swp-booking-details>
|
||||||
|
<swp-booking-service>Herreklip</swp-booking-service>
|
||||||
|
<swp-booking-customer>Jonas Petersen</swp-booking-customer>
|
||||||
|
</swp-booking-details>
|
||||||
|
<swp-booking-employee>
|
||||||
|
<swp-avatar-small>MH</swp-avatar-small>
|
||||||
|
<span>Maria</span>
|
||||||
|
</swp-booking-employee>
|
||||||
|
<swp-booking-status class="inprogress">I gang</swp-booking-status>
|
||||||
|
</swp-booking-item>
|
||||||
|
|
||||||
|
<swp-booking-item style="background: color-mix(in srgb, var(--color-teal) 8%, var(--color-background-alt));">
|
||||||
|
<swp-booking-time>
|
||||||
|
<swp-time-start>10:00</swp-time-start>
|
||||||
|
<swp-time-end>11:00</swp-time-end>
|
||||||
|
</swp-booking-time>
|
||||||
|
<swp-booking-indicator class="purple"></swp-booking-indicator>
|
||||||
|
<swp-booking-details>
|
||||||
|
<swp-booking-service>Føn + Styling</swp-booking-service>
|
||||||
|
<swp-booking-customer>Rikke Dam</swp-booking-customer>
|
||||||
|
</swp-booking-details>
|
||||||
|
<swp-booking-employee>
|
||||||
|
<swp-avatar-small>LJ</swp-avatar-small>
|
||||||
|
<span>Louise</span>
|
||||||
|
</swp-booking-employee>
|
||||||
|
<swp-booking-status class="inprogress">I gang</swp-booking-status>
|
||||||
|
</swp-booking-item>
|
||||||
|
|
||||||
|
<!-- Kommende -->
|
||||||
|
<swp-booking-item>
|
||||||
|
<swp-booking-time>
|
||||||
|
<swp-time-start>11:00</swp-time-start>
|
||||||
|
<swp-time-end>12:00</swp-time-end>
|
||||||
|
</swp-booking-time>
|
||||||
|
<swp-booking-indicator class="teal"></swp-booking-indicator>
|
||||||
|
<swp-booking-details>
|
||||||
|
<swp-booking-service>Balayage</swp-booking-service>
|
||||||
|
<swp-booking-customer>Emma Christensen</swp-booking-customer>
|
||||||
|
</swp-booking-details>
|
||||||
|
<swp-booking-employee>
|
||||||
|
<swp-avatar-small>AS</swp-avatar-small>
|
||||||
|
<span>Anna</span>
|
||||||
|
</swp-booking-employee>
|
||||||
|
<swp-booking-status class="confirmed">Bekræftet</swp-booking-status>
|
||||||
|
</swp-booking-item>
|
||||||
|
|
||||||
|
<swp-booking-item>
|
||||||
|
<swp-booking-time>
|
||||||
|
<swp-time-start>11:30</swp-time-start>
|
||||||
|
<swp-time-end>12:00</swp-time-end>
|
||||||
|
</swp-booking-time>
|
||||||
|
<swp-booking-indicator class="amber"></swp-booking-indicator>
|
||||||
|
<swp-booking-details>
|
||||||
|
<swp-booking-service>Dameklip</swp-booking-service>
|
||||||
|
<swp-booking-customer>Ida Rasmussen</swp-booking-customer>
|
||||||
|
</swp-booking-details>
|
||||||
|
<swp-booking-employee>
|
||||||
|
<swp-avatar-small>MH</swp-avatar-small>
|
||||||
|
<span>Maria</span>
|
||||||
|
</swp-booking-employee>
|
||||||
|
<swp-booking-status class="pending">Afventer</swp-booking-status>
|
||||||
|
</swp-booking-item>
|
||||||
|
|
||||||
|
<swp-booking-item>
|
||||||
|
<swp-booking-time>
|
||||||
|
<swp-time-start>13:00</swp-time-start>
|
||||||
|
<swp-time-end>14:00</swp-time-end>
|
||||||
|
</swp-booking-time>
|
||||||
|
<swp-booking-indicator class="green"></swp-booking-indicator>
|
||||||
|
<swp-booking-details>
|
||||||
|
<swp-booking-service>Farve + Føn</swp-booking-service>
|
||||||
|
<swp-booking-customer>Louise Andersen</swp-booking-customer>
|
||||||
|
</swp-booking-details>
|
||||||
|
<swp-booking-employee>
|
||||||
|
<swp-avatar-small>AS</swp-avatar-small>
|
||||||
|
<span>Anna</span>
|
||||||
|
</swp-booking-employee>
|
||||||
|
<swp-booking-status class="confirmed">Bekræftet</swp-booking-status>
|
||||||
|
</swp-booking-item>
|
||||||
|
|
||||||
|
<swp-booking-item>
|
||||||
|
<swp-booking-time>
|
||||||
|
<swp-time-start>14:00</swp-time-start>
|
||||||
|
<swp-time-end>14:30</swp-time-end>
|
||||||
|
</swp-booking-time>
|
||||||
|
<swp-booking-indicator class="blue"></swp-booking-indicator>
|
||||||
|
<swp-booking-details>
|
||||||
|
<swp-booking-service>Herreklip</swp-booking-service>
|
||||||
|
<swp-booking-customer>Anders Møller</swp-booking-customer>
|
||||||
|
</swp-booking-details>
|
||||||
|
<swp-booking-employee>
|
||||||
|
<swp-avatar-small>PK</swp-avatar-small>
|
||||||
|
<span>Peter</span>
|
||||||
|
</swp-booking-employee>
|
||||||
|
<swp-booking-status class="confirmed">Bekræftet</swp-booking-status>
|
||||||
|
</swp-booking-item>
|
||||||
|
|
||||||
|
<swp-booking-item>
|
||||||
|
<swp-booking-time>
|
||||||
|
<swp-time-start>15:30</swp-time-start>
|
||||||
|
<swp-time-end>16:30</swp-time-end>
|
||||||
|
</swp-booking-time>
|
||||||
|
<swp-booking-indicator class="purple"></swp-booking-indicator>
|
||||||
|
<swp-booking-details>
|
||||||
|
<swp-booking-service>Extensions</swp-booking-service>
|
||||||
|
<swp-booking-customer>Julie Lund</swp-booking-customer>
|
||||||
|
</swp-booking-details>
|
||||||
|
<swp-booking-employee>
|
||||||
|
<swp-avatar-small>LJ</swp-avatar-small>
|
||||||
|
<span>Louise</span>
|
||||||
|
</swp-booking-employee>
|
||||||
|
<swp-booking-status class="confirmed">Bekræftet</swp-booking-status>
|
||||||
|
</swp-booking-item>
|
||||||
|
</swp-booking-list>
|
||||||
|
</swp-card>
|
||||||
|
|
||||||
|
<!-- Attention Items -->
|
||||||
|
<swp-card>
|
||||||
|
<swp-card-header>
|
||||||
|
<swp-card-title>
|
||||||
|
<i class="ph ph-warning-circle"></i>
|
||||||
|
Opmærksomheder
|
||||||
|
</swp-card-title>
|
||||||
|
</swp-card-header>
|
||||||
|
|
||||||
|
<swp-attention-list>
|
||||||
|
<swp-attention-item class="urgent">
|
||||||
|
<swp-attention-icon>
|
||||||
|
<i class="ph ph-package"></i>
|
||||||
|
</swp-attention-icon>
|
||||||
|
<swp-attention-content>
|
||||||
|
<swp-attention-title>Lav lagerbeholdning på Moroccanoil Balsam</swp-attention-title>
|
||||||
|
<swp-attention-desc>4 stk tilbage · sidst bestilt for 21 dage siden</swp-attention-desc>
|
||||||
|
</swp-attention-content>
|
||||||
|
<swp-attention-action>Opret bestilling</swp-attention-action>
|
||||||
|
</swp-attention-item>
|
||||||
|
|
||||||
|
<swp-attention-item class="warning">
|
||||||
|
<swp-attention-icon>
|
||||||
|
<i class="ph ph-calendar-x"></i>
|
||||||
|
</swp-attention-icon>
|
||||||
|
<swp-attention-content>
|
||||||
|
<swp-attention-title>2 kunder uden bekræftet tid i eftermiddag</swp-attention-title>
|
||||||
|
<swp-attention-desc>Line · Balayage · 13:00 · Cecilie · Klip · 15:00</swp-attention-desc>
|
||||||
|
</swp-attention-content>
|
||||||
|
<swp-attention-action>Send SMS-påmindelse</swp-attention-action>
|
||||||
|
</swp-attention-item>
|
||||||
|
|
||||||
|
<swp-attention-item class="info">
|
||||||
|
<swp-attention-icon>
|
||||||
|
<i class="ph ph-cash-register"></i>
|
||||||
|
</swp-attention-icon>
|
||||||
|
<swp-attention-content>
|
||||||
|
<swp-attention-title>Kasseafstemning for i går mangler</swp-attention-title>
|
||||||
|
<swp-attention-desc>9 kontantsalg registreret · forventet differens: 0 kr</swp-attention-desc>
|
||||||
|
</swp-attention-content>
|
||||||
|
<swp-attention-action>Afstem kasse</swp-attention-action>
|
||||||
|
</swp-attention-item>
|
||||||
|
|
||||||
|
<swp-attention-item class="info">
|
||||||
|
<swp-attention-icon>
|
||||||
|
<i class="ph ph-gift"></i>
|
||||||
|
</swp-attention-icon>
|
||||||
|
<swp-attention-content>
|
||||||
|
<swp-attention-title>Gavekort udløber snart</swp-attention-title>
|
||||||
|
<swp-attention-desc>GC-D2R4-6TY9 udløber om 3 uger (200 DKK)</swp-attention-desc>
|
||||||
|
</swp-attention-content>
|
||||||
|
<swp-attention-action>Se gavekort</swp-attention-action>
|
||||||
|
</swp-attention-item>
|
||||||
|
</swp-attention-list>
|
||||||
|
</swp-card>
|
||||||
|
</swp-main-column>
|
||||||
|
|
||||||
|
<!-- Side Column -->
|
||||||
|
<swp-side-column>
|
||||||
|
<!-- Notifications -->
|
||||||
|
<swp-card>
|
||||||
|
<swp-card-header>
|
||||||
|
<swp-card-title>
|
||||||
|
<i class="ph ph-bell"></i>
|
||||||
|
Notifikationer
|
||||||
|
</swp-card-title>
|
||||||
|
<swp-card-action>Marker alle som læst</swp-card-action>
|
||||||
|
</swp-card-header>
|
||||||
|
|
||||||
|
<swp-notification-list>
|
||||||
|
<swp-notification-item class="unread">
|
||||||
|
<swp-notification-icon>
|
||||||
|
<i class="ph ph-calendar-plus"></i>
|
||||||
|
</swp-notification-icon>
|
||||||
|
<swp-notification-content>
|
||||||
|
<swp-notification-text>
|
||||||
|
<strong>Ny booking</strong> fra Emma Christensen til Balayage
|
||||||
|
</swp-notification-text>
|
||||||
|
<swp-notification-time>For 15 min. siden</swp-notification-time>
|
||||||
|
</swp-notification-content>
|
||||||
|
</swp-notification-item>
|
||||||
|
|
||||||
|
<swp-notification-item class="unread">
|
||||||
|
<swp-notification-icon>
|
||||||
|
<i class="ph ph-star"></i>
|
||||||
|
</swp-notification-icon>
|
||||||
|
<swp-notification-content>
|
||||||
|
<swp-notification-text>
|
||||||
|
<strong>Ny anmeldelse</strong> – 5 stjerner fra Sofie Nielsen
|
||||||
|
</swp-notification-text>
|
||||||
|
<swp-notification-time>For 1 time siden</swp-notification-time>
|
||||||
|
</swp-notification-content>
|
||||||
|
</swp-notification-item>
|
||||||
|
|
||||||
|
<swp-notification-item>
|
||||||
|
<swp-notification-icon>
|
||||||
|
<i class="ph ph-x"></i>
|
||||||
|
</swp-notification-icon>
|
||||||
|
<swp-notification-content>
|
||||||
|
<swp-notification-text>
|
||||||
|
<strong>Aflysning</strong> – Mette Hansen aflyste kl. 15:00
|
||||||
|
</swp-notification-text>
|
||||||
|
<swp-notification-time>For 2 timer siden</swp-notification-time>
|
||||||
|
</swp-notification-content>
|
||||||
|
</swp-notification-item>
|
||||||
|
|
||||||
|
<swp-notification-item>
|
||||||
|
<swp-notification-icon>
|
||||||
|
<i class="ph ph-check"></i>
|
||||||
|
</swp-notification-icon>
|
||||||
|
<swp-notification-content>
|
||||||
|
<swp-notification-text>
|
||||||
|
<strong>Bekræftet</strong> – Louise Andersen bekræftede kl. 13:00
|
||||||
|
</swp-notification-text>
|
||||||
|
<swp-notification-time>I går kl. 18:30</swp-notification-time>
|
||||||
|
</swp-notification-content>
|
||||||
|
</swp-notification-item>
|
||||||
|
</swp-notification-list>
|
||||||
|
</swp-card>
|
||||||
|
|
||||||
|
<!-- Quick Stats -->
|
||||||
|
<swp-card>
|
||||||
|
<swp-card-header>
|
||||||
|
<swp-card-title>
|
||||||
|
<i class="ph ph-chart-line-up"></i>
|
||||||
|
Denne uge
|
||||||
|
</swp-card-title>
|
||||||
|
</swp-card-header>
|
||||||
|
|
||||||
|
<swp-quick-stats>
|
||||||
|
<swp-quick-stat>
|
||||||
|
<swp-stat-value>47</swp-stat-value>
|
||||||
|
<swp-stat-label>Bookinger</swp-stat-label>
|
||||||
|
</swp-quick-stat>
|
||||||
|
<swp-quick-stat>
|
||||||
|
<swp-stat-value>38.200 kr</swp-stat-value>
|
||||||
|
<swp-stat-label>Omsætning</swp-stat-label>
|
||||||
|
</swp-quick-stat>
|
||||||
|
<swp-quick-stat>
|
||||||
|
<swp-stat-value>8</swp-stat-value>
|
||||||
|
<swp-stat-label>Nye kunder</swp-stat-label>
|
||||||
|
</swp-quick-stat>
|
||||||
|
<swp-quick-stat>
|
||||||
|
<swp-stat-value>72%</swp-stat-value>
|
||||||
|
<swp-stat-label>Gns. belægning</swp-stat-label>
|
||||||
|
</swp-quick-stat>
|
||||||
|
</swp-quick-stats>
|
||||||
|
</swp-card>
|
||||||
|
|
||||||
|
<!-- Employee Status -->
|
||||||
|
<swp-card>
|
||||||
|
<swp-card-header>
|
||||||
|
<swp-card-title>
|
||||||
|
<i class="ph ph-users"></i>
|
||||||
|
Medarbejdere
|
||||||
|
</swp-card-title>
|
||||||
|
</swp-card-header>
|
||||||
|
|
||||||
|
<swp-employee-list>
|
||||||
|
<swp-employee-status-item>
|
||||||
|
<swp-employee-avatar>AS</swp-employee-avatar>
|
||||||
|
<swp-employee-info>
|
||||||
|
<swp-employee-name>Anna Sørensen</swp-employee-name>
|
||||||
|
<swp-employee-current>Ledig til kl. 11:00 (Balayage)</swp-employee-current>
|
||||||
|
</swp-employee-info>
|
||||||
|
<swp-employee-status-badge class="available">Ledig</swp-employee-status-badge>
|
||||||
|
</swp-employee-status-item>
|
||||||
|
|
||||||
|
<swp-employee-status-item>
|
||||||
|
<swp-employee-avatar>MH</swp-employee-avatar>
|
||||||
|
<swp-employee-info>
|
||||||
|
<swp-employee-name>Maria Hansen</swp-employee-name>
|
||||||
|
<swp-employee-current>Herreklip med Jonas</swp-employee-current>
|
||||||
|
</swp-employee-info>
|
||||||
|
<swp-employee-status-badge class="busy">Optaget</swp-employee-status-badge>
|
||||||
|
</swp-employee-status-item>
|
||||||
|
|
||||||
|
<swp-employee-status-item>
|
||||||
|
<swp-employee-avatar>LJ</swp-employee-avatar>
|
||||||
|
<swp-employee-info>
|
||||||
|
<swp-employee-name>Louise Jensen</swp-employee-name>
|
||||||
|
<swp-employee-current>Føn + Styling med Rikke</swp-employee-current>
|
||||||
|
</swp-employee-info>
|
||||||
|
<swp-employee-status-badge class="busy">Optaget</swp-employee-status-badge>
|
||||||
|
</swp-employee-status-item>
|
||||||
|
|
||||||
|
<swp-employee-status-item>
|
||||||
|
<swp-employee-avatar>PK</swp-employee-avatar>
|
||||||
|
<swp-employee-info>
|
||||||
|
<swp-employee-name>Peter Kristensen</swp-employee-name>
|
||||||
|
<swp-employee-current>Ledig til kl. 14:00</swp-employee-current>
|
||||||
|
</swp-employee-info>
|
||||||
|
<swp-employee-status-badge class="available">Ledig</swp-employee-status-badge>
|
||||||
|
</swp-employee-status-item>
|
||||||
|
</swp-employee-list>
|
||||||
|
</swp-card>
|
||||||
|
</swp-side-column>
|
||||||
|
</swp-dashboard-grid>
|
||||||
|
</swp-page-container>
|
||||||
</swp-main-content>
|
</swp-main-content>
|
||||||
</swp-app-layout>
|
</swp-app-layout>
|
||||||
|
|
||||||
|
|
@ -2504,6 +2954,39 @@
|
||||||
handlePinKey('backspace');
|
handlePinKey('backspace');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// ==========================================
|
||||||
|
// DASHBOARD FUNCTIONALITY
|
||||||
|
// ==========================================
|
||||||
|
// Update current time
|
||||||
|
function updateDashboardTime() {
|
||||||
|
const now = new Date();
|
||||||
|
const hours = String(now.getHours()).padStart(2, '0');
|
||||||
|
const minutes = String(now.getMinutes()).padStart(2, '0');
|
||||||
|
const timeEl = document.querySelector('swp-current-time swp-time');
|
||||||
|
if (timeEl) {
|
||||||
|
timeEl.textContent = `${hours}:${minutes}`;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
updateDashboardTime();
|
||||||
|
setInterval(updateDashboardTime, 60000);
|
||||||
|
|
||||||
|
// Click handlers for attention items
|
||||||
|
document.querySelectorAll('swp-attention-action').forEach(action => {
|
||||||
|
action.addEventListener('click', (e) => {
|
||||||
|
e.stopPropagation();
|
||||||
|
alert('Handling: ' + action.textContent);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
// Click handlers for bookings
|
||||||
|
document.querySelectorAll('swp-booking-item').forEach(item => {
|
||||||
|
item.addEventListener('click', () => {
|
||||||
|
const service = item.querySelector('swp-booking-service').textContent;
|
||||||
|
alert('Åbn booking: ' + service);
|
||||||
|
});
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue