2016-03-14 08:50:19 -04:00
|
|
|
<div class="container">
|
|
|
|
|
2016-03-14 17:16:43 -04:00
|
|
|
<header class="row">
|
|
|
|
<div class="col-md-2">
|
|
|
|
<h4>PeerTube</h4>
|
|
|
|
</div>
|
|
|
|
|
2016-05-22 04:43:06 -04:00
|
|
|
<div class="col-md-9">
|
2016-05-23 03:30:18 -04:00
|
|
|
<my-search (search)="onSearch($event)"></my-search>
|
2016-03-14 17:16:43 -04:00
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
|
2016-03-14 08:50:19 -04:00
|
|
|
<div class="row">
|
|
|
|
|
2016-05-02 09:43:08 -04:00
|
|
|
<menu class="col-md-2 col-xs-3">
|
2016-03-22 10:51:54 -04:00
|
|
|
<div class="panel_block">
|
|
|
|
<div id="panel_user_login" class="panel_button">
|
|
|
|
<span class="glyphicon glyphicon-user"></span>
|
|
|
|
<a *ngIf="!isLoggedIn" [routerLink]="['UserLogin']">Login</a>
|
|
|
|
<a *ngIf="isLoggedIn" (click)="logout()">Logout</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2016-03-16 15:45:09 -04:00
|
|
|
<div class="panel_block">
|
|
|
|
<div id="panel_get_videos" class="panel_button">
|
|
|
|
<span class="glyphicon glyphicon-list"></span>
|
|
|
|
<a [routerLink]="['VideosList']">Get videos</a>
|
|
|
|
</div>
|
|
|
|
|
2016-04-08 13:58:57 -04:00
|
|
|
<div id="panel_upload_video" class="panel_button" *ngIf="isLoggedIn">
|
2016-03-16 15:45:09 -04:00
|
|
|
<span class="glyphicon glyphicon-cloud-upload"></span>
|
|
|
|
<a [routerLink]="['VideosAdd']">Upload a video</a>
|
|
|
|
</div>
|
2016-03-14 08:50:19 -04:00
|
|
|
</div>
|
|
|
|
|
2016-05-13 10:37:23 -04:00
|
|
|
<div class="panel_block" *ngIf="isLoggedIn">
|
2016-03-16 15:45:09 -04:00
|
|
|
<div id="panel_make_friends" class="panel_button">
|
2016-03-22 10:51:54 -04:00
|
|
|
<span class="glyphicon glyphicon-cloud"></span>
|
2016-03-16 15:45:09 -04:00
|
|
|
<a (click)='makeFriends()'>Make friends</a>
|
|
|
|
</div>
|
2016-03-14 08:50:19 -04:00
|
|
|
|
2016-03-16 15:45:09 -04:00
|
|
|
<div id="panel_quit_friends" class="panel_button">
|
|
|
|
<span class="glyphicon glyphicon-plane"></span>
|
|
|
|
<a (click)='quitFriends()'>Quit friends</a>
|
|
|
|
</div>
|
2016-03-14 08:50:19 -04:00
|
|
|
</div>
|
|
|
|
</menu>
|
|
|
|
|
2016-05-02 09:43:08 -04:00
|
|
|
<div class="col-md-9 col-xs-8 router_outler_container">
|
2016-03-14 08:50:19 -04:00
|
|
|
<router-outlet></router-outlet>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<footer>
|
|
|
|
PeerTube, CopyLeft 2015-2016
|
|
|
|
</footer>
|
|
|
|
</div>
|