Show another day of weather
This commit is contained in:
parent
53268bf998
commit
e6b2f4ce88
@ -37,7 +37,7 @@
|
|||||||
<!-- Forecast -->
|
<!-- Forecast -->
|
||||||
<mat-card class="m-3 mx-auto" style="max-width: 450px">
|
<mat-card class="m-3 mx-auto" style="max-width: 450px">
|
||||||
<div class="d-flex justify-content-center">
|
<div class="d-flex justify-content-center">
|
||||||
<div *ngFor="let day of weatherService.weather.slice(1, 5)" class="d-flex flex-column align-items-center flex-grow-1" style="max-width: 75px;">
|
<div *ngFor="let day of weatherService.weather" class="d-flex flex-column align-items-center flex-grow-1" style="max-width: 75px;">
|
||||||
{{day.date.toString().slice(0, 4).toUpperCase()}}
|
{{day.date.toString().slice(0, 4).toUpperCase()}}
|
||||||
<i [class]="'my-2 wi wi-fw ' + day.icon" style="font-size: 2rem"></i>
|
<i [class]="'my-2 wi wi-fw ' + day.icon" style="font-size: 2rem"></i>
|
||||||
<div class="text-center">{{day.high | round}} °C</div>
|
<div class="text-center">{{day.high | round}} °C</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user