diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-25 13:25:35 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-25 13:25:35 +0200 |
| commit | d5de3a6fefbc57bccfb1fe688f9c190ccf87d58d (patch) | |
| tree | 4a368e1331e04348353a9d65b94a07f4e94ee6bf /web/templates.templ | |
| parent | 87e29e1eb5a113fbb40d452a193219a40780c302 (diff) | |
analytics grouping
Diffstat (limited to 'web/templates.templ')
| -rw-r--r-- | web/templates.templ | 14 |
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> |
