PeerTube/client/src/app/app.component.html

42 lines
1.5 KiB
HTML
Raw Normal View History

<div *ngIf="customCSS" [innerHTML]="customCSS"></div>
<hotkeys-cheatsheet></hotkeys-cheatsheet>
2018-03-27 09:18:25 -05:00
<div [ngClass]="{ 'user-logged-in': isUserLoggedIn(), 'user-not-logged-in': !isUserLoggedIn() }">
2017-12-01 06:08:46 -06:00
<div class="header">
2017-04-26 14:22:00 -05:00
2017-12-01 02:20:19 -06:00
<div class="top-left-block" [ngClass]="{ 'border-bottom': isMenuDisplayed === false }">
2017-12-01 06:08:46 -06:00
<span class="icon icon-menu" (click)="toggleMenu()"></span>
2017-04-26 14:22:00 -05:00
<a id="peertube-title" [routerLink]="defaultRoute" title="Homepage">
2017-12-01 06:08:46 -06:00
<span class="icon icon-logo"></span>
<span class="instance-name">{{ instanceName }}</span>
2017-12-01 06:08:46 -06:00
</a>
2017-04-26 14:22:00 -05:00
</div>
<div class="header-right" [ngClass]="{ 'border-bottom': isMenuDisplayed === false }">
2017-12-05 10:46:33 -06:00
<my-header></my-header>
2017-12-01 02:20:19 -06:00
</div>
2017-04-26 14:22:00 -05:00
</div>
2017-12-01 06:08:46 -06:00
<div class="sub-header-container">
2018-06-28 06:59:48 -05:00
<my-menu *ngIf="isMenuDisplayed"></my-menu>
2016-03-14 16:16:43 -05:00
<div id="content" tabindex="-1" class="main-col container-fluid" [ngClass]="{ expanded: isMenuDisplayed === false }">
2016-03-14 16:16:43 -05:00
2017-04-21 04:06:33 -05:00
<div class="main-row">
<router-outlet></router-outlet>
</div>
2017-04-21 10:12:28 -05:00
2017-04-21 11:26:09 -05:00
<footer class="row">
2018-03-22 13:57:20 -05:00
<a href="https://joinpeertube.org" title="PeerTube website" target="_blank" rel="noopener noreferrer">PeerTube v{{ serverVersion }}</a> -
<a href="https://github.com/Chocobozzz/PeerTube/blob/develop/LICENSE" title="PeerTube license" target="_blank" rel="noopener noreferrer">CopyLeft 2015-2018</a>
2017-04-21 10:12:28 -05:00
</footer>
2016-08-23 04:45:28 -05:00
</div>
</div>
2016-03-14 07:50:19 -05:00
</div>
2017-04-21 04:06:33 -05:00
2018-09-07 15:46:11 -05:00
<ngx-loading-bar [includeSpinner]="false"></ngx-loading-bar>
2017-04-21 04:06:33 -05:00
<my-confirm></my-confirm>
<simple-notifications [options]="notificationOptions"></simple-notifications>