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
@@ -0,0 +1,23 @@
<h2>Available Images</h2>
<div>
<span style="width: 9.5em; display: inline-block; margin-left: 1.5em">Name</span>
<span style="width: 15em; display: inline-block">Date</span>
</div>
<mat-expansion-panel *ngFor="let image of images | slice:paginationGetStart():paginationGetEnd()">
<mat-expansion-panel-header (click)="$event.stopPropagation()">
<span style="width: 10em"
>{{image.name}}</span>
<span style="width: 15em"
>{{image.datetime}}</span>
</mat-expansion-panel-header>
TEST
</mat-expansion-panel>
<mat-paginator [length]="images.length"
[pageSize]="pageSizeOptions[0]"
[pageSizeOptions]="pageSizeOptions"
(page)="lastPageEvent = $event"
showFirstLastButtons
></mat-paginator>