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

40 lines
1.4 KiB
HTML
Raw Normal View History

<div *ngIf="customCSS" [innerHTML]="customCSS"></div>
2018-03-27 16:18:25 +02:00
<div [ngClass]="{ 'user-logged-in': isUserLoggedIn(), 'user-not-logged-in': !isUserLoggedIn() }">
2017-12-01 13:08:46 +01:00
<div class="header">
2017-04-26 21:22:00 +02:00
2017-12-01 09:20:19 +01:00
<div class="top-left-block" [ngClass]="{ 'border-bottom': isMenuDisplayed === false }">
2017-12-01 13:08:46 +01:00
<span class="icon icon-menu" (click)="toggleMenu()"></span>
2017-04-26 21:22:00 +02:00
<a id="peertube-title" [routerLink]="defaultRoute" title="Homepage">
2017-12-01 13:08:46 +01:00
<span class="icon icon-logo"></span>
<span class="instance-name">{{ instanceName }}</span>
2017-12-01 13:08:46 +01:00
</a>
2017-04-26 21:22:00 +02:00
</div>
2017-12-01 09:20:19 +01:00
<div class="header-right">
2017-12-05 17:46:33 +01:00
<my-header></my-header>
2017-12-01 09:20:19 +01:00
</div>
2017-04-26 21:22:00 +02:00
</div>
2017-12-01 13:08:46 +01:00
<div class="sub-header-container">
2018-06-28 13:59:48 +02:00
<my-menu *ngIf="isMenuDisplayed"></my-menu>
2016-03-14 22:16:43 +01:00
2018-05-22 09:42:05 +02:00
<div class="main-col container-fluid" [ngClass]="{ expanded: isMenuDisplayed === false }">
2016-03-14 22:16:43 +01:00
2017-04-21 11:06:33 +02:00
<div class="main-row">
<router-outlet></router-outlet>
</div>
2017-04-21 17:12:28 +02:00
2017-04-21 18:26:09 +02:00
<footer class="row">
2018-03-22 19:57:20 +01: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 17:12:28 +02:00
</footer>
2016-08-23 11:45:28 +02:00
</div>
</div>
2016-03-14 13:50:19 +01:00
</div>
2017-04-21 11:06:33 +02:00
2017-12-12 14:57:46 +01:00
<ngx-loading-bar [includeSpinner]="false" color="#F1680D"></ngx-loading-bar>
2017-04-21 11:06:33 +02:00
<my-confirm></my-confirm>
<simple-notifications [options]="notificationOptions"></simple-notifications>