]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/app.component.html
Client: add ability to hide left menu
[github/Chocobozzz/PeerTube.git] / client / src / app / app.component.html
CommitLineData
383bfc83 1<div class="container-fluid">
67167390
C
2 <div class="row header">
3
4 <div class="col-md-2 col-sm-3 col-xs-3 top-left-block" [ngClass]="{ 'border-bottom': isMenuDisplayed === false }">
5 <div class="hamburger-block">
6 <span (click)="toggleMenu()" class="glyphicon glyphicon-menu-hamburger"></span>
7 </div>
8
d7c152a4
C
9 <div id="peertube-title" class="title-menu-left-block header">
10 <a [routerLink]="['/videos/list']" title="Homepage"></a>
11 </div>
67167390
C
12 </div>
13
14 <!-- Used for the fixed title -->
15 <div class="col-md-2 col-sm-3 col-xs-3 fake-title-block"></div>
16
17 <!-- We need to reset col-md-* because my-search is in fixed position -->
18 <my-search class="col-md-10 col-sm-9 col-xs-9"></my-search>
19 </div>
20
21 <div class="row">
22 <div class="col-md-2 col-sm-3 col-xs-3 title-menu-left">
98b01bac 23
383bfc83 24 <div class="title-menu-left-block menu">
67167390
C
25 <my-menu *ngIf="isMenuDisplayed && isInAdmin() === false"></my-menu>
26 <my-menu-admin *ngIf="isMenuDisplayed && isInAdmin() === true"></my-menu-admin>
383bfc83 27 </div>
98b01bac 28 </div>
98b01bac 29
ea9f487b
C
30 <!-- Used for the fixed menu -->
31 <div class="col-md-2 col-sm-3 col-xs-3">
32 </div>
33
67167390 34 <div [ngClass]="getMainColClasses()">
98b01bac 35
383bfc83
C
36 <div class="main-row">
37 <router-outlet></router-outlet>
38 </div>
ea9f487b 39
897ec54d 40 <footer class="row">
d1a00ddb
C
41 <a href="https://github.com/Chocobozzz/PeerTube" title="PeerTube on Github">PeerTube</a> -
42 <a href="https://github.com/Chocobozzz/PeerTube/blob/develop/LICENSE" title="PeerTube licence">CopyLeft 2015-2017</a>
ea9f487b 43 </footer>
52672600
C
44 </div>
45 </div>
dc8bc31b 46</div>
383bfc83
C
47
48<my-confirm></my-confirm>
49<simple-notifications [options]="notificationOptions"></simple-notifications>