Files
clarkeis.com/site/camera-info/index.html
Tyler Clarke 0d85452718
All checks were successful
ClarkeIS Build / Build-Docker-Image (push) Successful in 47s
more update
2025-06-21 21:16:58 -04:00

37 lines
1.6 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>camera info</title>
<link rel="stylesheet" href="main.css" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="manifest" href="manifest.json" />
</head>
<body>
<video id="magic_video" class="offscreen">video stream unavailable</video>
<div id="home" style="display: none;">
<button onclick="setdetails()" style="display: none; align-self: end;" id="endcamera">Next</button>
<button onclick="takepicture()" style="align-self: end;">Take Picture!</button>
<canvas id="precanvas" class="offscreen"></canvas>
<div id="camview">
<div id="video-container">
<video id="preview">video stream unavailable</video>
</div>
</div>
</div>
<div id="details" style="display: none;">
<span>Longitude: <input type="number" id="long"/></span>
<span>Latitude: <input type="number" id="lat"/></span>
<button onclick="populateLocation()" id="here">Current Location</button>
<span>Title: <input type="text" id="title" placeholder="123 A Place"/></span>
<span>Notes: <input type="text" id="notes" placeholder="Location Notes" /></span>
<button onclick="render()">Finish</button>
</div>
<div id="finalresult" style="display: none;">
<canvas id="final" width="1440" height="960"></canvas>
<button onclick="download()">Download!</button>
<button onclick="window.location.reload()">Take Another Picture</button>
</div>
<script src="main.js"></script>
</body>
</html>