aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/app.component.html
blob: 8a826e7834d45e6c2e5236a623a5cfe6fd490af5 (plain) (tree)
1
2
3
4
5
6
7
8
9
                             


                                                                                                                      

                                                                

            
                               

                                                                










                                                                             
 
                                              

                                                                                       
            
          
 
                                    
                                                      

          
                                                          
 


                                       
 
                          

                                                                                                                             
               

          
      


                                                                             
<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" (click)="toggleMenu()">
        <span class="glyphicon glyphicon-menu-hamburger"></span>
      </div>

      <div id="peertube-title">
        <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="fake-menu col-md-2 col-sm-3 col-xs-3">
    </div>

    <div class="main-col" [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>