55 lines
1.9 KiB
HTML
55 lines
1.9 KiB
HTML
|
|
<!DOCTYPE html>
|
|||
|
|
<html lang="en">
|
|||
|
|
<head>
|
|||
|
|
<meta charset="utf-8" />
|
|||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|||
|
|
<title>Thermograph — a single day</title>
|
|||
|
|
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css" />
|
|||
|
|
<link rel="stylesheet" href="style.css" />
|
|||
|
|
</head>
|
|||
|
|
<body>
|
|||
|
|
<header>
|
|||
|
|
<div class="brand">
|
|||
|
|
<span class="logo">▚</span>
|
|||
|
|
<div>
|
|||
|
|
<h1>Thermograph · Day</h1>
|
|||
|
|
<p class="tag">Every percentile boundary for one day vs its ±7-day climate window</p>
|
|||
|
|
</div>
|
|||
|
|
<nav class="view-nav" aria-label="Views">
|
|||
|
|
<a href="./" data-view="map">Weekly</a>
|
|||
|
|
<a href="calendar" data-view="calendar">Calendar</a>
|
|||
|
|
<a href="day" data-view="day" class="active">Day</a>
|
|||
|
|
</nav>
|
|||
|
|
</div>
|
|||
|
|
</header>
|
|||
|
|
|
|||
|
|
<main>
|
|||
|
|
<section class="controls">
|
|||
|
|
<div class="find-bar">
|
|||
|
|
<button type="button" id="find-btn" class="find-btn"></button>
|
|||
|
|
<span id="loc-label" class="loc-label" hidden></span>
|
|||
|
|
</div>
|
|||
|
|
<div class="day-nav">
|
|||
|
|
<button type="button" id="prev-day" class="day-step" title="Previous day" aria-label="Previous day">‹</button>
|
|||
|
|
<label class="day-date">Day
|
|||
|
|
<input id="date-input" type="date" />
|
|||
|
|
</label>
|
|||
|
|
<button type="button" id="next-day" class="day-step" title="Next day" aria-label="Next day">›</button>
|
|||
|
|
</div>
|
|||
|
|
</section>
|
|||
|
|
|
|||
|
|
<div id="day-head" class="cal-head" hidden></div>
|
|||
|
|
<div class="placeholder" id="day-placeholder">
|
|||
|
|
<p>Pick a place and a day — or open this from a day on the map or calendar — to see
|
|||
|
|
the value at every tier boundary in that day's ±7-day climate window.</p>
|
|||
|
|
</div>
|
|||
|
|
<div id="day-body"></div>
|
|||
|
|
</main>
|
|||
|
|
|
|||
|
|
<script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"></script>
|
|||
|
|
<script src="nav.js"></script>
|
|||
|
|
<script src="mappicker.js"></script>
|
|||
|
|
<script src="day.js"></script>
|
|||
|
|
</body>
|
|||
|
|
</html>
|