Vendor app Client: Maiora
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

31 lines
917 B

  1. <div class="container">
  2. <section class="form">
  3. <header> Vendor App Login </header>
  4. <div class="input-holder">
  5. <label> Username </label>
  6. <input type="text" placeholder="Enter username" [(ngModel)]="credentials.username">
  7. </div>
  8. <div class="input-holder">
  9. <label> Password </label>
  10. <input type="password" placeholder="Enter Password" [(ngModel)]="credentials.password">
  11. </div>
  12. <div class="input-holder">
  13. <label> Login Type </label>
  14. <select [(ngModel)]="credentials.login_type">
  15. <option *ngFor="let type of login_types" [value]="type"> {{ type }} </option>
  16. </select>
  17. </div>
  18. <button class="rect-button" (click)="requestAuthentication()"> Login </button>
  19. <p *ngIf="errorMessage" class="error"> {{ errorMessage }} </p>
  20. </section>
  21. </div>