mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-25 15:49:59 +00:00
forecast
This commit is contained in:
@@ -1,20 +1,23 @@
|
||||
{% if forecast %}
|
||||
<div class="normal medium">
|
||||
<table class="small">
|
||||
{% for f in forecast %}
|
||||
<tr class="{% if config.colored %}colored{% endif %}">
|
||||
<td class="day">{{f.day}}</td>
|
||||
<td class="bright weather-icon"><span class="wi weathericon {{f.icon}}"></span></td>
|
||||
<td class="align-right bright max-temp">
|
||||
{{f.maxTemperature | roundValue | unit("temperature")}}
|
||||
<table class="{{config.tableClass}}">
|
||||
{% for f in forecast %}
|
||||
<tr {% if config.colored %}class="colored"{% endif %}>
|
||||
<td class="day">{{f.date.format('ddd')}}</td>
|
||||
<td class="bright weather-icon"><span class="wi weathericon wi-{{f.weatherType}}"></span></td>
|
||||
<td class="align-right bright max-temp">
|
||||
{{f.maxTemperature | roundValue | unit("temperature")}}
|
||||
</td>
|
||||
<td class="align-right min-temp">
|
||||
{{f.minTemperature | roundValue | unit("temperature")}}
|
||||
</td>
|
||||
{% if config.showRainAmount %}
|
||||
<td class="align-right bright rain">
|
||||
{{f.rain | formatRain}}
|
||||
</td>
|
||||
<td class="align-right min-temp">
|
||||
{{f.minTemperature | roundValue | unit("temperature")}}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
{% endif %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
{% else %}
|
||||
{{"LOADING" | translate}}
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user