2018-02-22 09:22:53 +00:00
|
|
|
<div *ngIf="customCSS" [innerHTML]="customCSS"></div>
|
|
|
|
|
2018-09-11 13:07:31 +00:00
|
|
|
<my-hotkeys-cheatsheet></my-hotkeys-cheatsheet>
|
2018-08-28 07:32:03 +00:00
|
|
|
|
2018-03-27 14:18:25 +00:00
|
|
|
<div [ngClass]="{ 'user-logged-in': isUserLoggedIn(), 'user-not-logged-in': !isUserLoggedIn() }">
|
2017-12-01 12:08:46 +00:00
|
|
|
<div class="header">
|
2017-04-26 19:22:00 +00:00
|
|
|
|
2017-12-01 08:20:19 +00:00
|
|
|
<div class="top-left-block" [ngClass]="{ 'border-bottom': isMenuDisplayed === false }">
|
2017-12-01 12:08:46 +00:00
|
|
|
<span class="icon icon-menu" (click)="toggleMenu()"></span>
|
2017-04-26 19:22:00 +00:00
|
|
|
|
2018-03-21 08:40:57 +00:00
|
|
|
<a id="peertube-title" [routerLink]="defaultRoute" title="Homepage">
|
2017-12-01 12:08:46 +00:00
|
|
|
<span class="icon icon-logo"></span>
|
2018-02-20 13:16:32 +00:00
|
|
|
<span class="instance-name">{{ instanceName }}</span>
|
2017-12-01 12:08:46 +00:00
|
|
|
</a>
|
2017-04-26 19:22:00 +00:00
|
|
|
</div>
|
|
|
|
|
2018-09-03 23:28:04 +00:00
|
|
|
<div class="header-right" [ngClass]="{ 'border-bottom': isMenuDisplayed === false }">
|
2017-12-05 16:46:33 +00:00
|
|
|
<my-header></my-header>
|
2017-12-01 08:20:19 +00:00
|
|
|
</div>
|
2017-04-26 19:22:00 +00:00
|
|
|
</div>
|
|
|
|
|
2017-12-01 12:08:46 +00:00
|
|
|
<div class="sub-header-container">
|
2018-06-28 11:59:48 +00:00
|
|
|
<my-menu *ngIf="isMenuDisplayed"></my-menu>
|
2016-03-14 21:16:43 +00:00
|
|
|
|
2018-09-08 12:34:32 +00:00
|
|
|
<div id="content" tabindex="-1" class="main-col container-fluid" [ngClass]="{ expanded: isMenuDisplayed === false }">
|
2016-03-14 21:16:43 +00:00
|
|
|
|
2017-04-21 09:06:33 +00:00
|
|
|
<div class="main-row">
|
|
|
|
<router-outlet></router-outlet>
|
|
|
|
</div>
|
2017-04-21 15:12:28 +00:00
|
|
|
|
2017-04-21 16:26:09 +00:00
|
|
|
<footer class="row">
|
2018-09-29 17:53:49 +00:00
|
|
|
<a href="https://joinpeertube.org" title="PeerTube website" target="_blank" rel="noopener noreferrer">PeerTube v{{ serverVersion }}{{ serverCommit }}</a> -
|
2018-03-19 14:06:14 +00: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 15:12:28 +00:00
|
|
|
</footer>
|
2016-08-23 09:45:28 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-03-14 12:50:19 +00:00
|
|
|
</div>
|
2017-04-21 09:06:33 +00:00
|
|
|
|
2018-09-07 20:46:11 +00:00
|
|
|
<ngx-loading-bar [includeSpinner]="false"></ngx-loading-bar>
|
2017-04-21 09:06:33 +00:00
|
|
|
<my-confirm></my-confirm>
|
|
|
|
<simple-notifications [options]="notificationOptions"></simple-notifications>
|