Commit b49f9366 authored by devendra's avatar devendra
Browse files

Feat: Create ticket link

Showing with 27 additions and 37 deletions
+27 -37
......@@ -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>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment