LocationBasedServices/smartguide/pipeline/head There was a failure building this commit
86 lines
2.9 KiB
HTML
86 lines
2.9 KiB
HTML
<div class="app-shell">
|
|
<div class="container">
|
|
<mat-drawer-container
|
|
class="drawer-container"
|
|
[autosize]="!mediaQuery.matches">
|
|
@if (credentialService.isAuthenticated()) {
|
|
<mat-drawer
|
|
class="drawer"
|
|
[class.drawer--collapsed]="isSidebarCollapsed()"
|
|
#drawer
|
|
[mode]="mediaQuery.matches ? 'over' : 'side'"
|
|
[(opened)]="sideNavOpen">
|
|
<app-menu
|
|
[collapsed]="isSidebarCollapsed()"
|
|
[canCollapse]="!mediaQuery.matches"
|
|
(toggleCollapsed)="toggleSidebarCollapsed()">
|
|
</app-menu>
|
|
</mat-drawer>
|
|
}
|
|
<mat-drawer-content class="content-shell">
|
|
@if (credentialService.isAuthenticated()) {
|
|
@if (credentialService.isImpersonating()) {
|
|
<div class="impersonation-banner">
|
|
<mat-icon>switch_account</mat-icon>
|
|
<span>Impersonation aktiv</span>
|
|
<button mat-button type="button" (click)="stopImpersonating()">
|
|
Beenden
|
|
</button>
|
|
</div>
|
|
}
|
|
<mat-toolbar class="main">
|
|
<div class="topbar-left">
|
|
@if (mediaQuery.matches) {
|
|
<button
|
|
mat-icon-button
|
|
(click)="toggle()"
|
|
matTooltip="Navigation">
|
|
<mat-icon>menu</mat-icon>
|
|
</button>
|
|
}
|
|
<button (click)="navigateBack()" class="back-link" type="button">
|
|
<mat-icon>arrow_back</mat-icon>
|
|
<span>Zurück</span>
|
|
</button>
|
|
</div>
|
|
<app-searchbar />
|
|
<div class="topbar-actions">
|
|
<ng-content select="[menu]"></ng-content>
|
|
</div>
|
|
</mat-toolbar>
|
|
}
|
|
|
|
<main class="content">
|
|
<div class="main-content-body">
|
|
@if (resolverState.isResolvingFromOutside('/persons')) {
|
|
<app-loading
|
|
text="Personenliste wird geladen..."
|
|
icon="group"
|
|
[size]="200"
|
|
[diameter]="200" />
|
|
} @else if (resolverState.isResolvingFromOutside('/person/')) {
|
|
<app-loading
|
|
text="Personendaten werden geladen..."
|
|
icon="person"
|
|
[size]="200"
|
|
[diameter]="200" />
|
|
} @else if (resolverState.isResolvingFromOutside('/projects/')) {
|
|
<app-loading
|
|
text="Projektdaten werden geladen..."
|
|
icon="article"
|
|
[size]="200"
|
|
[diameter]="200" />
|
|
} @else {
|
|
<ng-content></ng-content>
|
|
}
|
|
</div>
|
|
|
|
<footer class="footer-container">
|
|
<div class="footer">Networked Embedded Systems 2026</div>
|
|
</footer>
|
|
</main>
|
|
</mat-drawer-content>
|
|
</mat-drawer-container>
|
|
</div>
|
|
</div>
|