Something went wrong. Try again.
Mirror of https://github.com/kualta/site — web infrastructure
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>Grade</title><link rel="icon" href="/ui/icon.svg" type="image/svg+xml"><link rel="stylesheet" href="/ui/style.css"></head><body><svg width="0" height="0" style="position:absolute" aria-hidden="true"> <symbol id="i-play" viewBox="0 0 16 16"><path d="M4.5 2.8v10.4a.6.6 0 0 0 .9.5l8.2-5.2a.6.6 0 0 0 0-1L5.4 2.3a.6.6 0 0 0-.9.5Z"/></symbol> <symbol id="i-pause" viewBox="0 0 16 16"><rect x="3.5" y="2.5" width="3" height="11" rx=".8"/><rect x="9.5" y="2.5" width="3" height="11" rx=".8"/></symbol> <symbol id="i-loop" viewBox="0 0 16 16"><path fill="none" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round" d="M11 2.5 13 4.5 11 6.5M13 4.5H5.5A2.5 2.5 0 0 0 3 7v.5M5 13.5 3 11.5 5 9.5M3 11.5h7.5A2.5 2.5 0 0 0 13 9v-.5"/></symbol> <symbol id="i-sound" viewBox="0 0 16 16"><path d="M2.5 6v4h2.6L8.5 13V3L5.1 6Z"/><path fill="none" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" d="M10.8 5.6a3.4 3.4 0 0 1 0 4.8M12.6 3.8a6 6 0 0 1 0 8.4"/></symbol> <symbol id="i-muted" viewBox="0 0 16 16"><path d="M2.5 6v4h2.6L8.5 13V3L5.1 6Z"/><path fill="none" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" d="m10.5 6 3.5 4M14 6l-3.5 4"/></symbol> <symbol id="i-camera" viewBox="0 0 16 16"><path fill="none" stroke="currentColor" stroke-width="1.3" stroke-linejoin="round" d="M2 5.5A1.5 1.5 0 0 1 3.5 4h1.3l1-1.5h4.4l1 1.5h1.3A1.5 1.5 0 0 1 14 5.5v6a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 11.5Z"/><circle cx="8" cy="8.4" r="2.4" fill="none" stroke="currentColor" stroke-width="1.3"/></symbol> <symbol id="i-export" viewBox="0 0 16 16"><path fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" d="M8 10.5V2.5M5 5.5l3-3 3 3M3 9.5v3a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-3"/></symbol> <symbol id="i-left" viewBox="0 0 16 16"><path fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" d="M9.5 4.5 6 8l3.5 3.5"/></symbol> <symbol id="i-right" viewBox="0 0 16 16"><path fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" d="m6.5 4.5 3.5 3.5-3.5 3.5"/></symbol> <symbol id="i-chevron" viewBox="0 0 16 16"><path fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" d="m4.5 6 3.5 3.5L11.5 6"/></symbol> <symbol id="i-expand" viewBox="0 0 16 16"><path fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" d="M2.5 6V2.5H6M10 2.5h3.5V6M13.5 10v3.5H10M6 13.5H2.5V10"/></symbol> <symbol id="i-shrink" viewBox="0 0 16 16"><path fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" d="M6 2.5V6H2.5M13.5 6H10V2.5M10 13.5V10h3.5M2.5 10H6v3.5"/></symbol> <symbol id="i-reset" viewBox="0 0 16 16"><path fill="none" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round" d="M3 8a5 5 0 1 0 1.6-3.7M3 2.8v2.7h2.7"/></symbol></svg>
<header class="bar"> <div class="bar-field"> <label for="shoot" class="cap">Clips from</label> <span class="select"><select id="shoot"></select><svg><use href="#i-chevron"/></svg></span> </div> <p class="status" id="status" role="status"></p> <button id="stop-export" class="btn" type="button" hidden>Stop exporting</button> <div class="split" id="export-group"> <button id="export" class="btn primary" type="button" disabled><svg><use href="#i-export"/></svg><span id="export-label">Export</span><span id="export-quality" class="badge" hidden></span></button> <button id="export-more" class="btn primary" type="button" aria-label="More ways to export" aria-haspopup="true" aria-expanded="false" aria-controls="export-menu"><svg><use href="#i-chevron"/></svg></button> <div class="menu" id="export-menu" hidden> <button id="export-frame" class="menu-item" type="button">Export frame<span class="menu-note">PNG of the frame on screen</span></button> <button id="export-changed" class="menu-item" type="button" title="Export again every graded clip whose grade changed since its export">All up to date</button> <div class="menu-quality"> <div class="menu-row"><label for="quality">Quality</label><output id="quality-out" for="quality">100%</output></div> <span class="rail" id="quality-rail"><input type="range" id="quality" min="10" max="100" step="5" value="100"></span> <p id="quality-size" class="menu-note">Near lossless</p> </div> </div> </div></header>
<main class="work"> <aside class="bin" aria-label="Clips"> <div class="bin-head"> <div class="bin-row"> <span class="cap">Clips</span> <span id="clip-count" class="count"></span> <button id="select-all" class="link" type="button">Select all</button> </div> <div class="seg small" role="group" aria-label="Show" id="filter"> <button type="button" data-filter="all" aria-pressed="true">All</button><button type="button" data-filter="graded" aria-pressed="false">Graded</button><button type="button" data-filter="ungraded" aria-pressed="false">Not graded</button> </div> </div> <ol id="clip-list" class="clip-list"></ol> </aside>
<section class="stage" id="stage" aria-label="Preview"> <div class="frame" id="frame"> <canvas id="canvas"></canvas> <p class="empty" id="empty">Pick a clip.</p> <span class="split-line" id="split-line" hidden></span> <span class="tag" id="tag-left" hidden>Original</span> <span class="tag" id="tag-right" hidden>Graded</span> </div> <div class="transport"> <button id="play" type="button" class="icon-btn play" aria-label="Play"><svg><use href="#i-play"/></svg></button> <span id="tc-now" class="tc">00:00:00:00</span> <span class="rail scrub-rail" id="scrub-rail"><input type="range" id="scrub" min="0" max="1" step="0.0005" value="0" aria-label="Position in clip"></span> <span id="tc-dur" class="tc dim">00:00:00:00</span> <div class="seg" role="group" aria-label="Compare" id="mode"> <button type="button" data-mode="0" aria-pressed="true">Graded</button><button type="button" data-mode="2" aria-pressed="false">Split</button><button type="button" data-mode="1" aria-pressed="false">Original</button> </div> <button id="loop" type="button" class="icon-btn" aria-pressed="true" aria-label="Loop" title="Loop"><svg><use href="#i-loop"/></svg></button> <button id="mute" type="button" class="icon-btn" aria-pressed="true" aria-label="Mute" title="Mute"><svg><use href="#i-sound"/></svg></button> <button id="fullscreen" type="button" class="icon-btn" aria-label="Full screen" title="Full screen (F)"><svg><use href="#i-expand"/></svg></button> </div> <video id="video" playsinline loop preload="auto"></video> </section>
<aside class="panel" aria-label="Grade"> <header class="panel-head"> <p class="cap" id="editing">Nothing selected</p> <h2 id="clip-title">—</h2> <div class="meta" id="clip-meta"></div> </header>
<section class="group"> <div class="group-head"><span class="cap">Look</span></div> <div class="look-pick"> <button class="btn look-step" id="base-prev" type="button" aria-label="Previous look" title="Previous look"><svg><use href="#i-left"/></svg></button> <span class="select wide"><select id="base" aria-label="Look"></select><svg><use href="#i-chevron"/></svg></span> <button class="btn look-step" id="base-next" type="button" aria-label="Next look" title="Next look"><svg><use href="#i-right"/></svg></button> </div> </section>
<section class="group"> <div class="group-head"><span class="cap">Light</span><button class="link" type="button" data-reset-group="light">Reset</button></div> <div class="controls" data-group="light"></div> </section>
<section class="group"> <div class="group-head"><span class="cap">Color</span><button class="link" type="button" data-reset-group="color">Reset</button></div> <div class="controls" data-group="color"></div> </section>
<section class="group"> <div class="btn-row"> <button id="copy" type="button" class="btn">Copy grade</button> <button id="paste" type="button" class="btn" disabled>Paste</button> <button id="reset" type="button" class="btn" title="Reset the whole grade"><svg><use href="#i-reset"/></svg>Reset</button> </div> </section>
<section class="group keys" aria-label="Shortcuts"> <dl> <dt>Play, pause</dt><dd><kbd>Space</kbd></dd> <dt>Show the original</dt><dd><kbd>B</kbd> hold</dd> <dt>Full screen</dt><dd><kbd>F</kbd></dd> <dt>Previous, next clip</dt><dd><kbd>↑</kbd><kbd>↓</kbd></dd> <dt>Grade several at once</dt><dd><kbd>⌘</kbd> or <kbd>⇧</kbd> click</dd> <dt>Select all clips</dt><dd><kbd>⌘A</kbd></dd> <dt>Copy, paste grade</dt><dd><kbd>⌘C</kbd><kbd>⌘V</kbd></dd> <dt>Move clip to the Trash</dt><dd><kbd>⌘⌫</kbd></dd> <dt>Adjust a value</dt><dd>drag its name</dd> </dl> </section> </aside></main><script type="module" src="/ui/app.mjs"></script></body></html>