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">
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>
32 <a href=
"https://joinpeertube.org" title=
"PeerTube website" target=
"_blank" rel=
"noopener noreferrer" i18n
>Powered by PeerTube
</a> -
33 <a href=
"https://github.com/Chocobozzz/PeerTube/blob/develop/LICENSE" title=
"PeerTube license" target=
"_blank" rel=
"noopener noreferrer">CopyLeft
2015-
2020</a>
39 <ngx-loading-bar [includeSpinner]=
"false"></ngx-loading-bar>
41 <my-confirm></my-confirm>
43 <p-toast position=
"bottom-right">
44 <ng-template let-message
pTemplate=
"message">
45 <div class=
"notification-block">
47 <h3>{{ message.summary }}
</h3>
48 <p>{{ message.detail }}
</p>
51 <span *
ngIf=
"message.severity === 'success'" class=
"glyphicon glyphicon-ok"></span>
52 <span *
ngIf=
"message.severity === 'info'" class=
"glyphicon glyphicon-info-sign"></span>
53 <span *
ngIf=
"message.severity === 'error'" class=
"glyphicon glyphicon-remove"></span>
58 <ng-template [ngIf]=
"isUserLoggedIn()">
59 <my-welcome-modal #welcomeModal
></my-welcome-modal>
60 <my-instance-config-warning-modal #instanceConfigWarningModal
></my-instance-config-warning-modal>