]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/app.component.html
Merge branch 'release/2.1.0' into develop
[github/Chocobozzz/PeerTube.git] / client / src / app / app.component.html
1 <div *ngIf="customCSS" [innerHTML]="customCSS"></div>
2
3 <my-hotkeys-cheatsheet></my-hotkeys-cheatsheet>
4
5 <div [ngClass]="{ 'user-logged-in': isUserLoggedIn(), 'user-not-logged-in': !isUserLoggedIn() }">
6 <div class="header">
7
8 <div class="top-left-block" [ngClass]="{ 'border-bottom': isMenuDisplayed === false }">
9 <span class="icon icon-menu" (click)="toggleMenu()"></span>
10
11 <a class="peertube-title" [routerLink]="defaultRoute" title="Homepage">
12 <span class="icon icon-logo"></span>
13 <span class="instance-name">{{ instanceName }}</span>
14 </a>
15 </div>
16
17 <div class="header-right" [ngClass]="{ 'border-bottom': isMenuDisplayed === false }">
18 <my-header class="w-100 d-flex justify-content-end"></my-header>
19 </div>
20 </div>
21
22 <div class="sub-header-container">
23 <my-menu *ngIf="isMenuDisplayed"></my-menu>
24
25 <div id="content" tabindex="-1" class="main-col container-fluid" [ngClass]="{ expanded: isMenuDisplayed === false }">
26
27 <div class="main-row">
28 <router-outlet></router-outlet>
29 </div>
30
31 <footer class="row">
32 <a href="https://joinpeertube.org" title="PeerTube website" target="_blank" rel="noopener noreferrer" i18n>Powered by PeerTube</a>&nbsp;-&nbsp;
33 <a href="https://github.com/Chocobozzz/PeerTube/blob/develop/LICENSE" title="PeerTube license" target="_blank" rel="noopener noreferrer">CopyLeft 2015-2020</a>
34 </footer>
35 </div>
36 </div>
37 </div>
38
39 <ngx-loading-bar [includeSpinner]="false"></ngx-loading-bar>
40
41 <my-confirm></my-confirm>
42
43 <p-toast position="bottom-right">
44 <ng-template let-message pTemplate="message">
45 <div class="notification-block">
46 <div class="message">
47 <h3>{{ message.summary }}</h3>
48 <p>{{ message.detail }}</p>
49 </div>
50
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>
54 </div>
55 </ng-template>
56 </p-toast>
57
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>
61 </ng-template>