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
|
|
|
|
2018-03-27 09:18:25 -05:00
|
|
|
<div [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
|
|
|
|
2017-12-01 02:20:19 -06:00
|
|
|
<div class="top-left-block" [ngClass]="{ 'border-bottom': isMenuDisplayed === false }">
|
2017-12-01 06:08:46 -06:00
|
|
|
<span class="icon icon-menu" (click)="toggleMenu()"></span>
|
2017-04-26 14:22:00 -05:00
|
|
|
|
2018-03-21 03:40:57 -05:00
|
|
|
<a id="peertube-title" [routerLink]="defaultRoute" title="Homepage">
|
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>
|
|
|
|
|
2018-09-03 18:28:04 -05:00
|
|
|
<div class="header-right" [ngClass]="{ 'border-bottom': isMenuDisplayed === false }">
|
2017-12-05 10:46:33 -06:00
|
|
|
<my-header></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">
|
2018-06-28 06:59:48 -05:00
|
|
|
<my-menu *ngIf="isMenuDisplayed"></my-menu>
|
2016-03-14 16:16:43 -05:00
|
|
|
|
2018-09-08 07:34:32 -05:00
|
|
|
<div id="content" tabindex="-1" class="main-col container-fluid" [ngClass]="{ expanded: isMenuDisplayed === false }">
|
2016-03-14 16:16:43 -05:00
|
|
|
|
2017-04-21 04:06:33 -05:00
|
|
|
<div class="main-row">
|
|
|
|
<router-outlet></router-outlet>
|
|
|
|
</div>
|
2017-04-21 10:12:28 -05:00
|
|
|
|
2017-04-21 11:26:09 -05:00
|
|
|
<footer class="row">
|
2018-09-29 12:53:49 -05:00
|
|
|
<a href="https://joinpeertube.org" title="PeerTube website" target="_blank" rel="noopener noreferrer">PeerTube v{{ serverVersion }}{{ serverCommit }}</a> -
|
2018-03-19 09:06:14 -05:00
|
|
|
<a href="https://github.com/Chocobozzz/PeerTube/blob/develop/LICENSE" title="PeerTube license" target="_blank" rel="noopener noreferrer">CopyLeft 2015-2018</a>
|
2017-04-21 10:12:28 -05:00
|
|
|
</footer>
|
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
|
|
|
|
2018-09-07 15:46:11 -05:00
|
|
|
<ngx-loading-bar [includeSpinner]="false"></ngx-loading-bar>
|
2017-04-21 04:06:33 -05:00
|
|
|
<my-confirm></my-confirm>
|
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>
|