diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-08-05 18:04:08 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-08-05 18:04:08 +0200 |
commit | 629d8d6f70cf83b55011dff53bfe1c4a95ac3433 (patch) | |
tree | 9d5a145609d9c693ddacfbc42ae75ca3c841aef0 /client/src/app/app.component.html | |
parent | 99a64bfed25e45547df3045cf249bc895e6f220b (diff) | |
download | PeerTube-629d8d6f70cf83b55011dff53bfe1c4a95ac3433.tar.gz PeerTube-629d8d6f70cf83b55011dff53bfe1c4a95ac3433.tar.zst PeerTube-629d8d6f70cf83b55011dff53bfe1c4a95ac3433.zip |
Client: implement password change
Diffstat (limited to 'client/src/app/app.component.html')
-rw-r--r-- | client/src/app/app.component.html | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/client/src/app/app.component.html b/client/src/app/app.component.html index f2acffea4..ea4b31421 100644 --- a/client/src/app/app.component.html +++ b/client/src/app/app.component.html | |||
@@ -18,9 +18,20 @@ | |||
18 | <menu class="col-md-2 col-sm-3 col-xs-3"> | 18 | <menu class="col-md-2 col-sm-3 col-xs-3"> |
19 | <div class="panel-block"> | 19 | <div class="panel-block"> |
20 | <div id="panel-user-login" class="panel-button"> | 20 | <div id="panel-user-login" class="panel-button"> |
21 | <span *ngIf="!isLoggedIn" > | ||
22 | <span class="hidden-xs glyphicon glyphicon-log-in"></span> | ||
23 | <a [routerLink]="['/login']">Login</a> | ||
24 | </span> | ||
25 | |||
26 | <span *ngIf="isLoggedIn"> | ||
27 | <span class="hidden-xs glyphicon glyphicon-log-out"></span> | ||
28 | <a *ngIf="isLoggedIn" (click)="logout()">Logout</a> | ||
29 | </span> | ||
30 | </div> | ||
31 | |||
32 | <div *ngIf="isLoggedIn" id="panel-user-account" class="panel-button"> | ||
21 | <span class="hidden-xs glyphicon glyphicon-user"></span> | 33 | <span class="hidden-xs glyphicon glyphicon-user"></span> |
22 | <a *ngIf="!isLoggedIn" [routerLink]="['/login']">Login</a> | 34 | <a [routerLink]="['/account']">My account</a> |
23 | <a *ngIf="isLoggedIn" (click)="logout()">Logout</a> | ||
24 | </div> | 35 | </div> |
25 | </div> | 36 | </div> |
26 | 37 | ||