24 lines
749 B
HTML
24 lines
749 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>G-Code Overlay</title>
|
|
</head>
|
|
<body>
|
|
<div id="stage">
|
|
<img id="stream" alt="CNC camera stream" />
|
|
<canvas id="overlay"></canvas>
|
|
</div>
|
|
<aside id="panel">
|
|
<h1>G-Code Overlay</h1>
|
|
<section>
|
|
<label class="filebtn">Open G-code<input id="gcode-file" type="file" accept=".nc,.gcode,.tap,.txt,.ngc" hidden /></label>
|
|
<p id="status">No file loaded.</p>
|
|
</section>
|
|
<section id="align-panel"></section>
|
|
<section id="calib-panel"></section>
|
|
</aside>
|
|
<script type="module" src="/src/main.ts"></script>
|
|
</body>
|
|
</html>
|