diff options
Diffstat (limited to 'overlays/spm/frontend/src/app/app.component.html')
-rw-r--r-- | overlays/spm/frontend/src/app/app.component.html | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/overlays/spm/frontend/src/app/app.component.html b/overlays/spm/frontend/src/app/app.component.html index f9b5b8fc..1a2f88b0 100644 --- a/overlays/spm/frontend/src/app/app.component.html +++ b/overlays/spm/frontend/src/app/app.component.html | |||
@@ -1,7 +1,21 @@ | |||
1 | <mat-toolbar color="primary"> | 1 | <div gdAreas="nav | content" gdRows="min-content 1fr" style="min-height: 100vh"> |
2 | <div> | 2 | <mat-toolbar color="primary" gdArea="nav" fxLayout="flex" fxLayoutGap="16px"> |
3 | <a mat-button routerLink="/spm" routerLinkActive="active">spm</a> | 3 | <div> |
4 | </div> | 4 | <span class="mono" [innerHTML]="apiDomain$ | async"></span> |
5 | </mat-toolbar> | 5 | </div> |
6 | <!-- The routed views render in the <router-outlet> --> | 6 | <div> |
7 | <router-outlet></router-outlet> | 7 | <a mat-button routerLink="/spm" routerLinkActive="active">spm</a> |
8 | </div> | ||
9 | </mat-toolbar> | ||
10 | <!-- The routed views render in the <router-outlet> --> | ||
11 | <ng-template #router_loading_indicator> | ||
12 | <div gdArea="content" fxLayout="column" fxLayoutAlign="center stretch"> | ||
13 | <div fxFlex="none" fxFlexAlign="center"> | ||
14 | <mat-spinner></mat-spinner> | ||
15 | </div> | ||
16 | </div> | ||
17 | </ng-template> | ||
18 | <div class="content" gdArea="content" *ngIf="!(routerLoading$ | async); else router_loading_indicator"> | ||
19 | <router-outlet></router-outlet> | ||
20 | </div> | ||
21 | </div> | ||