Add 3 alternative admin UI designs: Dark Minimal, Retro Terminal, Warm Editorial

This commit is contained in:
ki
2026-08-26 14:35:39 +04:00
parent 782eb61558
commit 99fb5692ef
4 changed files with 1065 additions and 0 deletions
+308
View File
@@ -0,0 +1,308 @@
<!doctype html>
<html lang="de">
<head>
<meta charset="utf-8">
<title>epaper admin — Dark Minimal</title>
<style>
/* ============================================================
DESIGN A: Dark Minimal
Inspiriert von: Linear, Vercel — fast whitespace, hauchdünne
Linien, viel Ruhe. Nur Akzentfarbe, keine Vignetten.
============================================================ */
:root {
--bg: #0a0a0e;
--surface: #111116;
--surface-2: #18181f;
--border: #1e1e28;
--border-light: #2a2a38;
--fg: #e8e8ed;
--fg-muted: #707080;
--fg-dim: #404050;
--accent: #7c85ff;
--ok: #4ade80;
--warn: #fbbf24;
--alert: #f87171;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
background: var(--bg);
color: var(--fg);
line-height: 1.5;
-webkit-font-smoothing: antialiased;
}
/* --- Header --- */
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 28px 40px;
border-bottom: 1px solid var(--border);
}
.logo {
font-size: 0.85em;
font-weight: 600;
letter-spacing: 0.05em;
text-transform: uppercase;
color: var(--fg);
}
.logo span { color: var(--accent); }
.header-right { display: flex; gap: 12px; align-items: center; }
/* --- Main --- */
.main { max-width: 1200px; margin: 0 auto; padding: 32px 40px 80px; }
/* --- Section title --- */
h2 {
font-size: 0.72em;
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--fg-muted);
margin-bottom: 16px;
padding-bottom: 10px;
border-bottom: 1px solid var(--border);
}
/* --- Grid Editor --- */
.toolbar {
display: flex;
gap: 8px;
align-items: center;
margin-bottom: 20px;
}
.add-group {
display: flex;
gap: 6px;
align-items: center;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 6px;
padding: 4px 4px 4px 10px;
}
.add-group select, .add-group input {
background: transparent;
border: none;
color: var(--fg);
font-size: 0.85em;
padding: 4px 6px;
}
.add-group select:focus, .add-group input:focus { outline: none; }
.grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(4, 100px);
gap: 8px;
background: var(--border);
padding: 8px;
border-radius: 8px;
margin-bottom: 24px;
}
.cell {
background: var(--surface);
border-radius: 4px;
overflow: hidden;
position: relative;
}
.item {
width: 100%;
height: 100%;
background: var(--surface-2);
border: 1px solid var(--border-light);
border-radius: 4px;
padding: 10px;
display: flex;
flex-direction: column;
justify-content: space-between;
cursor: grab;
}
.item .name { font-size: 0.8em; font-weight: 500; }
.item .meta { font-size: 0.65em; color: var(--fg-muted); font-family: monospace; }
.item .controls {
display: flex;
gap: 4px;
opacity: 0;
transition: opacity 0.15s;
position: absolute;
top: 4px;
right: 4px;
}
.item:hover .controls { opacity: 1; }
.item .controls button {
background: var(--surface);
border: 1px solid var(--border-light);
color: var(--fg-muted);
border-radius: 3px;
padding: 1px 5px;
font-size: 0.65em;
cursor: pointer;
}
/* --- Cards --- */
.plugin-card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 6px;
padding: 16px 20px;
margin-bottom: 10px;
}
.plugin-card h3 {
font-size: 0.9em;
font-weight: 500;
margin-bottom: 4px;
}
.plugin-card .desc { font-size: 0.78em; color: var(--fg-muted); margin-bottom: 12px; }
.plugin-card .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field label { font-size: 0.72em; color: var(--fg-muted); font-weight: 500; }
.field input, .field select {
background: var(--surface-2);
border: 1px solid var(--border);
color: var(--fg);
border-radius: 4px;
padding: 6px 8px;
font-size: 0.85em;
}
/* --- Buttons --- */
.btn {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 7px 12px;
border-radius: 5px;
border: 1px solid var(--border-light);
background: var(--surface);
color: var(--fg);
font-size: 0.82em;
cursor: pointer;
font-family: inherit;
}
.btn:hover { background: var(--surface-2); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #000; }
.btn.primary:hover { background: #6a75f0; }
.btn.danger { color: var(--alert); border-color: var(--alert); }
/* --- Preview --- */
.preview {
margin-top: 40px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 6px;
padding: 16px;
}
.preview img { width: 100%; border-radius: 4px; }
/* --- Layout status --- */
.status {
font-size: 0.78em;
color: var(--fg-muted);
margin-left: auto;
font-family: monospace;
}
</style>
</head>
<body>
<header>
<div class="logo">epaper<span>_</span>dashboard</div>
<div class="header-right">
<button class="btn">Refresh</button>
<button class="btn primary">Save</button>
</div>
</header>
<div class="main">
<h2>Layout — 4×4 Grid</h2>
<div class="toolbar">
<div class="add-group">
<select><option>clock</option><option>weather</option><option>system</option></select>
<button class="btn primary">+ Add</button>
</div>
<button class="btn">Auto-Pack</button>
<span class="status">4 items · OK</span>
</div>
<div class="grid">
<div class="cell item">
<div>
<div class="name">Clock</div>
<div class="meta">2×2 · (0,0)</div>
</div>
<div class="controls">
<button></button><button></button><button></button>
</div>
</div>
<div class="cell item">
<div>
<div class="name">Weather</div>
<div class="meta">2×2 · (2,0)</div>
</div>
<div class="controls">
<button></button><button></button><button></button>
</div>
</div>
<div class="cell" style="background: var(--border);"></div>
<div class="cell" style="background: var(--border);"></div>
<div class="cell item">
<div>
<div class="name">System</div>
<div class="meta">2×2 · (0,2)</div>
</div>
</div>
<div class="cell item">
<div>
<div class="name">Hello</div>
<div class="meta">2×2 · (2,2)</div>
</div>
</div>
<div class="cell" style="background: var(--border);"></div>
<div class="cell" style="background: var(--border);"></div>
<div class="cell" style="background: var(--border);"></div>
<div class="cell" style="background: var(--border);"></div>
<div class="cell" style="background: var(--border);"></div>
<div class="cell" style="background: var(--border);"></div>
<div class="cell" style="background: var(--border);"></div>
<div class="cell" style="background: var(--border);"></div>
<div class="cell" style="background: var(--border);"></div>
<div class="cell" style="background: var(--border);"></div>
</div>
<h2>Plugin Config</h2>
<div class="plugin-card">
<h3>Clock</h3>
<div class="desc">System time and date</div>
<div class="fields">
<div class="field">
<label>Timezone</label>
<input type="text" value="Europe/Berlin">
</div>
<div class="field">
<label>Format</label>
<select><option>24h</option><option>12h</option></select>
</div>
</div>
</div>
<div class="plugin-card">
<h3>Weather</h3>
<div class="desc">Open-Meteo — no API key needed</div>
<div class="fields">
<div class="field">
<label>Location (lat,lon)</label>
<input type="text" value="52.52,13.41">
</div>
<div class="field">
<label>Forecast hours</label>
<input type="number" value="4">
</div>
</div>
</div>
<h2>Live Preview</h2>
<div class="preview">
<img src="/snapshot.png">
</div>
</div>
</body>
</html>
+328
View File
@@ -0,0 +1,328 @@
<!doctype html>
<html lang="de">
<head>
<meta charset="utf-8">
<title>epaper admin — Retro Terminal</title>
<style>
/* ============================================================
DESIGN B: Retro Terminal
Inspiriert von: CRT-Monitor, lohn Kassensystem,
grüne/h Bernstein-Phosphor-Displays. Monospace-alles,
ASCII-Borders, pixelige Akzente.
============================================================ */
:root {
--bg: #0d0d00;
--surface: #141400;
--surface-2: #1a1a00;
--border: #2a2a00;
--border-light: #3a3a00;
--fg: #e8c840;
--fg-muted: #a09020;
--fg-dim: #605800;
--accent: #ffcc00;
--accent-dim: rgba(255, 204, 0, 0.15);
--ok: #88ff44;
--warn: #ffaa00;
--alert: #ff4444;
--scanline: rgba(0, 0, 0, 0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: "Courier New", Courier, monospace;
background: var(--bg);
color: var(--fg);
line-height: 1.5;
background-image: repeating-linear-gradient(
0deg,
transparent,
transparent 2px,
var(--scanline) 2px,
var(--scanline) 4px
);
}
/* --- Header --- */
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px 24px;
border-bottom: 2px solid var(--fg-dim);
background: var(--surface);
}
.logo {
font-size: 1em;
font-weight: bold;
letter-spacing: 0.1em;
color: var(--accent);
}
.logo::before { content: '> '; }
.logo::after { content: ' _'; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.header-right { display: flex; gap: 10px; }
/* --- Main --- */
.main { max-width: 1100px; margin: 0 auto; padding: 24px; }
/* --- Section title --- */
h2 {
font-size: 0.8em;
font-weight: bold;
color: var(--accent);
margin-bottom: 12px;
padding-bottom: 6px;
border-bottom: 1px dashed var(--fg-dim);
letter-spacing: 0.05em;
}
h2::before { content: '## '; color: var(--fg-dim); }
/* --- Toolbar --- */
.toolbar {
display: flex;
gap: 8px;
align-items: center;
margin-bottom: 16px;
flex-wrap: wrap;
}
.add-group {
display: flex;
gap: 0;
border: 1px solid var(--fg-dim);
}
.add-group select {
background: var(--surface);
border: none;
color: var(--fg);
font-family: inherit;
font-size: 0.85em;
padding: 5px 10px;
}
.add-group button {
background: var(--accent);
color: #000;
border: none;
font-family: inherit;
font-size: 0.82em;
font-weight: bold;
padding: 5px 12px;
cursor: pointer;
}
/* --- ASCII Grid --- */
.grid-wrap {
border: 1px solid var(--fg-dim);
padding: 8px;
margin-bottom: 24px;
background: var(--surface);
overflow-x: auto;
}
.grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(4, 90px);
gap: 6px;
}
.cell {
background: var(--surface-2);
border: 1px solid var(--border-light);
border-radius: 0;
padding: 8px;
display: flex;
flex-direction: column;
justify-content: space-between;
position: relative;
}
.cell.empty { background: var(--bg); border-style: dashed; }
.item-name {
font-size: 0.78em;
font-weight: bold;
color: var(--accent);
}
.item-meta { font-size: 0.62em; color: var(--fg-dim); }
.item-controls {
display: flex;
gap: 3px;
position: absolute;
top: 4px;
right: 4px;
}
.item-controls button {
background: var(--bg);
border: 1px solid var(--fg-dim);
color: var(--fg-dim);
font-family: inherit;
font-size: 0.6em;
padding: 0px 4px;
cursor: pointer;
}
.item-controls button:hover { color: var(--alert); border-color: var(--alert); }
/* --- Plugin cards --- */
.plugin-card {
border: 1px solid var(--border-light);
padding: 12px 16px;
margin-bottom: 8px;
background: var(--surface);
}
.plugin-card h3 {
font-size: 0.85em;
color: var(--accent);
margin-bottom: 2px;
}
.plugin-card .desc { font-size: 0.72em; color: var(--fg-muted); margin-bottom: 10px; }
.plugin-card .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.field { display: flex; flex-direction: column; gap: 3px; }
.field label { font-size: 0.68em; color: var(--fg-muted); }
.field input, .field select {
background: var(--bg);
border: 1px solid var(--fg-dim);
color: var(--fg);
font-family: inherit;
font-size: 0.82em;
padding: 4px 8px;
}
/* --- Buttons --- */
.btn {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 6px 12px;
border: 1px solid var(--fg-dim);
background: var(--surface);
color: var(--fg);
font-family: inherit;
font-size: 0.8em;
cursor: pointer;
}
.btn:hover { background: var(--surface-2); border-color: var(--fg-muted); }
.btn.primary { background: var(--accent); color: #000; border-color: var(--accent); font-weight: bold; }
.btn.primary:hover { background: #e0b800; }
.btn.danger { color: var(--alert); border-color: var(--alert); }
.btn-sm { padding: 3px 8px; font-size: 0.7em; }
/* --- Status bar --- */
.status-bar {
font-size: 0.72em;
color: var(--fg-muted);
margin-left: auto;
font-family: monospace;
}
/* --- Preview --- */
.preview {
border: 1px solid var(--fg-dim);
padding: 12px;
background: var(--surface);
margin-top: 24px;
}
.preview img { width: 100%; display: block; }
/* --- CRT glow effect on accent elements --- */
.accent-glow { text-shadow: 0 0 6px var(--accent); }
</style>
</head>
<body>
<header>
<div class="logo accent-glow">EPAPER ADMIN</div>
<div class="header-right">
<button class="btn">REFRESH</button>
<button class="btn primary">SAVE</button>
</div>
</header>
<div class="main">
<h2>LAYOUT EDITOR [4x4]</h2>
<div class="toolbar">
<div class="add-group">
<select><option>clock</option><option>weather</option><option>system</option></select>
<button>+ ADD</button>
</div>
<button class="btn">AUTO-PACK</button>
<span class="status-bar">STATUS: 4 ITEMS | GRID: OK</span>
</div>
<div class="grid-wrap">
<div class="grid">
<div class="cell">
<div class="item-name">CLOCK</div>
<div class="item-meta">2x2 @ (0,0)</div>
<div class="item-controls">
<button></button><button></button><button></button>
</div>
</div>
<div class="cell">
<div class="item-name">WEATHER</div>
<div class="item-meta">2x2 @ (2,0)</div>
<div class="item-controls">
<button></button>
</div>
</div>
<div class="cell empty"></div>
<div class="cell empty"></div>
<div class="cell">
<div class="item-name">SYSTEM</div>
<div class="item-meta">2x2 @ (0,2)</div>
<div class="item-controls">
<button></button>
</div>
</div>
<div class="cell">
<div class="item-name">HELLO</div>
<div class="item-meta">2x2 @ (2,2)</div>
<div class="item-controls">
<button></button>
</div>
</div>
<div class="cell empty"></div>
<div class="cell empty"></div>
<div class="cell empty"></div>
<div class="cell empty"></div>
<div class="cell empty"></div>
<div class="cell empty"></div>
<div class="cell empty"></div>
<div class="cell empty"></div>
<div class="cell empty"></div>
<div class="cell empty"></div>
<div class="cell empty"></div>
</div>
</div>
<h2>PLUGIN CONFIG</h2>
<div class="plugin-card">
<h3>[CLOCK]</h3>
<div class="desc">System time and date display</div>
<div class="fields">
<div class="field">
<label>> TIMEZONE</label>
<input type="text" value="Europe/Berlin">
</div>
<div class="field">
<label>> FORMAT</label>
<select><option>24h</option><option>12h</option></select>
</div>
</div>
</div>
<div class="plugin-card">
<h3>[WEATHER]</h3>
<div class="desc">Open-Meteo API — no key required</div>
<div class="fields">
<div class="field">
<label>> LOCATION</label>
<input type="text" value="52.52,13.41">
</div>
<div class="field">
<label>> FORECAST_H</label>
<input type="number" value="4">
</div>
</div>
</div>
<h2>LIVE PREVIEW</h2>
<div class="preview">
<img src="/snapshot.png">
</div>
</div>
</body>
</html>
+381
View File
@@ -0,0 +1,381 @@
<!doctype html>
<html lang="de">
<head>
<meta charset="utf-8">
<title>epaper admin — Warm Editorial</title>
<style>
/* ============================================================
DESIGN C: Warm Editorial
Inspiriert von: gedruckte Zeitungen, Magazine, Loom.
Warme Töne (Papier-Optik), Serif-Fonts für Labels,
viel Weißraum, dezente Kategorien.
============================================================ */
:root {
--bg: #f4f1eb;
--surface: #faf8f4;
--surface-2: #f0ede6;
--border: #d8d3c8;
--border-light: #e6e1d8;
--fg: #1a1816;
--fg-muted: #6b6560;
--fg-dim: #9a9490;
--accent: #c0392b;
--accent-warm: #d35400;
--ok: #27ae60;
--warn: #e67e22;
--alert: #c0392b;
--shadow: rgba(0,0,0,0.06);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: Georgia, "Times New Roman", serif;
background: var(--bg);
color: var(--fg);
line-height: 1.6;
-webkit-font-smoothing: antialiased;
}
input, select, button {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
/* --- Header --- */
header {
background: var(--surface);
border-bottom: 3px solid var(--fg);
padding: 20px 40px;
display: flex;
justify-content: space-between;
align-items: center;
}
.brand h1 {
font-family: Georgia, serif;
font-size: 1.3em;
font-weight: normal;
letter-spacing: -0.01em;
}
.brand .tagline {
font-size: 0.72em;
color: var(--fg-muted);
font-style: italic;
margin-top: 2px;
font-family: -apple-system, sans-serif;
}
.header-right { display: flex; gap: 10px; align-items: center; }
/* --- Main --- */
.main { max-width: 1100px; margin: 0 auto; padding: 32px 40px 80px; }
/* --- Section --- */
h2 {
font-family: -apple-system, sans-serif;
font-size: 0.68em;
font-weight: 700;
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--fg-muted);
margin-bottom: 14px;
padding-bottom: 8px;
border-bottom: 1px solid var(--border);
}
/* --- Toolbar --- */
.toolbar {
display: flex;
gap: 10px;
align-items: center;
margin-bottom: 20px;
}
.add-group {
display: flex;
gap: 0;
border: 1px solid var(--border);
border-radius: 4px;
overflow: hidden;
}
.add-group select {
background: var(--surface);
border: none;
border-right: 1px solid var(--border);
color: var(--fg);
font-size: 0.85em;
padding: 6px 12px;
}
.add-group button {
background: var(--accent);
color: #fff;
border: none;
font-size: 0.82em;
padding: 6px 14px;
cursor: pointer;
font-weight: 500;
}
/* --- Grid --- */
.grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(4, 100px);
gap: 10px;
margin-bottom: 36px;
}
.cell {
background: var(--surface);
border: 1px solid var(--border-light);
border-radius: 3px;
overflow: hidden;
}
.item {
width: 100%;
height: 100%;
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: 3px;
padding: 12px 14px;
display: flex;
flex-direction: column;
justify-content: space-between;
box-shadow: 0 1px 3px var(--shadow);
}
.item .item-top { display: flex; justify-content: space-between; align-items: flex-start; }
.item .item-name {
font-size: 0.82em;
font-weight: bold;
color: var(--fg);
}
.item .item-cat {
font-family: -apple-system, sans-serif;
font-size: 0.6em;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--fg-muted);
background: var(--surface);
border: 1px solid var(--border-light);
padding: 1px 6px;
border-radius: 2px;
}
.item .item-meta {
font-family: -apple-system, sans-serif;
font-size: 0.65em;
color: var(--fg-dim);
}
.item .controls {
display: flex;
gap: 3px;
opacity: 0;
transition: opacity 0.15s;
}
.item:hover .controls { opacity: 1; }
.item .controls button {
background: var(--surface);
border: 1px solid var(--border);
color: var(--fg-muted);
border-radius: 2px;
padding: 1px 6px;
font-size: 0.6em;
cursor: pointer;
}
/* --- Plugin Cards --- */
.plugin-card {
background: var(--surface);
border: 1px solid var(--border-light);
border-radius: 4px;
padding: 16px 20px;
margin-bottom: 10px;
}
.plugin-card h3 {
font-family: Georgia, serif;
font-size: 0.95em;
font-weight: normal;
margin-bottom: 2px;
}
.plugin-card .desc {
font-family: -apple-system, sans-serif;
font-size: 0.75em;
color: var(--fg-muted);
font-style: italic;
margin-bottom: 12px;
}
.plugin-card .fields {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 10px;
}
.field { display: flex; flex-direction: column; gap: 4px; }
.field label {
font-family: -apple-system, sans-serif;
font-size: 0.7em;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--fg-muted);
}
.field input, .field select {
background: var(--surface-2);
border: 1px solid var(--border);
color: var(--fg);
border-radius: 3px;
padding: 6px 10px;
font-size: 0.85em;
}
/* --- Buttons --- */
.btn {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 7px 14px;
border-radius: 3px;
border: 1px solid var(--border);
background: var(--surface);
color: var(--fg);
font-size: 0.82em;
cursor: pointer;
}
.btn:hover { background: var(--surface-2); }
.btn.primary {
background: var(--accent);
border-color: var(--accent);
color: #fff;
font-weight: 500;
}
.btn.primary:hover { background: #a93226; }
.btn.danger { color: var(--alert); border-color: var(--alert); }
/* --- Status --- */
.status {
font-family: -apple-system, sans-serif;
font-size: 0.75em;
color: var(--fg-dim);
margin-left: auto;
}
/* --- Preview --- */
.preview {
background: var(--surface);
border: 1px solid var(--border-light);
border-radius: 4px;
padding: 14px;
margin-top: 8px;
}
.preview img { width: 100%; border-radius: 2px; display: block; }
</style>
</head>
<body>
<header>
<div class="brand">
<h1>epaper dashboard</h1>
<div class="tagline">7.3" ACeP · Raspberry Pi 4 · Waveshare</div>
</div>
<div class="header-right">
<button class="btn">Refresh</button>
<button class="btn primary">Save</button>
</div>
</header>
<div class="main">
<h2>Layout — 4×4 Grid</h2>
<div class="toolbar">
<div class="add-group">
<select><option>clock</option><option>weather</option><option>system</option></select>
<button>+ Add</button>
</div>
<button class="btn">Auto-Pack</button>
<span class="status">4 items configured</span>
</div>
<div class="grid">
<div class="cell">
<div class="item">
<div class="item-top">
<div class="item-name">Clock</div>
<div class="item-cat">time</div>
</div>
<div class="item-meta">2×2 · top-left</div>
<div class="controls">
<button></button><button></button>
</div>
</div>
</div>
<div class="cell">
<div class="item">
<div class="item-top">
<div class="item-name">Weather</div>
<div class="item-cat">data</div>
</div>
<div class="item-meta">2×2 · top-right</div>
<div class="controls">
<button></button>
</div>
</div>
</div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell">
<div class="item">
<div class="item-top">
<div class="item-name">System</div>
<div class="item-cat">status</div>
</div>
<div class="item-meta">2×2 · bottom-left</div>
</div>
</div>
<div class="cell">
<div class="item">
<div class="item-top">
<div class="item-name">Hello</div>
<div class="item-cat">message</div>
</div>
<div class="item-meta">2×2 · bottom-right</div>
</div>
</div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
</div>
<h2>Plugin Configuration</h2>
<div class="plugin-card">
<h3>Clock</h3>
<div class="desc">Displays current time and date</div>
<div class="fields">
<div class="field">
<label>Timezone</label>
<input type="text" value="Europe/Berlin">
</div>
<div class="field">
<label>Format</label>
<select><option selected>24-hour</option><option>12-hour</option></select>
</div>
</div>
</div>
<div class="plugin-card">
<h3>Weather</h3>
<div class="desc">Open-Meteo API · no API key required</div>
<div class="fields">
<div class="field">
<label>Location (lat, lon)</label>
<input type="text" value="52.52,13.41">
</div>
<div class="field">
<label>Forecast hours</label>
<input type="number" value="4">
</div>
</div>
</div>
<h2>Display Preview</h2>
<div class="preview">
<img src="/snapshot.png">
</div>
</div>
</body>
</html>
+48
View File
@@ -0,0 +1,48 @@
<!doctype html>
<html lang="de">
<head>
<meta charset="utf-8">
<title>epaper dashboard — Design Preview</title>
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, sans-serif; background: #111; color: #fff; line-height: 1.5; }
.intro { text-align: center; padding: 32px 24px 8px; color: #666; font-size: 0.85em; }
.intro h1 { color: #fff; font-size: 1.1em; margin-bottom: 6px; }
.designs { display: flex; gap: 24px; padding: 16px 24px 80px; overflow-x: auto; }
.design { flex: 0 0 520px; background: #fff; border-radius: 10px; overflow: hidden; color: #111; }
.design-header { padding: 16px 20px; background: #f0f0f5; border-bottom: 1px solid #ddd; }
.design-header h2 { font-size: 0.9em; font-weight: 600; color: #333; }
.design-header p { font-size: 0.72em; color: #888; margin-top: 2px; }
iframe { width: 100%; height: 600px; border: none; display: block; }
</style>
</head>
<body>
<div class="intro">
<h1>epaper-dashboard — Design Preview</h1>
Scrolle rechts für alle drei Varianten. Alle Designs haben das gleiche Backend — nur die Optik ist anders.
</div>
<div class="designs">
<div class="design">
<div class="design-header">
<h2>A — Dark Minimal</h2>
<p>Linear/Vercel-inspiriert · Fast-Schwarz · Eine Akzentfarbe · Clean & Ruhe</p>
</div>
<iframe src="design_a_dark_minimal.html"></iframe>
</div>
<div class="design">
<div class="design-header">
<h2>B — Retro Terminal</h2>
<p>CRT/Phosphor · Grüner-Hintergrund · Scanlines · LoRes-Charme</p>
</div>
<iframe src="design_b_retro_terminal.html"></iframe>
</div>
<div class="design">
<div class="design-header">
<h2>C — Warm Editorial</h2>
<p>Zeitung/Magazin · Warme Töne · Serif-Fonts · Papier-Optik</p>
</div>
<iframe src="design_c_warm_editorial.html"></iframe>
</div>
</div>
</body>
</html>