From 4ce65d8965bdebdf35e5f3a4272482c0f40ef2bd Mon Sep 17 00:00:00 2001 From: Humberto Alfonso Díaz Date: Wed, 11 Dec 2019 09:41:30 +0100 Subject: FUNCT Added homescreen --- src/templates/time.template.html | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) (limited to 'src/templates') diff --git a/src/templates/time.template.html b/src/templates/time.template.html index c8ed97e..5be8b5d 100644 --- a/src/templates/time.template.html +++ b/src/templates/time.template.html @@ -5,6 +5,34 @@ {{ date.hour }}
- - {{ weather.temperature }} + {{ #showTemperature }} +
+ + {{ weather.main.temp }}ºF +
+ {{ /showTemperature }} + {{ #showWind }} +
+ + {{ weather.wind.speed }}KMH +
+ {{ /showWind }} + {{ #showPosition }} +
+ + {{ weather.name }} +
+ {{ /showPosition }} + {{ #showHumidity }} +
+ + {{ weather.main.humidity }}% +
+ {{ /showHumidity }} + {{ #showDescription }} +
+ + {{ weather.weather.0.description }} +
+ {{ /showDescription}}
\ No newline at end of file -- cgit 1.2.3-korg