069583e27b04326563e566730f5010f950accd13
[appc/cdt.git] / src / app / vnfs / userlogin-form / userlogin-form.component.html
1 <!--
2 ============LICENSE_START==========================================
3 ===================================================================
4 Copyright (C) 2018-2020 AT&T Intellectual Property. All rights reserved.
5 ===================================================================
6
7 Unless otherwise specified, all software contained herein is licensed
8 under the Apache License, Version 2.0 (the License);
9 you may not use this software except in compliance with the License.
10 You may obtain a copy of the License at
11
12     http://www.apache.org/licenses/LICENSE-2.0
13
14 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19
20 ============LICENSE_END============================================
21 -->
22
23 <div class="container">
24     <div class="row">
25         <div class="col-lg-4 col-md-4 hidden-sm-down">
26         </div>
27         <div class="card">
28             <div class="mdl-dialog__content">
29                 <form #userForm="ngForm" (ngSubmit)="getData()">
30                     <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
31                         <input placeholder="Enter user Id" class="mdl-textfield__input" id="userId" required
32                                [(ngModel)]="userId" name="userId" value="" #user="ngModel" (ngModelChange)="validateUserName()">
33                             <span class="error-message">{{errorMessage}}</span>  
34                     </div>
35                     <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
36                         <input type="password" placeholder="Enter password" class="mdl-textfield__input" id="password" required
37                                [(ngModel)]="password" name="password" value="" (ngModelChange)="validatePassword()" >  
38                     </div>
39                     
40                     <div class="form-group text-right">
41                         <button type="submit" [disabled]="invalid"
42                                 class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--primary">
43                             Submit
44                         </button>
45                     </div>
46                 </form>
47             </div>
48         </div>
49     </div>
50 </div>