-<div class="container">
+<div *ngIf="customCSS" [innerHTML]="customCSS"></div>
- <header class="row">
- <div class="col-md-2">
- <h4 id="peertube-title">
- <a [routerLink]="['/videos/list']">PeerTube</a>
- </h4>
+<div>
+ <div class="header">
+
+ <div class="top-left-block" [ngClass]="{ 'border-bottom': isMenuDisplayed === false }">
+ <span class="icon icon-menu" (click)="toggleMenu()"></span>
+
+ <a id="peertube-title" [routerLink]="defaultRoute" title="Homepage">
+ <span class="icon icon-logo"></span>
+ <span class="instance-name">{{ instanceName }}</span>
+ </a>
+ </div>
+
+ <div class="header-right">
+ <my-header></my-header>
</div>
+ </div>
- <div class="col-md-9">
- <my-search></my-search>
+ <div class="sub-header-container">
+ <div *ngIf="isMenuDisplayed" class="title-menu-left">
+ <my-menu></my-menu>
</div>
- </header>
+ <div class="main-col container-fluid" [ngClass]="getMainColClasses()">
- <div class="row">
- <my-menu *ngIf="isInAdmin === false" (enteredInAdmin)="onEnteredInAdmin()"></my-menu>
- <my-menu-admin *ngIf="isInAdmin === true" (quittedAdmin)="onQuittedAdmin()"></my-menu-admin>
+ <div class="main-row">
+ <router-outlet></router-outlet>
+ </div>
- <div class="col-md-9 col-sm-8 col-xs-8 router-outlet-container">
- <router-outlet></router-outlet>
+ <footer class="row">
+ <a href="https://joinpeertube.org" title="PeerTube website" target="_blank" rel="noopener noreferrer">PeerTube v{{ serverVersion }}</a> -
+ <a href="https://github.com/Chocobozzz/PeerTube/blob/develop/LICENSE" title="PeerTube license" target="_blank" rel="noopener noreferrer">CopyLeft 2015-2018</a>
+ </footer>
</div>
</div>
-
-
- <footer>
- PeerTube, CopyLeft 2015-2016
- </footer>
</div>
+
+<ngx-loading-bar [includeSpinner]="false" color="#F1680D"></ngx-loading-bar>
+<my-confirm></my-confirm>
+<simple-notifications [options]="notificationOptions"></simple-notifications>