1 <div *
ngIf=
"customCSS" [innerHTML]=
"customCSS"></div>
3 <my-hotkeys-cheatsheet></my-hotkeys-cheatsheet>
5 <div class=
"peertube-container" [ngClass]=
"{ 'user-logged-in': isUserLoggedIn(), 'user-not-logged-in': !isUserLoggedIn() }">
8 <div class=
"top-left-block">
9 <span class=
"icon icon-menu" role=
"button" [title]=
"getToggleTitle()" (click)=
"menu.toggleMenu()"></span>
11 <a class=
"peertube-title c-hand" (click)=
"goToDefaultRoute()">
12 <span class=
"icon icon-logo"></span>
13 <span class=
"instance-name">{{ instanceName }}
</span>
17 <div class=
"header-right">
18 <my-header class=
"w-100 d-flex justify-content-end"></my-header>
22 <div class=
"sub-header-container">
23 <my-menu *
ngIf=
"menu.isMenuDisplayed"></my-menu>
25 <div id=
"content" tabindex=
"-1" class=
"main-col" [ngClass]=
"{ expanded: menu.isMenuDisplayed === false }">
27 <div class=
"main-row">
29 <div *
ngIf=
"broadcastMessage" class=
"broadcast-message alert" [ngClass]=
"broadcastMessage.class">
30 <div [innerHTML]=
"broadcastMessage.message"></div>
33 *
ngIf=
"broadcastMessage.dismissable" (click)=
"hideBroadcastMessage()"
34 iconName=
"cross" role=
"button" title=
"Close this message" i18n-title
38 <router-outlet></router-outlet>
44 <ngx-loading-bar [includeSpinner]=
"false" color=
"var(--mainColor)"></ngx-loading-bar>
46 <my-confirm></my-confirm>
48 <p-toast position=
"bottom-right">
49 <ng-template let-message
pTemplate=
"message">
50 <div class=
"notification-block">
52 <h3>{{ message.summary }}
</h3>
53 <p>{{ message.detail }}
</p>
56 <my-global-icon [iconName]=
"getNotificationIcon(message)"></my-global-icon>
61 <ng-container *
ngIf=
"isUserLoggedIn()">
62 <my-account-setup-warning-modal #accountSetupWarningModal
></my-account-setup-warning-modal>
63 <my-admin-welcome-modal #adminWelcomeModal
></my-admin-welcome-modal>
64 <my-instance-config-warning-modal #instanceConfigWarningModal
></my-instance-config-warning-modal>
67 <my-custom-modal #customModal
></my-custom-modal>