1 <div *
ngIf=
"customCSS" [innerHTML]=
"customCSS"></div>
3 <my-hotkeys-cheatsheet></my-hotkeys-cheatsheet>
5 <div [ngClass]=
"{ 'user-logged-in': isUserLoggedIn(), 'user-not-logged-in': !isUserLoggedIn() }">
8 <div class=
"top-left-block" [ngClass]=
"{ 'border-bottom': isMenuDisplayed === false }">
9 <span class=
"icon icon-menu" (click)=
"toggleMenu()"></span>
11 <a class=
"peertube-title" [routerLink]=
"defaultRoute" title=
"Homepage" i18n-title
>
12 <span class=
"icon icon-logo"></span>
13 <span class=
"instance-name">{{ instanceName }}
</span>
17 <div class=
"header-right" [ngClass]=
"{ 'border-bottom': isMenuDisplayed === false }">
18 <my-header class=
"w-100 d-flex justify-content-end"></my-header>
22 <div class=
"sub-header-container">
23 <my-menu *
ngIf=
"isMenuDisplayed"></my-menu>
25 <div id=
"content" tabindex=
"-1" class=
"main-col container-fluid" [ngClass]=
"{ expanded: isMenuDisplayed === false }">
27 <div class=
"main-row">
28 <router-outlet></router-outlet>
34 <ngx-loading-bar [includeSpinner]=
"false"></ngx-loading-bar>
36 <my-confirm></my-confirm>
38 <p-toast position=
"bottom-right">
39 <ng-template let-message
pTemplate=
"message">
40 <div class=
"notification-block">
42 <h3>{{ message.summary }}
</h3>
43 <p>{{ message.detail }}
</p>
46 <span *
ngIf=
"message.severity === 'success'" class=
"glyphicon glyphicon-ok"></span>
47 <span *
ngIf=
"message.severity === 'info'" class=
"glyphicon glyphicon-info-sign"></span>
48 <span *
ngIf=
"message.severity === 'error'" class=
"glyphicon glyphicon-remove"></span>
53 <ng-template [ngIf]=
"isUserLoggedIn()">
54 <my-welcome-modal #welcomeModal
></my-welcome-modal>
55 <my-instance-config-warning-modal #instanceConfigWarningModal
></my-instance-config-warning-modal>