80 lines
5.5 KiB
HTML
80 lines
5.5 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Survey setup</title>
|
|
<script src="./support.js"></script>
|
|
</head>
|
|
<body>
|
|
<x-dc>
|
|
<helmet>
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap">
|
|
<style>
|
|
body{margin:0}
|
|
a{color:#F5B544}a:hover{color:#FFD07A}
|
|
</style>
|
|
</helmet>
|
|
<div style="width: 390px; height: 844px; box-sizing: border-box; position: relative; overflow: hidden; background: #0A0D13; color: #E8ECF2; font-family: 'Barlow', system-ui, sans-serif; padding: 56px 20px 0">
|
|
<div style="display: flex; align-items: center; gap: 8px">
|
|
<a href="Main.dc.html" aria-label="Back" style="width: 44px; height: 44px; margin-left: -10px; display: flex; align-items: center; justify-content: center; color: #E8ECF2">
|
|
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M15 5l-7 7 7 7"></path></svg>
|
|
</a>
|
|
<h1 style="margin: 0; font-size: 22px; font-weight: 700">New survey</h1>
|
|
</div>
|
|
|
|
<div style="margin-top: 16px; display: flex; flex-direction: column; gap: 22px">
|
|
<div style="display: flex; flex-direction: column; gap: 8px">
|
|
<label for="site-name" style="font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #93A0B4">Site name</label>
|
|
<input id="site-name" value="Backyard pier" style="height: 48px; box-sizing: border-box; border-radius: 12px; border: 1px solid #263042; background: #121722; color: #E8ECF2; font-family: inherit; font-size: 17px; padding: 0 14px">
|
|
<div style="display: flex; align-items: center; gap: 10px; background: #121722; border: 1px solid #232C3B; border-radius: 12px; padding: 10px 10px 10px 14px">
|
|
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#6CC3E6" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z"></path><circle cx="12" cy="9.5" r="2.5"></circle></svg>
|
|
<div style="display: flex; flex-direction: column; gap: 2px; flex: 1">
|
|
<span style="font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 13px">47.4979° N · 19.0402° E</span>
|
|
<span style="font-size: 13px; color: #93A0B4">112 m · GPS ±4 m</span>
|
|
</div>
|
|
<button style="height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid #263042; background: #1A2130; color: #E8ECF2; font-family: inherit; font-size: 14px; font-weight: 600">Refresh</button>
|
|
</div>
|
|
<div style="display: flex; align-items: center; gap: 10px; background: #121722; border: 1px solid #232C3B; border-radius: 12px; padding: 12px 14px">
|
|
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#6CC3E6" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="9"></circle><path d="M15.5 8.5l-2 5-5 2 2-5z"></path></svg>
|
|
<div style="display: flex; flex-direction: column; gap: 2px; flex: 1">
|
|
<span style="font-size: 15px; font-weight: 600">North from compass</span>
|
|
<span style="font-size: 13px; color: #93A0B4">Declination +5.6° applied automatically</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div style="display: flex; flex-direction: column; gap: 12px">
|
|
<span style="font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #93A0B4">How to capture</span>
|
|
<svg width="350" height="120" viewBox="0 0 350 120" role="img" aria-label="Turn once around in place, holding the phone upright; only a band around the horizon is photographed" style="display: block">
|
|
<ellipse cx="175" cy="66" rx="150" ry="34" fill="none" stroke="#263042" stroke-width="22"></ellipse>
|
|
<path d="M25 66 A150 34 0 0 0 325 66" fill="none" stroke="#F5B544" stroke-opacity="0.35" stroke-width="22"></path>
|
|
<path d="M296 44 l14 8 -16 4" fill="none" stroke="#F5B544" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
<rect x="163" y="40" width="24" height="44" rx="5" fill="#0A0D13" stroke="#E8ECF2" stroke-width="2"></rect>
|
|
<text x="338" y="20" text-anchor="end" font-family="IBM Plex Mono, ui-monospace, monospace" font-size="10" fill="#93A0B4">sky not needed</text>
|
|
</svg>
|
|
<ol style="margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.35">
|
|
<li>Stand where the telescope stands.</li>
|
|
<li>Hold the phone upright, tilted slightly above the horizon.</li>
|
|
<li>Turn once around slowly. Frames are taken automatically.</li>
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
|
|
<div style="position: absolute; left: 20px; right: 20px; bottom: 34px">
|
|
<a href="Capture.dc.html" style="height: 56px; border-radius: 16px; background: #F5B544; color: #1A1204; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 17px; font-weight: 700">
|
|
Start capture
|
|
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M9 5l7 7-7 7"></path></svg>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</x-dc>
|
|
<script type="text/x-dc" data-dc-script data-props='{"$preview":{"width":390,"height":844}}'>
|
|
class Component extends DCLogic {
|
|
renderVals() {
|
|
return {};
|
|
}
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|