Files
clarkeis.com/site/camera-info/index.html
Tyler Clarke 9ca745114f
All checks were successful
ClarkeIS Build / Build-Docker-Image (push) Successful in 42s
fix landscape orientation
2025-07-28 20:55:17 -04:00

36 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" />
<script src="https://unpkg.com/pdf-lib"></script>
</head>
<body>
<video id="magic_video" class="offscreen">video stream unavailable</video>
<div id="home" style="display: none;">
<div id="picbar">
<button id="takepicture" onclick="takepicture()">Take Picture!</button>
<button onclick="setdetails()" style="display: none; align-self: end;" id="endcamera">Next</button>
</div>
<canvas id="precanvas" class="offscreen"></canvas>
<video id="preview">video stream unavailable</video>
</div>
<div id="details" style="display: none;">
<span>Longitude: <input type="number" id="long"/></span><br>
<span>Latitude: <input type="number" id="lat"/></span><br>
<button onclick="populateLocation()" id="here">Current Location</button><br>
<span>Title: <input type="text" id="title" placeholder="123 A Place"/></span><br>
<span>Notes: <input type="text" id="notes" placeholder="Location Notes" /></span><br>
<button onclick="render()">Finish</button>
</div>
<div id="finalresult" style="display: none;">
<iframe id="final"></iframe>
<button onclick="download()">Download!</button>
<button onclick="window.location.reload()">Take Another Picture</button>
</div>
<script src="main.js"></script>
</body>
</html>