58 lines
1.6 KiB
HTML
58 lines
1.6 KiB
HTML
<div class="app-shell">
|
|
<div class="container">
|
|
<mat-drawer-container class="drawer-container">
|
|
@if (
|
|
(credentialService.authenticated | async) &&
|
|
((credentialService.superadmin | async) ||
|
|
(credentialService.universityadmin | async))
|
|
) {
|
|
<mat-drawer
|
|
class="drawer"
|
|
#drawer
|
|
[mode]="mediaQuery.matches ? 'over' : 'side'"
|
|
[(opened)]="sideNavOpen"
|
|
>
|
|
<app-menu></app-menu>
|
|
</mat-drawer>
|
|
}
|
|
<mat-drawer-content class="content-shell">
|
|
<mat-toolbar class="main">
|
|
<div class="topbar-left">
|
|
@if (
|
|
mediaQuery.matches && (credentialService.authenticated | async)
|
|
) {
|
|
<button
|
|
mat-icon-button
|
|
(click)="toggle()"
|
|
matTooltip="Navigation"
|
|
>
|
|
<mat-icon>menu</mat-icon>
|
|
</button>
|
|
}
|
|
<button class="back-link" type="button">
|
|
<mat-icon>arrow_back</mat-icon>
|
|
<span>Zurück zur Suche</span>
|
|
</button>
|
|
</div>
|
|
|
|
<label class="search-box">
|
|
<mat-icon>search</mat-icon>
|
|
<input
|
|
type="search"
|
|
placeholder="Suchen nach Personen, Themen, Projekten..."
|
|
/>
|
|
</label>
|
|
|
|
<div class="topbar-actions">
|
|
<ng-content select="[menu]"></ng-content>
|
|
</div>
|
|
</mat-toolbar>
|
|
|
|
<main class="content">
|
|
<ng-content></ng-content>
|
|
</main>
|
|
</mat-drawer-content>
|
|
</mat-drawer-container>
|
|
</div>
|
|
</div>
|