|
@@ -1,13 +1,16 @@
|
|
|
<div class="p-2" *ngIf="dataLoaded; else loading">
|
|
<div class="p-2" *ngIf="dataLoaded; else loading">
|
|
|
- <h1>{{currentReservoirData.volume | number:'1.0-0'}} m<sup>3</sup></h1>
|
|
|
|
|
- <p class="text-secondary">volume of water in the reservoir</p>
|
|
|
|
|
- <h2>{{currentReservoirData.elevation | number:'1.3-3'}} m MSL</h2>
|
|
|
|
|
- <p class="text-secondary">water-level</p>
|
|
|
|
|
- <h2>{{currentReservoirData.area | number:'1.2-2'}} m<sup>2</sup></h2>
|
|
|
|
|
- <p class="text-secondary">water surface</p>
|
|
|
|
|
- <strong>{{currentReservoirData.timestamp | date:'medium'}}</strong>
|
|
|
|
|
- <p class="text-secondary">latest data</p>
|
|
|
|
|
|
|
+ <strong class="leader text-dark text-uppercase">Current values</strong>
|
|
|
|
|
+ <h1 class="text-info mt-2">{{currentReservoirData.volume | number:'1.0-0'}} m<sup>3</sup></h1>
|
|
|
|
|
+ <p class="text-secondary text-uppercase pb-2">volume of water in the reservoir</p>
|
|
|
|
|
+ <h2 class="text-info">{{currentReservoirData.elevation | number:'1.3-3'}} m MSL</h2>
|
|
|
|
|
+ <p class="text-secondary text-uppercase pb-2">water-level</p>
|
|
|
|
|
+ <h2 class="text-info">{{currentReservoirData.area | number:'1.2-2'}} m<sup>2</sup></h2>
|
|
|
|
|
+ <p class="text-secondary text-uppercase pb-2">water surface</p>
|
|
|
|
|
+ <strong class="text-dark">{{currentReservoirData.timestamp | date:'medium'}}</strong>
|
|
|
|
|
+ <p class="text-secondary text-uppercase pb-2">last sensors update</p>
|
|
|
</div>
|
|
</div>
|
|
|
<ng-template class="p-2" #loading>
|
|
<ng-template class="p-2" #loading>
|
|
|
|
|
+ <div class="spinner-border spinner mx-2" role="status" aria-hidden="true">
|
|
|
|
|
+ </div>
|
|
|
Loading...
|
|
Loading...
|
|
|
</ng-template>
|
|
</ng-template>
|