]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/app.component.html
Implement header design
[github/Chocobozzz/PeerTube.git] / client / src / app / app.component.html
1 <div>
2 <div class="header">
3
4 <div class="top-left-block" [ngClass]="{ 'border-bottom': isMenuDisplayed === false }">
5 <span class="icon icon-menu" (click)="toggleMenu()"></span>
6
7 <a id="peertube-title" [routerLink]="['/videos/list']" title="Homepage">
8 <span class="icon icon-logo"></span>
9 PeerTube
10 </a>
11 </div>
12
13 <div class="header-right">
14 <my-search></my-search>
15 </div>
16 </div>
17
18 <div class="sub-header-container">
19 <div class="title-menu-left">
20
21 <div class="title-menu-left-block menu">
22 <my-menu *ngIf="isMenuDisplayed && isInAdmin() === false"></my-menu>
23 <my-menu-admin *ngIf="isMenuDisplayed && isInAdmin() === true"></my-menu-admin>
24 </div>
25 </div>
26
27 <div class="main-col container-fluid" [ngClass]="getMainColClasses()">
28
29 <div class="main-row">
30 <router-outlet></router-outlet>
31 </div>
32
33 <footer class="row">
34 <a href="https://github.com/Chocobozzz/PeerTube" title="PeerTube on Github">PeerTube</a> -
35 <a href="https://github.com/Chocobozzz/PeerTube/blob/develop/LICENSE" title="PeerTube licence">CopyLeft 2015-2017</a>
36 </footer>
37 </div>
38 </div>
39 </div>
40
41 <my-confirm></my-confirm>
42 <simple-notifications [options]="notificationOptions"></simple-notifications>