mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
Show unit.
This commit is contained in:
parent
a79e1b6ca1
commit
22a50b72fd
@ -1,7 +1,6 @@
|
|||||||
{#
|
{#
|
||||||
TODO:
|
TODO:
|
||||||
- Show Humidity
|
- Show Humidity
|
||||||
- Show Units
|
|
||||||
_ Show Indoor Temperature
|
_ Show Indoor Temperature
|
||||||
_ Show Indoor Humidity
|
_ Show Indoor Humidity
|
||||||
#}
|
#}
|
||||||
@ -22,7 +21,7 @@
|
|||||||
{% if config.showWindDirectionAsArrow %}
|
{% if config.showWindDirectionAsArrow %}
|
||||||
<i class="fa fa-long-arrow-up" style="transform:rotate({{current.windDirection}}deg);"></i>
|
<i class="fa fa-long-arrow-up" style="transform:rotate({{current.windDirection}}deg);"></i>
|
||||||
{% else %}
|
{% else %}
|
||||||
{{current.cardinalWindDirection()}}
|
{{current.cardinalWindDirection() | translate}}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
</sup>
|
</sup>
|
||||||
@ -40,7 +39,13 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="large light">
|
<div class="large light">
|
||||||
<span class="wi weathericon wi-{{current.weatherType}}"></span>
|
<span class="wi weathericon wi-{{current.weatherType}}"></span>
|
||||||
<span class="bright"> {{current.temperature | round(0 if config.roundTemp else 1)}}°</span></div>
|
<span class="bright">
|
||||||
|
{{current.temperature | round(0 if config.roundTemp else 1)}}°{% if config.degreeLabel %}
|
||||||
|
{% if config.units == "metric" %}C{% endif %}
|
||||||
|
{% if config.units == "imperial" %}F{% endif %}
|
||||||
|
{% if config.units == "default" %}K{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user