forked from wezm/wezm.net
Add current weather mustache template
This commit is contained in:
parent
846eb6e3e1
commit
fa9ec15a71
1 changed files with 16 additions and 0 deletions
16
templates/current_weather.html
Normal file
16
templates/current_weather.html
Normal file
|
@ -0,0 +1,16 @@
|
|||
<div id="current">
|
||||
<figure class="forecast">
|
||||
<img src="/images/weather/{{forecast}}.png" width="48" height="48" alt="{{forecast}}" />
|
||||
<figcaption>Forecast</figcaption>
|
||||
</figure>
|
||||
|
||||
<div class="temperature">
|
||||
<div class="current temperature">{{temperature}}°C</div>
|
||||
<div class="minmax">
|
||||
Minimum <span class="min temperature">{{min_temp}}°C</span> at
|
||||
<time datetime="{{min_datetime}}">{{minDateString}}</time>
|
||||
Maximum <span class="max temperature">{{max_temp}}°C</span> at
|
||||
<time datetime="{{max_datetime}}">{{maxDateString}}</time>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in a new issue