old-silvrgit/lib/jade/today.jade

30 lines
795 B
Plaintext
Raw Normal View History

2016-02-11 11:40:10 +00:00
doctype html
html(lang="en")
head
title= Today
body
h1 Today
#container.weather
h2 Weather
p Currently:
= ' ' + data.weather.currently
p Later:
= ' ' + data.weather.today
if data.weather.alerts.length > 0
2016-02-11 12:16:02 +00:00
h3(style="color:red;") ALERT
2016-02-11 11:40:10 +00:00
each alert in data.weather.alerts
p(style="color:red;")= alert.title
p= alert.description
2016-02-11 12:16:02 +00:00
#container.travel
h2 Travel
2016-02-11 11:40:10 +00:00
if data.trains.data.length > 0
each alert in data.trains.data
strong= alert.title
p= alert.description
2016-02-11 12:16:02 +00:00
else
p Nothing to report.
2016-02-11 11:40:10 +00:00