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

                          
                                                                                           

                                                                

            
                               

                                                                

          


                              

        

                                        
 
                                              

                                                                                       
            
          
 
                                                          
 


                                       
 
                          

                                                                                                                             
               

          
      


                                                                             
<div class="container-fluid">
  <div class="row header">

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

    <div class="header-right">
      <my-search></my-search>
    </div>
  </div>

  <div class="row sub-header-container">
    <div class="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>

    <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>