diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-03-22 15:51:54 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-03-22 15:51:54 +0100 |
commit | b1794c53ac97d77a16c10ed915336f08cff1e5e3 (patch) | |
tree | 9dd64ee8316e1e60c434a7d0a6dcbace49eb4d6b /client/angular/app/app.component.html | |
parent | 13ce1d01c953f0c4fd3b1d714c016f927dc16f66 (diff) | |
download | PeerTube-b1794c53ac97d77a16c10ed915336f08cff1e5e3.tar.gz PeerTube-b1794c53ac97d77a16c10ed915336f08cff1e5e3.tar.zst PeerTube-b1794c53ac97d77a16c10ed915336f08cff1e5e3.zip |
Login in Angular : first draft
Diffstat (limited to 'client/angular/app/app.component.html')
-rw-r--r-- | client/angular/app/app.component.html | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/client/angular/app/app.component.html b/client/angular/app/app.component.html index 25911731e..647697a0a 100644 --- a/client/angular/app/app.component.html +++ b/client/angular/app/app.component.html | |||
@@ -18,6 +18,14 @@ | |||
18 | 18 | ||
19 | <menu class="col-md-2"> | 19 | <menu class="col-md-2"> |
20 | <div class="panel_block"> | 20 | <div class="panel_block"> |
21 | <div id="panel_user_login" class="panel_button"> | ||
22 | <span class="glyphicon glyphicon-user"></span> | ||
23 | <a *ngIf="!isLoggedIn" [routerLink]="['UserLogin']">Login</a> | ||
24 | <a *ngIf="isLoggedIn" (click)="logout()">Logout</a> | ||
25 | </div> | ||
26 | </div> | ||
27 | |||
28 | <div class="panel_block"> | ||
21 | <div id="panel_get_videos" class="panel_button"> | 29 | <div id="panel_get_videos" class="panel_button"> |
22 | <span class="glyphicon glyphicon-list"></span> | 30 | <span class="glyphicon glyphicon-list"></span> |
23 | <a [routerLink]="['VideosList']">Get videos</a> | 31 | <a [routerLink]="['VideosList']">Get videos</a> |
@@ -31,7 +39,7 @@ | |||
31 | 39 | ||
32 | <div class="panel_block"> | 40 | <div class="panel_block"> |
33 | <div id="panel_make_friends" class="panel_button"> | 41 | <div id="panel_make_friends" class="panel_button"> |
34 | <span class="glyphicon glyphicon-user"></span> | 42 | <span class="glyphicon glyphicon-cloud"></span> |
35 | <a (click)='makeFriends()'>Make friends</a> | 43 | <a (click)='makeFriends()'>Make friends</a> |
36 | </div> | 44 | </div> |
37 | 45 | ||