aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/signup/signup.component.html
diff options
context:
space:
mode:
Diffstat (limited to 'ufund-ui/src/app/components/signup/signup.component.html')
-rw-r--r--ufund-ui/src/app/components/signup/signup.component.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/ufund-ui/src/app/components/signup/signup.component.html b/ufund-ui/src/app/components/signup/signup.component.html
new file mode 100644
index 0000000..742b8cf
--- /dev/null
+++ b/ufund-ui/src/app/components/signup/signup.component.html
@@ -0,0 +1,7 @@
+<p>Signup:</p>
+<input placeholder="Username" type="text" #username>
+<input placeholder="Password" type="password" (input)="checkPasswordStrength(password.value)" #password>
+<button type="button" (click)="signup(username.value, password.value)">Create Account</button>
+<span *ngIf="statusText">{{statusText | async}}</span>
+<span *ngIf="strength">{{strength | async}}</span>
+<span *ngIf="showSuccessMessage | async">Account created <a routerLink="/login">Proceed to login</a></span>