Files
Chronos/docs/ui/mockups/AdminVideos.html
T
Alby96 a53672d064 docs: record owner review 1 phase 5
BRIEF, DECISIONS, CHANGELOG, STATUS, ARCHITECTURE and the request files now
describe the Export step and Render menu, the export options (advanced
encoding, standard resolutions, reverse, boomerang, loops, fades, hold end,
save frame) and the videos library on the desktop, the server API and the
admin page, with its copy folder and trash, as built and reviewed. BRIEF
gains §12.10 Videos and a §24 row. The CHANGELOG carries the upgrade note
(migration 0010, shortcuts Ctrl+4 to Ctrl+7, settings format 3 read-only in
older builds, older nodes skip the new jobs, CHRONOS_VIDEOS_PATH and the
/videos mount) and the known limitations, and the phase 4 entries move under
rc.12. STATUS records phase 5 as done for rc.13, with phase 6 and v1.0.0
next. DESIGN and the mockups add the collapsible groups, the preset table,
the fixed footer, the Render menu, the Videos section, the admin Videos page
and the Videos rail entry.

Refs #21
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 08:14:39 +01:00

77 lines
16 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Chronos Server — Videos</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">Chronos 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; color: #1a1a1a; text-decoration: none"><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"><rect x="1.5" y="2.5" width="13" height="11" rx="1.5" fill="none" stroke="currentColor" stroke-width="1.5"/><path d="M3.5 11.5 6.5 8l2 2 1.5-1.5 2.5 3" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round"/></svg>Library</a>
<a href="AdminVideos.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="3" width="13" height="10" rx="1.5" fill="none" stroke="currentColor" stroke-width="1.5"/><path d="M6.5 6v4l3.5-2z" fill="currentColor"/></svg>Videos</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"><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>
<span style="flex-grow: 1"></span>
<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; margin-bottom: 8px"><svg width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><path d="M7.15 3.48 L7.4 1.53 A6.5 6.5 0 0 1 8.6 1.53 L8.85 3.48 A4.6 4.6 0 0 1 10.6 4.2 L12.15 3 A6.5 6.5 0 0 1 13 3.85 L11.8 5.4 A4.6 4.6 0 0 1 12.52 7.15 L14.47 7.4 A6.5 6.5 0 0 1 14.47 8.6 L12.52 8.85 A4.6 4.6 0 0 1 11.8 10.6 L13 12.15 A6.5 6.5 0 0 1 12.15 13 L10.6 11.8 A4.6 4.6 0 0 1 8.85 12.52 L8.6 14.47 A6.5 6.5 0 0 1 7.4 14.47 L7.15 12.52 A4.6 4.6 0 0 1 5.4 11.8 L3.85 13 A6.5 6.5 0 0 1 3 12.15 L4.2 10.6 A4.6 4.6 0 0 1 3.48 8.85 L1.53 8.6 A6.5 6.5 0 0 1 1.53 7.4 L3.48 7.15 A4.6 4.6 0 0 1 4.2 5.4 L3 3.85 A6.5 6.5 0 0 1 3.85 3 L5.4 4.2 A4.6 4.6 0 0 1 7.15 3.48 Z M6.3 8 A1.7 1.7 0 1 0 9.7 8 A1.7 1.7 0 1 0 6.3 8 Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>Settings</a>
<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; position: relative">
<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">Videos</span>
<span style="color: #616161">128 videos · 214 GB</span>
<span style="flex-grow: 1"></span>
<a href="Admin.html" title="Deleted videos, sequences and photos: restore them, or empty the trash">Trash</a>
</div>
<div style="flex-grow: 1; min-height: 0; padding: 20px 24px; display: flex; flex-direction: column; gap: 14px">
<div style="display: flex; align-items: center; gap: 8px; flex-shrink: 0">
<input type="search" placeholder="Search title, preset, file" aria-label="Search" title="Show the videos whose title, preset or file name contains this text" style="width: 260px; height: 32px; box-sizing: border-box; padding: 0 10px; border: 1px solid #e5e5e5; border-radius: 6px; background: #ffffff; color: #1a1a1a; font: inherit">
<select aria-label="Kind" title="Show videos, stills or image sequences" style="height: 32px; padding: 0 8px; border: 1px solid #e5e5e5; border-radius: 6px; background: #ffffff; color: #1a1a1a; font: inherit"><option>All kinds</option></select>
<select aria-label="Codec" title="Show the videos of one codec" style="height: 32px; padding: 0 8px; border: 1px solid #e5e5e5; border-radius: 6px; background: #ffffff; color: #1a1a1a; font: inherit"><option>All codecs</option></select>
<select aria-label="Year" title="Show the videos made in one year" style="height: 32px; padding: 0 8px; border: 1px solid #e5e5e5; border-radius: 6px; background: #ffffff; color: #1a1a1a; font: inherit"><option>All years</option></select>
<span title="Show the videos of every sequence; the other filters stay" style="height: 26px; display: flex; align-items: center; gap: 6px; padding: 0 6px 0 10px; border-radius: 13px; background: #e8f1fa; color: #0067c0">Harbour sunset<button aria-label="Clear the sequence filter" title="Show the videos of every sequence; the other filters stay" style="width: 18px; height: 18px; border: 0; border-radius: 9px; background: transparent; color: #0067c0; font: inherit; cursor: pointer">✕</button></span>
<span style="flex-grow: 1"></span>
<select aria-label="Sort" title="Order of the videos" style="height: 32px; padding: 0 8px; border: 1px solid #e5e5e5; border-radius: 6px; background: #ffffff; color: #1a1a1a; font: inherit"><option>Newest</option></select>
<span role="group" style="display: flex; border: 1px solid #e5e5e5; border-radius: 6px; overflow: hidden"><button aria-pressed="true" title="Show the videos as cards" style="height: 30px; padding: 0 12px; border: 0; background: #e8f1fa; color: #0067c0; font: inherit; cursor: pointer">Cards</button><button aria-pressed="false" title="Show the videos as a list" style="height: 30px; padding: 0 12px; border: 0; background: #ffffff; color: #1a1a1a; font: inherit; cursor: pointer">List</button></span>
</div>
<div style="height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #ffffff; border: 1px solid #e5e5e5; border-radius: 8px; flex-shrink: 0">
<input type="checkbox" aria-label="Select all" title="Select every video shown" style="margin: 0 6px 0 0">
<span style="font-weight: 600; margin-right: 8px">Selected: 1</span>
<button title="Play the video in the browser" style="height: 30px; padding: 0 12px; border: 1px solid #e5e5e5; border-radius: 6px; background: #ffffff; color: #1a1a1a; font: inherit; cursor: pointer">Play</button>
<button title="Download the file" style="height: 30px; padding: 0 12px; border: 1px solid #e5e5e5; border-radius: 6px; background: #ffffff; color: #1a1a1a; font: inherit; cursor: pointer">Download</button>
<button title="Copy into the server's videos folder, checked by hash; the original stays" style="height: 30px; padding: 0 12px; border: 1px solid #e5e5e5; border-radius: 6px; background: #ffffff; color: #1a1a1a; font: inherit; cursor: pointer">Copy to folder</button>
<span style="flex-grow: 1"></span>
<button title="Move into the archive's trash after a check of what goes; copies in the videos folder stay" style="height: 30px; padding: 0 12px; border: 1px solid #c42b1c; border-radius: 6px; background: #ffffff; color: #c42b1c; font: inherit; cursor: pointer">Delete…</button>
</div>
<div style="flex-grow: 1; min-height: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 214px; gap: 16px; overflow: hidden; align-content: start">
<div style="background: #ffffff; border: 2px solid #0067c0; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column"><div style="position: relative; height: 128px; background: linear-gradient(180deg, #2a2f6b 0%, #b8452f 55%, #f0a04b 78%, #2b2b33 100%)"><input type="checkbox" checked aria-label="Select" title="Select this video" style="position: absolute; left: 8px; top: 8px; margin: 0"></div><div style="padding: 8px 12px; display: flex; flex-direction: column; gap: 4px"><span style="font-weight: 600">Harbour sunset</span><span style="font-size: 12px; color: #616161">4K archive · HEVC 10-bit · 2:32 · 2.2 GB</span><span style="display: flex; gap: 6px; font-size: 11px"><span title="Copied to the videos folder: /videos/Harbour sunset" style="padding: 1px 6px; border-radius: 9px; background: #dff6dd; color: #0f7b0f">Copied</span><span style="margin-left: auto; color: #616161">2026-11-05</span></span></div></div>
<div style="background: #ffffff; border: 1px solid #e5e5e5; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column"><div style="position: relative; height: 128px; background: linear-gradient(180deg, #2f3570 0%, #c0503a 60%, #e9a352 100%)"><input type="checkbox" aria-label="Select" title="Select this video" style="position: absolute; left: 8px; top: 8px; margin: 0"></div><div style="padding: 8px 12px; display: flex; flex-direction: column; gap: 4px"><span style="font-weight: 600">Harbour sunset</span><span style="font-size: 12px; color: #616161">1080p share · H.264 · 2:32 · 420 MB</span><span style="display: flex; gap: 6px; font-size: 11px"><span style="margin-left: auto; color: #616161">2026-11-04</span></span></div></div>
<div style="background: #ffffff; border: 1px solid #e5e5e5; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column"><div style="position: relative; height: 128px; background: linear-gradient(180deg, #34396f 0%, #b8452f 60%, #f0a04b 100%)"><input type="checkbox" aria-label="Select" title="Select this video" style="position: absolute; left: 8px; top: 8px; margin: 0"></div><div style="padding: 8px 12px; display: flex; flex-direction: column; gap: 4px"><span style="font-weight: 600">Harbour sunset - 0413</span><span style="font-size: 12px; color: #616161">Still · PNG · 2160 × 3840 · 31 MB</span><span style="display: flex; gap: 6px; font-size: 11px"><span style="margin-left: auto; color: #616161">2026-11-05</span></span></div></div>
<div style="background: #ffffff; border: 1px solid #e5e5e5; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column"><div style="position: relative; height: 128px; background: #f3f3f3; display: flex; align-items: center; justify-content: center; color: #616161">—<input type="checkbox" aria-label="Select" title="Select this video" style="position: absolute; left: 8px; top: 8px; margin: 0"></div><div style="padding: 8px 12px; display: flex; flex-direction: column; gap: 4px"><span style="font-weight: 600">Harbour sunset</span><span style="font-size: 12px; color: #616161">1440p · HEVC · 2:32 · 1.1 GB</span><span style="display: flex; gap: 6px; font-size: 11px"><span title="The file is not where it was rendered; Delete removes only its entry" style="padding: 1px 6px; border-radius: 9px; background: #fff4ce; color: #8a5300">Missing</span><span style="margin-left: auto; color: #616161">2026-09-21</span></span></div></div>
</div>
</div>
<div style="position: absolute; inset: 0; background: rgba(0,0,0,0.45)"></div>
<div role="dialog" aria-label="Harbour sunset · 4K archive" style="position: absolute; left: 50%; top: 60px; transform: translateX(-50%); width: 560px; background: #ffffff; border-radius: 8px; padding: 16px; box-sizing: border-box; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 12px 32px rgba(0,0,0,0.35)">
<div style="display: flex; align-items: center"><span style="font-weight: 600; flex-grow: 1">Harbour sunset · 4K archive</span><button aria-label="Close" title="Close the player" style="width: 28px; height: 28px; border: 0; border-radius: 6px; background: transparent; color: #1a1a1a; font: inherit; cursor: pointer">✕</button></div>
<div style="height: 560px; background: #000; border-radius: 6px; display: flex; justify-content: center"><video controls preload="none" aria-label="Harbour sunset · 4K archive" style="width: 315px; height: 560px; background: linear-gradient(180deg, #2a2f6b 0%, #b8452f 55%, #f0a04b 78%, #2b2b33 100%)"></video></div>
<div style="display: flex; align-items: center; gap: 8px; font-size: 12px; color: #616161"><span style="flex-grow: 1">2160 × 3840 · HEVC 10-bit · 24 fps · 2.2 GB</span><button title="Download the file" style="height: 30px; padding: 0 12px; border: 1px solid #e5e5e5; border-radius: 6px; background: #ffffff; color: #1a1a1a; font: inherit; cursor: pointer">Download</button></div>
</div>
</main>
</div>
</body>
</html>