| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame^] | 1 | <!-- |
| 2 | Copyright 2020 TATA ELXSI |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the 'License'); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | |
| 16 | Author: KUMARAN M (kumaran.m@tataelxsi.co.in), RAJESH S (rajesh.s@tataelxsi.co.in), BARATH KUMAR R (barath.r@tataelxsi.co.in) |
| 17 | --> |
| 18 | <div class="login-container"> |
| 19 | <div class="wrap-login"> |
| 20 | <div class="login-logo"> |
| 21 | <img src="assets/images/logo.png" alt="Logo"> |
| 22 | </div> |
| 23 | <form [formGroup]="loginForm" (ngSubmit)="onSubmit()" class="login-form" autocomplete="off"> |
| 24 | <div class="wrap-input"> |
| 25 | <input autocomplete="off" class="input-control" type="text" formControlName="userName" placeholder="{{ 'PAGE.LOGIN.USERNAME' | translate }}" |
| 26 | /> |
| 27 | <span class="input-icon"> |
| 28 | <i class="fa fa-user" aria-hidden="true"></i> |
| 29 | </span> |
| 30 | </div> |
| 31 | <div *ngIf="submitted && loginForm.controls['userName'].errors" class="input-validation-msg"> |
| 32 | <div *ngIf="loginForm.controls['userName'].errors.required">{{'PAGE.LOGIN.USERNAMEVALIDMESSAGE' | translate}}</div> |
| 33 | </div> |
| 34 | <div class="wrap-input"> |
| 35 | <input autocomplete="off" class="input-control" type="password" formControlName="password" placeholder="{{ 'PAGE.LOGIN.PASSWORD' | translate }}" |
| 36 | /> |
| 37 | <span class="input-icon"> |
| 38 | <i class="fa fa-lock" aria-hidden="true"></i> |
| 39 | </span> |
| 40 | </div> |
| 41 | <div *ngIf="submitted && loginForm.controls['password'].errors" class="input-validation-msg"> |
| 42 | <div *ngIf="loginForm.controls['password'].errors.required">{{'PAGE.LOGIN.PASSWORDVALIDMESSAGE' | translate}}</div> |
| 43 | </div> |
| 44 | <button type="submit" class="submit-btn"> |
| 45 | <i class="fa fa-arrow-right" aria-hidden="true"></i> |
| 46 | </button> |
| 47 | <div class="signup-text-center"> |
| 48 | <span class="caret">{{'PAGE.LOGIN.SIGNINMSG' | translate}}</span> |
| 49 | </div> |
| 50 | |
| 51 | </form> |
| 52 | </div> |
| 53 | </div> |
| 54 | <app-loader [waitingMessage]="message" *ngIf="isLoadingResults"></app-loader> |
| 55 | <div class="login-footer"> |
| 56 | <a href="https://osm.etsi.org" target="_blank">{{'OSMSOURCEMANO' | translate}} {{sharedService.osmVersion}}</a> |
| 57 | </div> |