49 lines
2.4 KiB
HTML
49 lines
2.4 KiB
HTML
<!doctype html>
|
|
<!-- Host page for the CLJS build, for development only.
|
|
In production Django renders this and pulls the same bundle out of
|
|
staticfiles, which is why the script src is the /static/ path already. -->
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>arthur</title>
|
|
<style>
|
|
:root { color-scheme: dark; --bg: #12141c; --fg: #c9c3b4; }
|
|
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--fg); }
|
|
body { font: 14px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
|
|
main { padding: 24px; }
|
|
/* The preview is nearest-neighbour everywhere. A browser that smooths the
|
|
upscale would misrepresent the look the tool exists to judge. */
|
|
canvas { image-rendering: pixelated; }
|
|
h1 { font-size: 14px; font-weight: normal; opacity: .5; margin: 0 0 12px; }
|
|
.stage { display: block; background: #12141c; }
|
|
audio { display: none; }
|
|
.transport { margin-top: 12px; width: 640px; }
|
|
.transport .row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
|
|
.transport .gap { flex: 1; }
|
|
button {
|
|
font: inherit; color: var(--fg); background: #1c1f2b;
|
|
border: 1px solid #2b3040; padding: 3px 10px; cursor: pointer;
|
|
}
|
|
button:hover { background: #242836; }
|
|
button:disabled { opacity: .45; cursor: wait; }
|
|
button.on { background: #3a4258; border-color: #556080; }
|
|
.scrub { width: 100%; margin: 10px 0 6px; }
|
|
.readout { display: flex; gap: 18px; opacity: .55; font-size: 12px; }
|
|
.readout .warn { color: #d98f5a; opacity: 1; }
|
|
.picture-rate { display: flex; align-items: center; gap: 6px; margin-top: 7px;
|
|
font-size: 12px; }
|
|
.source-path { display: block; margin-top: 8px; font-size: 12px; opacity: .7; }
|
|
.source-path input { width: 300px; margin-left: 8px; padding: 3px 5px;
|
|
color: var(--fg); background: #1c1f2b; border: 1px solid #2b3040;
|
|
font: inherit; }
|
|
.load-status { margin-top: 6px; font-size: 12px; opacity: .75; }
|
|
.note { opacity: .35; font-size: 12px; max-width: 640px; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="app"></div>
|
|
<script src="/mediapipe/vision_bundle.js"></script>
|
|
<script src="/static/arthur/js/main.js"></script>
|
|
</body>
|
|
</html>
|