aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/login/login.component.html
diff options
context:
space:
mode:
authorGunther6070 <haydenhartman10@yahoo.com>2025-03-15 23:19:56 -0400
committerGunther6070 <haydenhartman10@yahoo.com>2025-03-15 23:19:56 -0400
commit47501b0d9765e64eba370ba80bbc7b2cd5940170 (patch)
treeabeda89cd86423119d5a895aa4240de83a974da5 /ufund-ui/src/app/components/login/login.component.html
parent28e46060c8bcf7fd2adc19793bd63e27df4e7356 (diff)
parentd97d4d430113088c4f52f53c040d8705c66b410e (diff)
downloadJellySolutions-47501b0d9765e64eba370ba80bbc7b2cd5940170.tar.gz
JellySolutions-47501b0d9765e64eba370ba80bbc7b2cd5940170.tar.bz2
JellySolutions-47501b0d9765e64eba370ba80bbc7b2cd5940170.zip
Merge branch 'api-auth' of https://github.com/RIT-SWEN-261-02/team-project-2245-swen-261-02-2b into api-auth
Diffstat (limited to 'ufund-ui/src/app/components/login/login.component.html')
-rw-r--r--ufund-ui/src/app/components/login/login.component.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/ufund-ui/src/app/components/login/login.component.html b/ufund-ui/src/app/components/login/login.component.html
index 178ddbf..2cdb6d0 100644
--- a/ufund-ui/src/app/components/login/login.component.html
+++ b/ufund-ui/src/app/components/login/login.component.html
@@ -1,5 +1,7 @@
+<span *ngIf="next" style="color: red">You must be logged in to view this page</span>
<p>Login:</p>
<input placeholder="Username" type="text" #username>
<input placeholder="Password" type="password" #password>
<button type="button" (click)="login(username.value, password.value)">Login</button>
-<button type="button">Create Account...</button>
+<button type="button" (click)="signup(username.value, password.value)">Create Account</button>
+<span *ngIf="statusText">{{statusText | async}}</span>