diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-10-02 15:39:09 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-10-02 15:39:09 +0200 |
commit | a6375e69668ea42e19531c6bc68dcd37f3f7cbd7 (patch) | |
tree | 03204a408d56311692c3528bedcf95d2455e94f2 /client/src/app/app.component.html | |
parent | 052937db8a8d282eccdbdf38d487ed8d85d3c0a7 (diff) | |
parent | c4403b29ad4db097af528a7f04eea07e0ed320d0 (diff) | |
download | PeerTube-a6375e69668ea42e19531c6bc68dcd37f3f7cbd7.tar.gz PeerTube-a6375e69668ea42e19531c6bc68dcd37f3f7cbd7.tar.zst PeerTube-a6375e69668ea42e19531c6bc68dcd37f3f7cbd7.zip |
Merge branch 'master' into webseed-merged
Diffstat (limited to 'client/src/app/app.component.html')
-rw-r--r-- | client/src/app/app.component.html | 38 |
1 files changed, 2 insertions, 36 deletions
diff --git a/client/src/app/app.component.html b/client/src/app/app.component.html index f2acffea4..04c32f596 100644 --- a/client/src/app/app.component.html +++ b/client/src/app/app.component.html | |||
@@ -14,48 +14,14 @@ | |||
14 | 14 | ||
15 | 15 | ||
16 | <div class="row"> | 16 | <div class="row"> |
17 | 17 | <my-menu *ngIf="isInAdmin() === false"></my-menu> | |
18 | <menu class="col-md-2 col-sm-3 col-xs-3"> | 18 | <my-menu-admin *ngIf="isInAdmin() === true"></my-menu-admin> |
19 | <div class="panel-block"> | ||
20 | <div id="panel-user-login" class="panel-button"> | ||
21 | <span class="hidden-xs glyphicon glyphicon-user"></span> | ||
22 | <a *ngIf="!isLoggedIn" [routerLink]="['/login']">Login</a> | ||
23 | <a *ngIf="isLoggedIn" (click)="logout()">Logout</a> | ||
24 | </div> | ||
25 | </div> | ||
26 | |||
27 | <div class="panel-block"> | ||
28 | <div id="panel-get-videos" class="panel-button"> | ||
29 | <span class="hidden-xs glyphicon glyphicon-list"></span> | ||
30 | <a [routerLink]="['/videos/list']">Get videos</a> | ||
31 | </div> | ||
32 | |||
33 | <div id="panel-upload-video" class="panel-button" *ngIf="isLoggedIn"> | ||
34 | <span class="hidden-xs glyphicon glyphicon-cloud-upload"></span> | ||
35 | <a [routerLink]="['/videos/add']">Upload a video</a> | ||
36 | </div> | ||
37 | </div> | ||
38 | |||
39 | <div class="panel-block" *ngIf="isLoggedIn"> | ||
40 | <div id="panel-make-friends" class="panel-button"> | ||
41 | <span class="hidden-xs glyphicon glyphicon-cloud"></span> | ||
42 | <a (click)='makeFriends()'>Make friends</a> | ||
43 | </div> | ||
44 | |||
45 | <div id="panel-quit-friends" class="panel-button"> | ||
46 | <span class="hidden-xs glyphicon glyphicon-plane"></span> | ||
47 | <a (click)='quitFriends()'>Quit friends</a> | ||
48 | </div> | ||
49 | </div> | ||
50 | </menu> | ||
51 | 19 | ||
52 | <div class="col-md-9 col-sm-8 col-xs-8 router-outlet-container"> | 20 | <div class="col-md-9 col-sm-8 col-xs-8 router-outlet-container"> |
53 | <router-outlet></router-outlet> | 21 | <router-outlet></router-outlet> |
54 | </div> | 22 | </div> |
55 | |||
56 | </div> | 23 | </div> |
57 | 24 | ||
58 | |||
59 | <footer> | 25 | <footer> |
60 | PeerTube, CopyLeft 2015-2016 | 26 | PeerTube, CopyLeft 2015-2016 |
61 | </footer> | 27 | </footer> |