Reorganize dashboard into subfolders
[portal/ric-dashboard.git] / dashboard / webapp-frontend / src / app / user / add-dashboard-user-dialog / add-dashboard-user-dialog.component.html
1 <!--
2   ========================LICENSE_START=================================
3   O-RAN-SC
4   %%
5   Copyright (C) 2019 AT&T Intellectual Property
6   %%
7   Licensed under the Apache License, Version 2.0 (the "License");
8   you may not use this file except in compliance with the License.
9   You may obtain a copy of the License at
10
11        http://www.apache.org/licenses/LICENSE-2.0
12
13   Unless required by applicable law or agreed to in writing, software
14   distributed under the License is distributed on an "AS IS" BASIS,
15   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16   See the License for the specific language governing permissions and
17   limitations under the License.
18   ========================LICENSE_END===================================
19 -->
20 <div mat-dialog-title>
21   Add Dashboard User
22 </div>
23
24 <form [formGroup]="addUserDialogForm" novalidate autocomplete="off">
25   <div mat-dialog-content>
26     <mat-form-field class="input-display-block">
27       <input matInput type="text" placeholder="First Name" formControlName="firstName">
28     </mat-form-field>
29     <mat-form-field class="input-display-block">
30       <input matInput type="text" placeholder="Last Name" formControlName="lastName">
31     </mat-form-field>
32   </div>
33   <div name="status">
34     <label id="request-type-radio-group-label">Status:</label>
35     <mat-radio-group aria-label="status" formControlName="status">
36       <mat-radio-button value="Active">Active</mat-radio-button>
37       <mat-radio-button value="Inactive">Inactive</mat-radio-button>
38     </mat-radio-group>
39   </div>
40   <div mat-dialog-actions class="modal-footer justify-content-center">
41     <button class="mat-raised-button" (click)="onCancel()">Cancel</button>
42     <button class="mat-raised-button mat-primary" [disabled]="!addUserDialogForm.valid" (click)="addUser(addUserDialogForm.value)" >Add</button>
43   </div>
44 </form>