Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,20 @@ main {
margin-bottom: 0.5rem;
}

.date-range {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0.5rem;
}

.date-range-label {
display: flex;
flex-direction: column;
font-size: 0.9rem;
color: #444;
gap: 0.35rem;
}

.basemap-selector,
.vector-selector,
.model-selector {
Expand Down
17 changes: 13 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,17 @@ <h2>Coming Soon</h2>
<div class="map-container">
<div class="map-sidebar">
<div class="sidebar-section" id="date-selector-section" style="display: none;">
<h3>Select Date</h3>
<input type="date" id="data-date-picker" class="date-picker">
<h3>Select Date Range</h3>
<div class="date-range">
<label class="date-range-label">
Start
<input type="date" id="data-start-date" class="date-picker">
</label>
<label class="date-range-label">
End
<input type="date" id="data-end-date" class="date-picker">
</label>
</div>
<p class="info-text">Data from <a href="https://github.com/Mosquito-Alert/MosquitoAlertES" target="_blank" rel="noopener noreferrer">MosquitoAlertES</a></p>
</div>

Expand Down Expand Up @@ -153,8 +162,8 @@ <h3>Layers</h3>
<input type="checkbox" id="risk-layer" checked>
Risk Level
</label>
<label class="disabled">
<input type="checkbox" id="observations-layer" disabled>
<label>
<input type="checkbox" id="observations-layer" checked>
Observations
</label>
<label class="disabled">
Expand Down
Loading