aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/app.component.html
blob: 3f946d581b82d8ad2318236d636cdde20897ef40 (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
<div class="container-fluid">
  <div class="row">
    <div class="col-md-2 col-sm-3 col-xs-3 title-menu-left">
      <h4 id="peertube-title" class="title-menu-left-block header">
        <a [routerLink]="['/videos/list']">PeerTube</a>
      </h4>

      <div class="title-menu-left-block menu">
        <my-menu *ngIf="isInAdmin() === false"></my-menu>
        <my-menu-admin *ngIf="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 class="col-md-10 col-sm-9 col-xs-9 main-col">
      <div class="row header">
        <!-- 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="main-row">
        <router-outlet></router-outlet>
      </div>

      <footer class="row">
        PeerTube, CopyLeft 2015-2017
      </footer>
    </div>
  </div>
</div>

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