]>
Commit | Line | Data |
---|---|---|
00b5556c C |
1 | <div *ngIf="customCSS" [innerHTML]="customCSS"></div> |
2 | ||
7aba23d1 | 3 | <my-hotkeys-cheatsheet></my-hotkeys-cheatsheet> |
ee1fc23a | 4 | |
d414207f | 5 | <div [ngClass]="{ 'user-logged-in': isUserLoggedIn(), 'user-not-logged-in': !isUserLoggedIn() }"> |
26c6ee80 | 6 | <div class="header"> |
67167390 | 7 | |
3b20bdd6 RK |
8 | <div class="top-left-block" [ngClass]="{ 'border-bottom': menu.isMenuDisplayed === false }"> |
9 | <span class="icon icon-menu" (click)="menu.toggleMenu()"></span> | |
67167390 | 10 | |
97eae838 | 11 | <a class="peertube-title" [routerLink]="defaultRoute" title="Homepage" i18n-title> |
26c6ee80 | 12 | <span class="icon icon-logo"></span> |
8a44f835 | 13 | <span class="instance-name">{{ instanceName }}</span> |
26c6ee80 | 14 | </a> |
67167390 C |
15 | </div> |
16 | ||
3b20bdd6 | 17 | <div class="header-right" [ngClass]="{ 'border-bottom': menu.isMenuDisplayed === false }"> |
52cc0d54 | 18 | <my-header class="w-100 d-flex justify-content-end"></my-header> |
b33f657c | 19 | </div> |
67167390 C |
20 | </div> |
21 | ||
26c6ee80 | 22 | <div class="sub-header-container"> |
3b20bdd6 | 23 | <my-menu *ngIf="menu.isMenuDisplayed"></my-menu> |
98b01bac | 24 | |
c4741804 | 25 | <div id="content" tabindex="-1" class="main-col" [ngClass]="{ expanded: menu.isMenuDisplayed === false }"> |
98b01bac | 26 | |
383bfc83 C |
27 | <div class="main-row"> |
28 | <router-outlet></router-outlet> | |
29 | </div> | |
52672600 C |
30 | </div> |
31 | </div> | |
dc8bc31b | 32 | </div> |
383bfc83 | 33 | |
ed19bb9a | 34 | <ngx-loading-bar [includeSpinner]="false"></ngx-loading-bar> |
457bb213 | 35 | |
383bfc83 | 36 | <my-confirm></my-confirm> |
457bb213 | 37 | |
f8b2c1b4 C |
38 | <p-toast position="bottom-right"> |
39 | <ng-template let-message pTemplate="message"> | |
4707f410 C |
40 | <div class="notification-block"> |
41 | <div class="message"> | |
42 | <h3>{{ message.summary }}</h3> | |
43 | <p>{{ message.detail }}</p> | |
44 | </div> | |
f8b2c1b4 | 45 | |
4707f410 C |
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> | |
49 | </div> | |
f8b2c1b4 C |
50 | </ng-template> |
51 | </p-toast> | |
43d0ea7f C |
52 | |
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> | |
56 | </ng-template> |