summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorsiddharth ravikumar <s@ricketyspace.net>2022-06-03 20:33:13 -0400
committersiddharth ravikumar <s@ricketyspace.net>2022-06-03 20:33:13 -0400
commit6f0d4028cb9944e6c28e7659528847aee551f2bb (patch)
treea7c706ee48f1bfafc646c357c639d2a94aa13a63 /templates
parentcc9452bac132d58ca73fe4317f37f6fd7afe6153 (diff)
templates/weather.tmpl: add bidaily forecast
Diffstat (limited to 'templates')
-rw-r--r--templates/weather.tmpl21
1 files changed, 21 insertions, 0 deletions
diff --git a/templates/weather.tmpl b/templates/weather.tmpl
index 60257fa..d23bc99 100644
--- a/templates/weather.tmpl
+++ b/templates/weather.tmpl
@@ -61,6 +61,27 @@
</div>
{{ end }}
+
+ {{ if .BiDailyTimeline }}
+ <div class="bd-timeline-container">
+ <div class="periods-container">
+ {{ range .BiDailyTimeline.Periods }}
+ <div class="period">
+ <div class="name">
+ {{ .Name }}
+ </div>
+ <div class="temperature">
+ {{.Temperature}}{{.TemperatureUnit}}
+ </div>
+ <div class="forecast">
+ {{ .Forecast }}
+ </div>
+ </div>
+ {{ end }}
+ </div>
+ </div>
+ {{ end }}
+
<div class="search-link-container">
<a href="/search">