]>
Commit | Line | Data |
---|---|---|
dc8bc31b C |
1 | <div class="container"> |
2 | ||
98b01bac C |
3 | <header class="row"> |
4 | <div class="col-md-2"> | |
798442f6 C |
5 | <h4 id="peertube-title"> |
6 | <a [routerLink]="['/videos/list']">PeerTube</a> | |
7 | </h4> | |
98b01bac C |
8 | </div> |
9 | ||
32294074 | 10 | <div class="col-md-9"> |
bddab65a | 11 | <my-search></my-search> |
98b01bac C |
12 | </div> |
13 | </header> | |
14 | ||
15 | ||
dc8bc31b C |
16 | <div class="row"> |
17 | ||
a64668c0 | 18 | <menu class="col-md-2 col-sm-3 col-xs-3"> |
00a44645 C |
19 | <div class="panel-block"> |
20 | <div id="panel-user-login" class="panel-button"> | |
a64668c0 | 21 | <span class="hidden-xs glyphicon glyphicon-user"></span> |
0629423c | 22 | <a *ngIf="!isLoggedIn" [routerLink]="['/login']">Login</a> |
b1794c53 C |
23 | <a *ngIf="isLoggedIn" (click)="logout()">Logout</a> |
24 | </div> | |
25 | </div> | |
26 | ||
00a44645 C |
27 | <div class="panel-block"> |
28 | <div id="panel-get-videos" class="panel-button"> | |
a64668c0 | 29 | <span class="hidden-xs glyphicon glyphicon-list"></span> |
00a44645 | 30 | <a [routerLink]="['/videos/list']">Get videos</a> |
a0382b70 C |
31 | </div> |
32 | ||
00a44645 | 33 | <div id="panel-upload-video" class="panel-button" *ngIf="isLoggedIn"> |
a64668c0 | 34 | <span class="hidden-xs glyphicon glyphicon-cloud-upload"></span> |
00a44645 | 35 | <a [routerLink]="['/videos/add']">Upload a video</a> |
a0382b70 | 36 | </div> |
dc8bc31b C |
37 | </div> |
38 | ||
00a44645 C |
39 | <div class="panel-block" *ngIf="isLoggedIn"> |
40 | <div id="panel-make-friends" class="panel-button"> | |
a64668c0 | 41 | <span class="hidden-xs glyphicon glyphicon-cloud"></span> |
a0382b70 C |
42 | <a (click)='makeFriends()'>Make friends</a> |
43 | </div> | |
dc8bc31b | 44 | |
00a44645 | 45 | <div id="panel-quit-friends" class="panel-button"> |
a64668c0 | 46 | <span class="hidden-xs glyphicon glyphicon-plane"></span> |
a0382b70 C |
47 | <a (click)='quitFriends()'>Quit friends</a> |
48 | </div> | |
dc8bc31b C |
49 | </div> |
50 | </menu> | |
51 | ||
a64668c0 | 52 | <div class="col-md-9 col-sm-8 col-xs-8 router-outlet-container"> |
dc8bc31b C |
53 | <router-outlet></router-outlet> |
54 | </div> | |
55 | ||
56 | </div> | |
57 | ||
58 | ||
59 | <footer> | |
60 | PeerTube, CopyLeft 2015-2016 | |
61 | </footer> | |
62 | </div> |