aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/app/app.component.html
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-03-14 16:51:46 +0800
committerGitHub <noreply@github.com>2019-03-14 16:51:46 +0800
commitc65db42c9ce3532509bbd0b4abfc500692cfe4d3 (patch)
tree9e6a91af019e14fa3fb40e03bf84507a98a33d4c /Timeline/ClientApp/src/app/app.component.html
parent4535d1fd30eb02b3fe60718235a0725e3b30049e (diff)
parent7b929db4fcfa34acc82885b75a573e6e4bd40465 (diff)
downloadtimeline-c65db42c9ce3532509bbd0b4abfc500692cfe4d3.tar.gz
timeline-c65db42c9ce3532509bbd0b4abfc500692cfe4d3.tar.bz2
timeline-c65db42c9ce3532509bbd0b4abfc500692cfe4d3.zip
Merge pull request #13 from crupest/auth-guard
Add auth guard.
Diffstat (limited to 'Timeline/ClientApp/src/app/app.component.html')
-rw-r--r--Timeline/ClientApp/src/app/app.component.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/Timeline/ClientApp/src/app/app.component.html b/Timeline/ClientApp/src/app/app.component.html
index a5df80ac..92c88625 100644
--- a/Timeline/ClientApp/src/app/app.component.html
+++ b/Timeline/ClientApp/src/app/app.component.html
@@ -1,12 +1,12 @@
<body>
<mat-toolbar color="primary" class="mat-elevation-z4">
<a mat-button routerLink="/">
- <img width="30" height="30" src="assets/icon.svg"> Timeline</a>
+ <img width="30" height="30" src="assets/icon.svg">Timeline</a>
<a mat-button routerLink="/todo">TodoList</a>
<span class="fill-remaining-space"></span>
- <button mat-icon-button (click)="openUserDialog()">
+ <a mat-icon-button [routerLink]="[{outlets: {user: ['login']}}]">
<mat-icon>account_circle</mat-icon>
- </button>
+ </a>
</mat-toolbar>
<div>