From b5b902b02ebe60b771495378a173f9a5d4ee176b Mon Sep 17 00:00:00 2001 From: siddharth Date: Sun, 22 May 2022 20:51:08 -0400 Subject: templates: update weather template --- templates/weather.tmpl | 92 ++++++++++++++++++++++++++++++-------------------- 1 file changed, 55 insertions(+), 37 deletions(-) (limited to 'templates') diff --git a/templates/weather.tmpl b/templates/weather.tmpl index 520c284..904e45b 100644 --- a/templates/weather.tmpl +++ b/templates/weather.tmpl @@ -1,42 +1,60 @@ - - - peach - - - - - - -
-
-

{{.Location}}

-
+ + + peach - {{.Location}} + + + + + + +
+
+
+
+

{{.Location}}

+
+
+
-
-
-

{{.Now.Forecast}}

-

{{.Now.Temperature}}{{.Now.TemperatureUnit}}

-

{{.Now.WindSpeed}} {{.Now.WindDirection}}

-
-
-

{{.Period.Forecast}}

-
-
+
+
- {{ if .Timeline }} -
-
- {{ range .Timeline.Periods }} -
-

{{.Temperature}}{{.TemperatureUnit}}

-

{{printf "%d" .Hour}}hrs

-
- {{ end }} -
-
- {{ end }} +
+
+
+ {{.Now.Temperature}}{{.Now.TemperatureUnit}} +
+
+ {{.Now.Forecast}} +
+
-
- +
+ {{.Now.WindSpeed}} {{.Now.WindDirection}} +
+
+ +
+

{{.Period.Forecast}}

+
+
+
+ + {{ if .Timeline }} +
+
+ {{ range .Timeline.Periods }} +
+

{{.Temperature}}{{.TemperatureUnit}}

+

{{printf "%d" .Hour}}hrs

+
+ {{ end }} +
+
+ {{ end }} + +
+ + -- cgit v1.2.3