From be17bfb8cd76af2d4f42bb81db8b959bc9620a48 Mon Sep 17 00:00:00 2001 From: dakkar Date: Sun, 7 Jul 2013 12:55:12 +0100 Subject: png icons, and table for timeline --- forecast.html.tt | 60 +++++++++++++++++++++++++++----------------------------- 1 file changed, 29 insertions(+), 31 deletions(-) (limited to 'forecast.html.tt') diff --git a/forecast.html.tt b/forecast.html.tt index eedc078..1a91bdd 100644 --- a/forecast.html.tt +++ b/forecast.html.tt @@ -26,33 +26,28 @@ Forecast @@ -93,6 +88,7 @@
+

Today

[% today.icon %]
Summary:
@@ -107,22 +103,24 @@
[% time(today.sunsetTime) %]
-
- [% left=0 ;FOR span IN hourly.spans_by_string('summary'); - width=3*hours_length(span) %] - [% span.value %] - [% left=left+width; END %] -
-
- [% left=0; FOR h IN hourly.data; BREAK IF loop.last %] - [% time(h.time) %] - [% left=left+3; END %] -
-
- [% left=0; FOR h IN hourly.data; BREAK IF loop.last %] - [% h.temperature %]° - [% left=left+3; END %] -
+ + + [% FOR span IN hourly.spans_by_string('summary'); + width=hours_length(span) %] + + [% END %] + + + [% FOR h IN hourly.data; BREAK IF loop.last %] + + [% END %] + + + [% FOR h IN hourly.data; BREAK IF loop.last %] + + [% END %] + +
[% span.value %]
[% time(h.time) %]
[% h.temperature %]°
-- cgit v1.2.3