Files
Chronos/docs/ui/mockups/Admin.html
T
Alby96andClaude Opus 5.5 4ea44bb917 feat: wider rail and admin sidebar that collapse to icons
Owner review 1, phase 3a (docs/requests/2026-10-15-owner-review-1.md, R1).

The desktop rail is 200 px wide, so the section names fit in every
language, and collapses to 48 px of icons with its ≡ button or Ctrl+B.
Collapsed, each icon's tooltip names its section before saying what it is
for, while screen readers keep the name and the description. The choice is
written to the settings file the moment it changes (nothing else restarts)
and survives Settings › Reset all and Import; Ctrl+B waits behind the
first-run dialog like Ctrl+1…6, and a held key toggles once.

The admin panel's sidebar is 256 px and collapses to icons the same way,
with its own ≡ button or Ctrl+B (on the physical key where the layout's B
types no Latin letter, so Cyrillic, Greek, Hebrew and Arabic layouts work).
The choice is kept in the browser, for the page when the browser refuses
storage, and the tables fit their columns again after each toggle. At
900 px and below it stays the top bar and Ctrl+B stays the browser's.

The wider rail leaves 49-72 px less for every screen at the 1200 px
minimum. Six adversarial review rounds found what that cut, and in every
shipped language no action is cut off now: the Jobs columns share their
width (Target and Progress give way first, Kind/Where/State capped on wide
windows), the editor's preview tools take a second line, a server job's
Cancel has its own header column, the Archive tree keeps a year's label,
the Import rows and result, the certificates and cache rows and the frame
table fit. Headers, titles and cells that may be shortened end in an
ellipsis and show their text in their tooltip; state tooltips start with
the state, and their explanations were reworded not to repeat it (a queued
job "waits for its turn", jobs running one at a time). The crop-result
tool sits beside Crop mask, disabled with its reason while the mask is
off. Tests check these rows in all 38 languages at 1200 px; the App test
program now shuts WPF down in order, so its exit no longer crashes after
every test passed.

Phase 3 lands as two commits: R7 (the Edit section) edits the same shell
files and follows. Also updates BRIEF (12.1, 14.8, 24), DECISIONS,
CHANGELOG, STATUS, the request file, DESIGN and the mockups; every new or
reworded string is in all 38 languages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 21:50:48 +02:00

