summaryrefslogtreecommitdiffstats
path: root/src/templates/time.template.html
blob: 5be8b5d120e0afe97b9530974a151576a0b3daba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<div class="infoItem day">
    {{ date.day }}
</div>
<div class="infoItem hour">
    {{ date.hour }}
</div>
<div class="infoItem wheater">
    {{ #showTemperature }}
        <div class="temperature weatherItem">
            <img src="http://openweathermap.org/img/wn/{{ weather.weather.0.icon }}.png">
            {{ weather.main.temp }}ºF
        </div>
    {{ /showTemperature }}
    {{ #showWind }}
        <div class="wind weatherItem">
            <i class="fas fa-wind"></i>
            {{ weather.wind.speed }}KMH
        </div>
    {{ /showWind }}
    {{ #showPosition }}
        <div class="position weatherItem">
            <i class="fas fa-map-marker-alt"></i>
            {{ weather.name }}
        </div>
    {{ /showPosition }}
    {{ #showHumidity }}
        <div class="humidity weatherItem">
            <i class="fas fa-tint"></i>
            {{ weather.main.humidity }}%
        </div>
    {{ /showHumidity }}
    {{ #showDescription }}
        <div class="description weatherItem">
            <i class="fas fa-info-circle"></i>
            {{ weather.weather.0.description }}
        </div>
    {{ /showDescription}}
</div>