Last change
on this file since 1f4846d was 1f4846d, checked in by Mile Jankuloski <mile.jankuloski@…>, 4 years ago |
Jwt token auth interceptors, services and guards
|
-
Property mode
set to
100644
|
File size:
801 bytes
|
Rev | Line | |
---|
[785b8bd] | 1 | <div class="wrapper">
|
---|
| 2 | <mat-card>
|
---|
| 3 | <mat-card-header><h2>Најава</h2></mat-card-header>
|
---|
| 4 | <mat-card-content>
|
---|
| 5 | <form [formGroup]="loginForm" novalidate>
|
---|
| 6 | <div class="example-container">
|
---|
| 7 | <mat-form-field>
|
---|
[1f4846d] | 8 | <input matInput placeholder="Email" [(ngModel)]="this.username" formControlName="email">
|
---|
[785b8bd] | 9 | </mat-form-field>
|
---|
| 10 |
|
---|
| 11 | <mat-form-field>
|
---|
[1f4846d] | 12 | <input matInput type="password" placeholder="Password" [(ngModel)]="this.password" formControlName="password">
|
---|
[785b8bd] | 13 | </mat-form-field>
|
---|
| 14 |
|
---|
[ee137aa] | 15 | <button [disabled]="!loginForm.valid" mat-raised-button color="primary" (click)="loginPharmacyHead()" mat-button>Најави се</button>
|
---|
[1f4846d] | 16 |
|
---|
| 17 | <div class="checkbox mb-3 text-danger" *ngIf="loginError">
|
---|
| 18 | Login failed. Please try again.
|
---|
| 19 | </div>
|
---|
[785b8bd] | 20 | </div>
|
---|
| 21 | </form>
|
---|
| 22 | </mat-card-content>
|
---|
| 23 | </mat-card>
|
---|
| 24 | </div> |
---|
Note:
See
TracBrowser
for help on using the repository browser.