119 lines
19 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Titano Server — Admin dashboard</title>
</head>
<body>
<style>
body{margin:0;font-family:"Segoe UI Variable","Segoe UI",system-ui,sans-serif;background:#f3f3f3;color:#1a1a1a}
a{color:#0067c0}a:hover{color:#004c8c}
</style>
<div style="width: 1440px; height: 900px; box-sizing: border-box; display: flex; background: #f3f3f3; color: #1a1a1a; font-size: 13px; overflow: hidden; border-radius: 8px">
<nav style="width: 256px; flex-shrink: 0; background: #ffffff; border-right: 1px solid #e5e5e5; display: flex; flex-direction: column; padding: 16px 12px; gap: 2px; box-sizing: border-box">
<div style="display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px">
<svg width="22" height="22" viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="8" r="6.5" fill="none" stroke="#0067c0" stroke-width="2" stroke-dasharray="3 1.6"/><circle cx="8" cy="8" r="2.4" fill="#e08a1e"/></svg>
<span style="display: flex; flex-direction: column"><span style="font-weight: 600; font-size: 14px">Titano Server</span><span style="font-size: 11px; color: #616161">Studio NAS · v1.3.0</span></span>
</div>
<a href="Admin.html" style="display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: 6px; background: #e8f1fa; color: #0067c0; text-decoration: none; font-weight: 600"><svg width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><rect x="1.5" y="1.5" width="5.5" height="5.5" rx="1" fill="none" stroke="currentColor" stroke-width="1.5"/><rect x="9" y="1.5" width="5.5" height="5.5" rx="1" fill="none" stroke="currentColor" stroke-width="1.5"/><rect x="1.5" y="9" width="5.5" height="5.5" rx="1" fill="none" stroke="currentColor" stroke-width="1.5"/><rect x="9" y="9" width="5.5" height="5.5" rx="1" fill="none" stroke="currentColor" stroke-width="1.5"/></svg>Dashboard</a>
<a href="Admin.html" style="display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: 6px; color: #1a1a1a; text-decoration: none"><svg width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="5" r="3" fill="none" stroke="currentColor" stroke-width="1.5"/><path d="M2.5 14a5.5 5.5 0 0 1 11 0" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/></svg>Users<span style="margin-left: auto; font-size: 11px; color: #616161">6</span></a>
<a href="Admin.html" style="display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: 6px; color: #1a1a1a; text-decoration: none"><svg width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><path d="M2 4.5h12v9H2zM2 2h12v2.5H2zM6 8h4" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round"/></svg>Archive</a>
<a href="Admin.html" style="display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: 6px; color: #1a1a1a; text-decoration: none"><svg width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><path d="M3 8h10M3 4h10M3 12h6" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/></svg>Jobs<span style="margin-left: auto; background: #0067c0; color: #ffffff; font-size: 11px; font-weight: 600; padding: 0 6px; border-radius: 8px">3</span></a>
<a href="Admin.html" style="display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: 6px; color: #1a1a1a; text-decoration: none"><svg width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="8" r="2.2" fill="none" stroke="currentColor" stroke-width="1.5"/><path d="M8 1.5v2M8 12.5v2M1.5 8h2M12.5 8h2M3.4 3.4l1.4 1.4M11.2 11.2l1.4 1.4M3.4 12.6l1.4-1.4M11.2 4.8l1.4-1.4" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/></svg>Settings</a>
<a href="Admin.html" style="display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: 6px; color: #1a1a1a; text-decoration: none"><svg width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><path d="M3.5 1.5h6l3 3v10h-9z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round"/><path d="M5.5 7h5M5.5 9.5h5M5.5 12h3" stroke="currentColor" stroke-width="1.2" stroke-linecap="round"/></svg>Logs</a>
<a href="Admin.html" style="display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: 6px; color: #1a1a1a; text-decoration: none"><svg width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="8" r="6.5" fill="none" stroke="currentColor" stroke-width="1.5"/><path d="M8 7v4M8 4.8v.4" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/></svg>About</a>
<span style="flex-grow: 1"></span>
<div style="display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-top: 1px solid #e5e5e5">
<span style="width: 28px; height: 28px; border-radius: 14px; background: #e8f1fa; color: #0067c0; font-weight: 600; display: flex; align-items: center; justify-content: center">A</span>
<span style="display: flex; flex-direction: column; flex-grow: 1"><span style="font-weight: 600">admin</span><span style="font-size: 11px; color: #616161">Administrator</span></span>
<button aria-label="Sign out" title="Sign out" style="width: 30px; height: 30px; border: 1px solid #e5e5e5; border-radius: 6px; background: #ffffff; color: #1a1a1a; font: inherit; cursor: pointer">⏻</button>
</div>
</nav>
<main style="flex-grow: 1; min-width: 0; display: flex; flex-direction: column">
<div style="height: 60px; display: flex; align-items: center; gap: 14px; padding: 0 24px; background: #ffffff; border-bottom: 1px solid #e5e5e5; flex-shrink: 0">
<span style="font-size: 18px; font-weight: 600">Dashboard</span>
<span style="color: #616161">up 12 d 4 h · PostgreSQL 17 · TLS auto · discovery on</span>
<span style="flex-grow: 1"></span>
<button title="Interface language" style="height: 32px; padding: 0 12px; border: 1px solid #e5e5e5; border-radius: 6px; background: #ffffff; color: #1a1a1a; font: inherit; cursor: pointer">English ▾</button>
<button aria-label="Switch theme" title="Light / dark" style="width: 32px; height: 32px; border: 1px solid #e5e5e5; border-radius: 6px; background: #ffffff; color: #1a1a1a; font: inherit; cursor: pointer"><svg width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><path d="M9.5 1.8a6.5 6.5 0 1 0 4.7 9.4A5.5 5.5 0 0 1 9.5 1.8z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round"/></svg></button>
<button title="Open the public archive browser as a viewer would see it" style="height: 32px; padding: 0 12px; border: 1px solid #e5e5e5; border-radius: 6px; background: #ffffff; color: #1a1a1a; font: inherit; cursor: pointer">Open archive</button>
</div>
<div style="flex-grow: 1; min-height: 0; padding: 24px; display: flex; flex-direction: column; gap: 20px">
<div style="display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; flex-shrink: 0">
<div style="background: #ffffff; border: 1px solid #e5e5e5; border-radius: 8px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px">
<span style="font-size: 12px; color: #616161">Storage</span>
<span style="display: flex; align-items: baseline; gap: 6px"><span style="font-size: 26px; font-weight: 600">9.4 TB</span><span style="color: #616161">of 16 TB</span></span>
<div style="height: 6px; background: #e5e5e5; border-radius: 3px; overflow: hidden"><div style="width: 59%; height: 6px; background: #0067c0"></div></div>
<span style="font-size: 12px; color: #616161">6.6 TB free · exports 210 GB · proxies 610 GB</span>
</div>
<div style="background: #ffffff; border: 1px solid #e5e5e5; border-radius: 8px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px">
<span style="font-size: 12px; color: #616161">Archive</span>
<span style="display: flex; align-items: baseline; gap: 6px"><span style="font-size: 26px; font-weight: 600">412</span><span style="color: #616161">sequences</span></span>
<span style="font-size: 12px; color: #616161">618,204 photos · 14 cameras · last scan 07:12</span>
<span style="font-size: 12px; color: #616161">3 sequences without proxies</span>
</div>
<div style="background: #ffffff; border: 1px solid #e5e5e5; border-radius: 8px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px">
<span style="font-size: 12px; color: #616161">Jobs</span>
<span style="display: flex; align-items: baseline; gap: 6px"><span style="font-size: 26px; font-weight: 600">3</span><span style="color: #616161">running</span></span>
<span style="font-size: 12px; color: #616161">12 queued · 41 done today · 0 failed</span>
<span style="font-size: 12px; color: #616161">workers 4 of 4 busy</span>
</div>
<div style="background: #ffffff; border: 1px solid #e5e5e5; border-radius: 8px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px">
<span style="font-size: 12px; color: #616161">Render nodes</span>
<span style="display: flex; align-items: baseline; gap: 6px"><span style="font-size: 26px; font-weight: 600">2</span><span style="color: #616161">online</span></span>
<span style="font-size: 12px; color: #616161">studio-pc · NVENC HEVC/H.264/AV1 · busy</span>
<span style="font-size: 12px; color: #616161">laptop-alb · QSV HEVC/H.264 · idle</span>
</div>
</div>
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 20px; height: 250px; flex-shrink: 0">
<div style="background: #ffffff; border: 1px solid #e5e5e5; border-radius: 8px; padding: 14px 18px; display: flex; flex-direction: column; gap: 6px; min-width: 0">
<span style="font-weight: 600">Storage by year</span>
<svg viewBox="0 0 400 190" style="width: 100%; flex-grow: 1" aria-hidden="true">
<line x1="10" y1="160" x2="395" y2="160" stroke="#e5e5e5" stroke-width="1"/>
<line x1="10" y1="88" x2="395" y2="88" stroke="#e5e5e5" stroke-width="1" stroke-dasharray="3 3"/><text x="392" y="84" font-size="9" fill="#616161" text-anchor="end" font-family="Segoe UI, system-ui, sans-serif">1 TB</text>
<g fill="#0067c0"><rect x="20" y="139" width="30" height="21" rx="2" fill-opacity="0.55"/><rect x="68" y="124" width="30" height="36" rx="2" fill-opacity="0.6"/><rect x="116" y="103" width="30" height="57" rx="2" fill-opacity="0.65"/><rect x="164" y="81" width="30" height="79" rx="2" fill-opacity="0.7"/><rect x="212" y="60" width="30" height="100" rx="2" fill-opacity="0.75"/><rect x="260" y="31" width="30" height="129" rx="2" fill-opacity="0.8"/><rect x="308" y="10" width="30" height="150" rx="2" fill-opacity="0.9"/><rect x="356" y="60" width="30" height="100" rx="2"/></g>
<g font-size="10" fill="#1a1a1a" text-anchor="middle" font-family="Segoe UI, system-ui, sans-serif"><text x="35" y="134">0.3</text><text x="83" y="119">0.5</text><text x="131" y="98">0.8</text><text x="179" y="76">1.1</text><text x="227" y="55">1.4</text><text x="275" y="26">1.8</text><text x="323" y="5" dy="4">2.1</text><text x="371" y="55">1.4</text></g>
<g font-size="10" fill="#616161" text-anchor="middle" font-family="Segoe UI, system-ui, sans-serif"><text x="35" y="176">2019</text><text x="83" y="176">2020</text><text x="131" y="176">2021</text><text x="179" y="176">2022</text><text x="227" y="176">2023</text><text x="275" y="176">2024</text><text x="323" y="176">2025</text><text x="371" y="176">2026</text></g>
</svg>
</div>
<div style="background: #ffffff; border: 1px solid #e5e5e5; border-radius: 8px; padding: 14px 18px; display: flex; flex-direction: column; gap: 6px; min-width: 0">
<div style="display: flex; align-items: center"><span style="font-weight: 600; flex-grow: 1">Uploads · last 30 days</span><span style="font-size: 12px; color: #616161">frames per day · 96,410 total · peak 12,400</span></div>
<svg viewBox="0 0 400 190" style="width: 100%; flex-grow: 1" aria-hidden="true">
<line x1="5" y1="160" x2="395" y2="160" stroke="#e5e5e5" stroke-width="1"/>
<line x1="5" y1="100" x2="395" y2="100" stroke="#e5e5e5" stroke-width="1" stroke-dasharray="3 3"/><text x="392" y="96" font-size="9" fill="#616161" text-anchor="end" font-family="Segoe UI, system-ui, sans-serif">5k</text>
<g fill="#e08a1e"><rect x="5" y="122" width="9" height="38" rx="1"/><rect x="18" y="108" width="9" height="52" rx="1"/><rect x="31" y="140" width="9" height="20" rx="1"/><rect x="44" y="158" width="9" height="2" rx="1"/><rect x="57" y="96" width="9" height="64" rx="1"/><rect x="70" y="70" width="9" height="90" rx="1"/><rect x="83" y="86" width="9" height="74" rx="1"/><rect x="96" y="148" width="9" height="12" rx="1"/><rect x="109" y="132" width="9" height="28" rx="1"/><rect x="122" y="10" width="9" height="150" rx="1"/><rect x="135" y="28" width="9" height="132" rx="1"/><rect x="148" y="116" width="9" height="44" rx="1"/><rect x="161" y="142" width="9" height="18" rx="1"/><rect x="174" y="158" width="9" height="2" rx="1"/><rect x="187" y="134" width="9" height="26" rx="1"/><rect x="200" y="102" width="9" height="58" rx="1"/><rect x="213" y="64" width="9" height="96" rx="1"/><rect x="226" y="50" width="9" height="110" rx="1"/><rect x="239" y="120" width="9" height="40" rx="1"/><rect x="252" y="138" width="9" height="22" rx="1"/><rect x="265" y="152" width="9" height="8" rx="1"/><rect x="278" y="90" width="9" height="70" rx="1"/><rect x="291" y="36" width="9" height="124" rx="1"/><rect x="304" y="74" width="9" height="86" rx="1"/><rect x="317" y="130" width="9" height="30" rx="1"/><rect x="330" y="158" width="9" height="2" rx="1"/><rect x="343" y="114" width="9" height="46" rx="1"/><rect x="356" y="58" width="9" height="102" rx="1"/><rect x="369" y="22" width="9" height="138" rx="1"/><rect x="382" y="100" width="9" height="60" rx="1"/></g>
<g font-size="10" fill="#616161" font-family="Segoe UI, system-ui, sans-serif"><text x="5" y="176">1 Sep</text><text x="386" y="176" text-anchor="end">30 Sep</text></g>
</svg>
</div>
</div>
<div style="display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; flex-grow: 1; min-height: 0">
<div style="background: #ffffff; border: 1px solid #e5e5e5; border-radius: 8px; padding: 14px 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; overflow: hidden">
<div style="display: flex; align-items: center"><span style="font-weight: 600; flex-grow: 1">Recent activity</span><a href="Admin.html" style="font-size: 12px">All logs</a></div>
<div style="display: grid; grid-template-columns: 52px 1fr; column-gap: 12px; row-gap: 9px; font-size: 12px">
<span style="color: #616161">09:41</span><span>alberto uploaded 1,020 frames to Construction cam · week 38</span>
<span style="color: #616161">09:12</span><span>studio-pc rendered Milan skyline dusk · 4K HEVC · 2 min 41 s</span>
<span style="color: #616161">08:55</span><span>uploader roof-cam signed in from 192.168.1.44</span>
<span style="color: #616161">08:30</span><span>admin set export retention to 180 days</span>
<span style="color: #616161">07:12</span><span>scheduled scan finished · 412 sequences · 0 changes</span>
<span style="color: #616161">06:00</span><span>database backup · /data/backups/2026-09-30.sql.gz · 190 MB</span>
<span style="color: #616161">23:04</span><span>admin created user giulia · Editor · quota 2 TB</span>
</div>
</div>
<div style="background: #ffffff; border: 1px solid #e5e5e5; border-radius: 8px; padding: 14px 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; overflow: hidden">
<div style="display: flex; align-items: center"><span style="font-weight: 600; flex-grow: 1">Jobs</span><a href="Admin.html" style="font-size: 12px">Queue and history</a></div>
<div style="display: grid; grid-template-columns: 96px 1.5fr 92px 1fr 80px 70px; column-gap: 12px; row-gap: 10px; align-items: center; font-size: 12px">
<span style="color: #616161">Kind</span><span style="color: #616161">Target</span><span style="color: #616161">Node</span><span style="color: #616161">Progress</span><span style="color: #616161">State</span><span></span>
<span>Render</span><span>Harbour sunset → 4K 10-bit HEVC</span><span>studio-pc</span><div style="display: flex; align-items: center; gap: 8px"><div style="flex-grow: 1; height: 6px; background: #e5e5e5; border-radius: 3px; overflow: hidden"><div style="width: 62%; height: 6px; background: #0067c0"></div></div><span>62 %</span></div><span style="color: #0067c0">running</span><button title="Cancel this job" style="height: 26px; padding: 0 10px; border: 1px solid #e5e5e5; border-radius: 6px; background: #ffffff; color: #1a1a1a; font: inherit; font-size: 12px; cursor: pointer">Cancel</button>
<span>Deep analysis</span><span>Construction cam · week 38</span><span>server</span><div style="display: flex; align-items: center; gap: 8px"><div style="flex-grow: 1; height: 6px; background: #e5e5e5; border-radius: 3px; overflow: hidden"><div style="width: 28%; height: 6px; background: #0067c0"></div></div><span>28 %</span></div><span style="color: #0067c0">running</span><button title="Cancel this job" style="height: 26px; padding: 0 10px; border: 1px solid #e5e5e5; border-radius: 6px; background: #ffffff; color: #1a1a1a; font: inherit; font-size: 12px; cursor: pointer">Cancel</button>
<span>Proxies</span><span>Comet over the ridge</span><span>server</span><div style="display: flex; align-items: center; gap: 8px"><div style="flex-grow: 1; height: 6px; background: #e5e5e5; border-radius: 3px; overflow: hidden"><div style="width: 91%; height: 6px; background: #0067c0"></div></div><span>91 %</span></div><span style="color: #0067c0">running</span><button title="Cancel this job" style="height: 26px; padding: 0 10px; border: 1px solid #e5e5e5; border-radius: 6px; background: #ffffff; color: #1a1a1a; font: inherit; font-size: 12px; cursor: pointer">Cancel</button>
<span>Verify</span><span>Archive · 2024</span><span>server</span><div style="display: flex; align-items: center; gap: 8px"><div style="flex-grow: 1; height: 6px; background: #e5e5e5; border-radius: 3px"></div><span style="color: #616161">—</span></div><span style="color: #616161">queued</span><button title="Remove from the queue" style="height: 26px; padding: 0 10px; border: 1px solid #e5e5e5; border-radius: 6px; background: #ffffff; color: #1a1a1a; font: inherit; font-size: 12px; cursor: pointer">Remove</button>
<span>Render</span><span>Aurora, Tromsø → 1080p share H.264</span><span>laptop-alb</span><div style="display: flex; align-items: center; gap: 8px"><div style="flex-grow: 1; height: 6px; background: #e5e5e5; border-radius: 3px"></div><span style="color: #616161">—</span></div><span style="color: #616161">queued</span><button title="Remove from the queue" style="height: 26px; padding: 0 10px; border: 1px solid #e5e5e5; border-radius: 6px; background: #ffffff; color: #1a1a1a; font: inherit; font-size: 12px; cursor: pointer">Remove</button>
</div>
</div>
</div>
</div>
</main>
</div>
</body>
</html>