summary refs log tree commit diff stats
path: root/src/dist/index.html
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-04-10 06:53:10 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-04-10 06:53:28 +0200
commit086f99221c7c16839ce4f0c7af3eafdf9f6ff7c6 (patch)
treee5025e987a90f3af48e0e1738a44cf9de34cb60b /src/dist/index.html
parentfeat(src/dead-trees/kant_and_free_software): Add this file via its flake (diff)
downloadb-peetz.de-086f99221c7c16839ce4f0c7af3eafdf9f6ff7c6.zip
feat(src/dist): Add my cheap webcam from chemistry
Binary is bad, but this was done in a hurry. I'll replace it at some
point.
Diffstat (limited to 'src/dist/index.html')
-rw-r--r--src/dist/index.html45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/dist/index.html b/src/dist/index.html
new file mode 100644
index 0000000..f6a0294
--- /dev/null
+++ b/src/dist/index.html
@@ -0,0 +1,45 @@
+<!doctype html>
+<html lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width" />
+    <title>Cheap web cam</title>
+  </head>
+  <body>
+    <noscript>
+      This page contains web assembly and Javascript content, please enable
+      Javascript in your browser.
+    </noscript>
+
+    <div class="content">
+      <div class="controls">
+        <button class="btn btn-play" title="Start video stream"></button>
+        <button class="btn btn-pause" title="Pause video stream"></button>
+        <button class="btn btn-shot active" title="Take photo"></button>
+        <button class="btn btn-log-del" title="Clear the log"></button>
+        <button class="btn btn-log-hide non-active" title="Show the log"></button>
+        <button
+          class="btn btn-confirm"
+          title="Confirm the image, and process it"></button>
+
+        <select name="" id="stream-input-select">
+          <option value="">Select camera</option>
+        </select>
+      </div>
+
+      <div class="output">
+        <img
+          id="photo"
+          class="overlay"
+          alt="The screen capture will appear in this box." />
+        <canvas id="canvas" class="overlay"> </canvas>
+        <video id="video" class="overlay">Video stream not available.</video>
+      </div>
+    </div>
+
+    <pre id="console" class="active" style="display: None;">Log entries:</pre>
+
+    <script src="main.js"></script>
+  </body>
+</html>
+<!-- vim: ts=2 -->