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

                      
 
                                                                                           
                                                                 
 



                                                                              

          
                              
                             
          

        
                                    

                                                         
          
 
                                                                          
 


                                       
 
                          
                                                                                                                       
                                                                                                                             
               

          
      
 
                                                                            

                                                                             
<div>
  <div class="header">

    <div class="top-left-block" [ngClass]="{ 'border-bottom': isMenuDisplayed === false }">
      <span class="icon icon-menu" (click)="toggleMenu()"></span>

      <a id="peertube-title" [routerLink]="['/videos/list']" title="Homepage">
        <span class="icon icon-logo"></span>
        PeerTube
      </a>
    </div>

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

  <div class="sub-header-container">
    <div *ngIf="isMenuDisplayed" class="title-menu-left">
        <my-menu></my-menu>
    </div>

    <div class="main-col container-fluid" [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 v{{ serverVersion }}</a> -
        <a href="https://github.com/Chocobozzz/PeerTube/blob/develop/LICENSE" title="PeerTube licence">CopyLeft 2015-2017</a>
      </footer>
    </div>
  </div>
</div>

<ngx-loading-bar [includeSpinner]="false" color="#F1680D"></ngx-loading-bar>
<my-confirm></my-confirm>
<simple-notifications [options]="notificationOptions"></simple-notifications>