aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/app.component.html
blob: a1e38cdb1016c78ad575df936959e843da2d3fa7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<div class="container-fluid">
  <div class="row header">

    <div class="col-md-2 col-sm-3 col-xs-3 top-left-block" [ngClass]="{ 'border-bottom': isMenuDisplayed === false }">
      <div class="hamburger-block">
        <span (click)="toggleMenu()" class="glyphicon glyphicon-menu-hamburger"></span>
      </div>

      <div id="peertube-title" class="title-menu-left-block header">
        <a [routerLink]="['/videos/list']" title="Homepage"></a>
      </div>
    </div>

    <!-- Used for the fixed title -->
    <div class="col-md-2 col-sm-3 col-xs-3 fake-title-block"></div>

    <!-- We need to reset col-md-* because my-search is in fixed position -->
    <my-search class="col-md-10 col-sm-9 col-xs-9"></my-search>
  </div>

  <div class="row">
    <div class="col-md-2 col-sm-3 col-xs-3 title-menu-left">

      <div class="title-menu-left-block menu">
        <my-menu *ngIf="isMenuDisplayed && isInAdmin() === false"></my-menu>
        <my-menu-admin *ngIf="isMenuDisplayed && isInAdmin() === true"></my-menu-admin>
      </div>
    </div>

    <!-- Used for the fixed menu -->
    <div class="col-md-2 col-sm-3 col-xs-3">
    </div>

    <div [ngClass]="getMainColClasses()">

      <div class="main-row">
        <router-outlet></router-outlet>
      </div>

      <footer class="row">
        <a href="https://github.com/Chocobozzz/PeerTube" title="PeerTube on Github">PeerTube</a> -
        <a href="https://github.com/Chocobozzz/PeerTube/blob/develop/LICENSE" title="PeerTube licence">CopyLeft 2015-2017</a>
      </footer>
    </div>
  </div>
</div>

<my-confirm></my-confirm>
<simple-notifications [options]="notificationOptions"></simple-notifications>