diff options
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 | ||