aboutsummaryrefslogtreecommitdiff
path: root/web/templates.templ
diff options
context:
space:
mode:
Diffstat (limited to 'web/templates.templ')
-rw-r--r--web/templates.templ14
1 files changed, 14 insertions, 0 deletions
diff --git a/web/templates.templ b/web/templates.templ
index c0e6e18..6bf0154 100644
--- a/web/templates.templ
+++ b/web/templates.templ
@@ -143,6 +143,20 @@ templ AnalyticsContent(data AnalyticsPageData) {
</div>
</form>
</section>
+ <section class="panel analytics-colorby-panel">
+ <div class="section-heading">
+ <div><p class="eyebrow">View</p><h2>Color points by</h2></div>
+ </div>
+ <label class="analytics-colorby" for="analytics-color-by">Split points by
+ <select id="analytics-color-by">
+ <option value="none" selected>None</option>
+ <option value="year">Year</option>
+ <option value="rideType">Ride type</option>
+ <option value="bikeType">Bike type</option>
+ </select>
+ </label>
+ <ul id="analytics-legend" class="analytics-legend" hidden></ul>
+ </section>
<section class="panel analytics-panel">
<div class="section-heading">
<div><p class="eyebrow">Chart</p><h2>Speed vs. Cotacol per 100 km</h2></div>