added simple navigation to switch from images to map view;

added simple images view skeleton;
remove unnecessary websocket support;
This commit is contained in:
Marco Zeisler
2021-01-11 18:53:12 +01:00
parent 91161247e8
commit e2a09b465d
16 changed files with 184 additions and 65 deletions
@@ -1 +1,16 @@
<h1>Federated Storage Infrastructure for IoT Sensor Data</h1>
<h1>
Federated Storage Infrastructure for IoT Sensor Data
<span *ngFor="let storage of storageHealth | keyvalue" style="font-size: 11px;">
<span *ngIf="storage.key; else healthFailure" style="color: green; float: right">{{storage.key}} ✓ </span>
<ng-template #healthFailure style="color: red; float: right">{{storage.key}} x </ng-template>
</span>
</h1>
<mat-tab-group *ngIf="images.length > 0">
<mat-tab label="Images">
<app-images [images]="images"></app-images>
</mat-tab>
<mat-tab label="Map">
<app-map [images]="images"></app-map>
</mat-tab>
</mat-tab-group>