2018-02-22 03:22:53 -06:00
|
|
|
<div *ngIf="customCSS" [innerHTML]="customCSS"></div>
|
|
|
|
|
2018-09-11 08:07:31 -05:00
|
|
|
<my-hotkeys-cheatsheet></my-hotkeys-cheatsheet>
|
2018-08-28 02:32:03 -05:00
|
|
|
|
2020-03-18 04:11:59 -05:00
|
|
|
<div class="peertube-container" [ngClass]="{ 'user-logged-in': isUserLoggedIn(), 'user-not-logged-in': !isUserLoggedIn() }">
|
2017-12-01 06:08:46 -06:00
|
|
|
<div class="header">
|
2017-04-26 14:22:00 -05:00
|
|
|
|
2020-04-30 15:33:27 -05:00
|
|
|
<div class="top-left-block">
|
2020-03-07 06:50:26 -06:00
|
|
|
<span class="icon icon-menu" (click)="menu.toggleMenu()"></span>
|
2017-04-26 14:22:00 -05:00
|
|
|
|
2020-06-15 09:42:13 -05:00
|
|
|
<a class="peertube-title" [routerLink]="defaultRoute">
|
2017-12-01 06:08:46 -06:00
|
|
|
<span class="icon icon-logo"></span>
|
2018-02-20 07:16:32 -06:00
|
|
|
<span class="instance-name">{{ instanceName }}</span>
|
2017-12-01 06:08:46 -06:00
|
|
|
</a>
|
2017-04-26 14:22:00 -05:00
|
|
|
</div>
|
|
|
|
|
2020-04-30 15:33:27 -05:00
|
|
|
<div class="header-right">
|
2020-02-03 07:04:42 -06:00
|
|
|
<my-header class="w-100 d-flex justify-content-end"></my-header>
|
2017-12-01 02:20:19 -06:00
|
|
|
</div>
|
2017-04-26 14:22:00 -05:00
|
|
|
</div>
|
|
|
|
|
2017-12-01 06:08:46 -06:00
|
|
|
<div class="sub-header-container">
|
2020-03-07 06:50:26 -06:00
|
|
|
<my-menu *ngIf="menu.isMenuDisplayed"></my-menu>
|
2016-03-14 16:16:43 -05:00
|
|
|
|
2020-03-13 09:30:23 -05:00
|
|
|
<div id="content" tabindex="-1" class="main-col" [ngClass]="{ expanded: menu.isMenuDisplayed === false }">
|
2016-03-14 16:16:43 -05:00
|
|
|
|
2017-04-21 04:06:33 -05:00
|
|
|
<div class="main-row">
|
2020-05-28 04:15:38 -05:00
|
|
|
|
|
|
|
<div *ngIf="broadcastMessage" class="broadcast-message alert" [ngClass]="broadcastMessage.class">
|
|
|
|
<div [innerHTML]="broadcastMessage.message"></div>
|
|
|
|
|
|
|
|
<my-global-icon
|
|
|
|
*ngIf="broadcastMessage.dismissable" (click)="hideBroadcastMessage()"
|
|
|
|
iconName="cross" role="button" title="Close this message" i18n-title
|
|
|
|
></my-global-icon>
|
|
|
|
</div>
|
|
|
|
|
2017-04-21 04:06:33 -05:00
|
|
|
<router-outlet></router-outlet>
|
|
|
|
</div>
|
2016-08-23 04:45:28 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-03-14 07:50:19 -05:00
|
|
|
</div>
|
2017-04-21 04:06:33 -05:00
|
|
|
|
2020-08-07 04:34:22 -05:00
|
|
|
<ngx-loading-bar [includeSpinner]="false" color="var(--mainColor)"></ngx-loading-bar>
|
2019-01-16 09:05:40 -06:00
|
|
|
|
2017-04-21 04:06:33 -05:00
|
|
|
<my-confirm></my-confirm>
|
2019-01-16 09:05:40 -06:00
|
|
|
|
2018-12-19 09:04:34 -06:00
|
|
|
<p-toast position="bottom-right">
|
|
|
|
<ng-template let-message pTemplate="message">
|
2018-12-20 04:18:29 -06:00
|
|
|
<div class="notification-block">
|
|
|
|
<div class="message">
|
|
|
|
<h3>{{ message.summary }}</h3>
|
|
|
|
<p>{{ message.detail }}</p>
|
|
|
|
</div>
|
2018-12-19 09:04:34 -06:00
|
|
|
|
2018-12-20 04:18:29 -06:00
|
|
|
<span *ngIf="message.severity === 'success'" class="glyphicon glyphicon-ok"></span>
|
|
|
|
<span *ngIf="message.severity === 'info'" class="glyphicon glyphicon-info-sign"></span>
|
|
|
|
<span *ngIf="message.severity === 'error'" class="glyphicon glyphicon-remove"></span>
|
|
|
|
</div>
|
2018-12-19 09:04:34 -06:00
|
|
|
</ng-template>
|
|
|
|
</p-toast>
|
2019-08-28 07:40:06 -05:00
|
|
|
|
|
|
|
<ng-template [ngIf]="isUserLoggedIn()">
|
|
|
|
<my-welcome-modal #welcomeModal></my-welcome-modal>
|
|
|
|
<my-instance-config-warning-modal #instanceConfigWarningModal></my-instance-config-warning-modal>
|
|
|
|
</ng-template>
|
2020-04-15 08:35:41 -05:00
|
|
|
|
|
|
|
<my-custom-modal #customModal></my-custom-modal>
|