Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
Grievance-Redressal-App
Commits
b49f9366
Commit
b49f9366
authored
1 year ago
by
devendra
Browse files
Options
Download
Patches
Plain Diff
Feat: Create ticket link
parent
5ebcd613
main
UAT
dashboard_integration
dev_fixes_v2
dev_issue_fixes
dev_issue_fixes_v1
development
file_upload_fixes
login_flow_integration
responsiveness_addition
revert-133-environment_configs
revert-59-dev_issue_fixes
uat-release-1.0
uat_issue_fix
user_management_integration
1 merge request
!59
Dev issue fixes
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/app/modules/auth-modules/login-page/login-page.component.html
+27
-37
...modules/auth-modules/login-page/login-page.component.html
with
27 additions
and
37 deletions
+27
-37
src/app/modules/auth-modules/login-page/login-page.component.html
+
27
−
37
View file @
b49f9366
...
...
@@ -43,52 +43,42 @@
<div
class=
"login-inputs"
*ngIf=
"isEnableOtpLogin && !isOtpForm"
>
<form
class=
"form-section"
[formGroup]=
"loginForm"
(ngSubmit)=
"getOTP()"
>
<div
class=
"first-container"
>
<h4>
Email id
</h4>
<mat-form-field
appearance=
"outline"
class=
"text-class"
>
<mat-label>
Email Id
</mat-label>
<input
matInput
placeholder=
"Enter Email"
formControlName=
"emailId"
type=
"email"
>
</mat-form-field>
</div>
<div
class=
"first-container"
>
<h4>
Email id
</h4>
<mat-form-field
appearance=
"outline"
class=
"text-class"
>
<mat-label>
Email Id
</mat-label>
<input
matInput
placeholder=
"Enter Email"
formControlName=
"emailId"
type=
"email"
>
</mat-form-field>
</div>
<div
class=
"first-container"
style=
"margin-top:6%;"
>
<button
class=
"text-class action-btns"
type=
"submit"
mat-raised-button
color=
"primary"
>
GET OTP
</button>
<h5
class=
"hint-msg"
(click)=
"navigateBackToLoginEmailPassword()"
>
Go back, login with email and password
</h5>
</div>
<div
class=
"first-container"
style=
"margin-top:6%;"
>
<button
class=
"text-class action-btns"
type=
"submit"
mat-raised-button
color=
"primary"
>
GET OTP
</button>
<h5
class=
"hint-msg"
(click)=
"navigateBackToLoginEmailPassword()"
>
Go back, login with email and password
</h5>
</div>
</form>
</form>
</div>
<!-- send otp -->
<div
class=
"login-inputs"
*ngIf=
"isEnableOtpLogin && isOtpForm"
>
<form
class=
"form-section"
[formGroup]=
"otpForm"
(ngSubmit)=
"SubmitOTP()"
>
<div
class=
"first-container"
>
<h4>
OTP
</h4>
<mat-form-field
appearance=
"outline"
class=
"text-class"
>
<mat-label>
OTP
</mat-label>
<input
matInput
placeholder=
"0 - 0 - 0 - 0 - 0 - 0"
formControlName=
"otp"
>
<mat-hint
style=
"color: gray;"
>
Enter the 6 digit OTP sent to your email address
</mat-hint>
</mat-form-field>
</div>
<div
class=
"first-container"
style=
"margin-top:6%;"
>
<button
class=
"text-class action-btns"
[disabled]=
"!otpForm.valid"
type=
"submit"
mat-raised-button
color=
"primary"
>
SIGN IN
</button>
<h5
class=
"hint-msg"
(click)=
"navigateBackToEmail()"
>
Go back, re-enter the email
</h5>
</div>
</form>
</div>
<form
class=
"form-section"
[formGroup]=
"otpForm"
(ngSubmit)=
"SubmitOTP()"
>
<div
class=
"first-container"
>
<h4>
OTP
</h4>
<mat-form-field
appearance=
"outline"
class=
"text-class"
>
<mat-label>
OTP
</mat-label>
<input
matInput
placeholder=
"0 - 0 - 0 - 0 - 0 - 0"
formControlName=
"otp"
>
<mat-hint
style=
"color: gray;"
>
Enter the 6 digit OTP sent to your email address
</mat-hint>
</mat-form-field>
</div>
<div
class=
"first-container"
>
<div
class=
"my2"
>
OR
</div>
<h5
class=
"hint-msg"
(click)=
"navigateToGrievanceRaiserPage()"
>
Create Grievance
</h5>
<div
class=
"first-container"
style=
"margin-top:6%;"
>
<button
class=
"text-class action-btns"
[disabled]=
"!otpForm.valid"
type=
"submit"
mat-raised-button
color=
"primary"
>
SIGN IN
</button>
<h5
class=
"hint-msg"
(click)=
"navigateBackToEmail()"
>
Go back, re-enter the email
</h5>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets