1
0
Fork 0
peertube/client/src/app/app.component.html

42 lines
1.6 KiB
HTML
Raw Normal View History

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