2018-05-21 10:57:22 +02:00
|
|
|
{% if forecast %}
|
2019-01-04 19:43:48 +01:00
|
|
|
<table class="{{ config.tableClass }}">
|
2018-12-27 17:14:03 +01:00
|
|
|
{% for f in forecast %}
|
|
|
|
<tr {% if config.colored %}class="colored"{% endif %}>
|
2019-01-04 19:43:48 +01:00
|
|
|
<td class="day">{{ f.date.format('ddd') }}</td>
|
|
|
|
<td class="bright weather-icon"><span class="wi weathericon wi-{{ f.weatherType }}"></span></td>
|
2018-12-27 17:14:03 +01:00
|
|
|
<td class="align-right bright max-temp">
|
2019-01-04 19:43:48 +01:00
|
|
|
{{ f.maxTemperature | roundValue | unit("temperature") }}
|
2018-12-27 17:14:03 +01:00
|
|
|
</td>
|
|
|
|
<td class="align-right min-temp">
|
2019-01-04 19:43:48 +01:00
|
|
|
{{ f.minTemperature | roundValue | unit("temperature") }}
|
2018-12-27 17:14:03 +01:00
|
|
|
</td>
|
|
|
|
{% if config.showRainAmount %}
|
|
|
|
<td class="align-right bright rain">
|
2019-01-04 19:43:48 +01:00
|
|
|
{{ f.rain | unit("rain") }}
|
2018-05-21 10:57:22 +02:00
|
|
|
</td>
|
2018-12-27 17:14:03 +01:00
|
|
|
{% endif %}
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
2018-07-02 15:43:24 +02:00
|
|
|
{% else %}
|
2019-01-04 19:43:48 +01:00
|
|
|
<div class="dimmed light small">
|
|
|
|
{{ "LOADING" | translate }}
|
|
|
|
</div>
|
2018-05-21 10:57:22 +02:00
|
|
|
{% endif %}
|
2017-10-01 13:50:15 +02:00
|
|
|
|
2018-05-21 10:57:22 +02:00
|
|
|
<!-- Unclomment the line below to see the contents of the `current` object. -->
|
|
|
|
<!-- <div style="word-wrap:break-word" class="xsmall dimmed">{{forecast | dump}}</div> -->
|