ca4a679ede92636d58e48e989b8a664dab60625a
[ccsdk/cds.git] /
1 <!--/*
2 * ============LICENSE_START=======================================================
3 * ONAP : CDS
4 * ================================================================================
5 * Copyright (C) 2019 TechMahindra
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
21 <div>
22   <h1 mat-dialog-title>Details</h1>
23   <mat-dialog-content [formGroup]="CatalogFormData">
24   <mat-form-field class="form-field">
25    <input matInput placeholder="Model Name" formControlName="Model_Name">
26   </mat-form-field>
27   <mat-form-field class="form-field" >
28         <input matInput placeholder="User Id" formControlName="User_id">
29   </mat-form-field>
30   <mat-form-field class="form-field">
31    <input matInput placeholder="Tags" formControlName="_tags">
32   </mat-form-field>
33   <mat-form-field class="form-field">
34    <!-- <mat-select matInput placeholder="Definition Type" formControlName="_type">
35      <mat-option [value]="item" *ngFor="let item of definitionType">{{item.definitionType}}</mat-option>
36    </mat-select> -->
37    <input matInput placeholder="Definition Type" formControlName="_type">
38   </mat-form-field>
39   <mat-form-field class="form-field" >
40    <!-- <mat-select matInput placeholder="Derived From" formControlName="Derived_From">
41     <mat-option [value]="item" *ngFor="let item of derivedFrom">{{item.derivedFrom}}</mat-option>
42    </mat-select> -->
43    <input matInput placeholder="Derived From" formControlName="Derived_From">
44   </mat-form-field>
45   <br>
46   </mat-dialog-content>
47   <mat-dialog-actions *ngIf="!isDisabled">
48     <button mat-button (click)="onNoClick()">Cancel</button>
49     <button mat-button (click)="onClickSave()">Save</button>
50   </mat-dialog-actions>
51   <mat-dialog-actions *ngIf="isDisabled">
52     <button mat-button (click)="onNoClick()">Close</button>
53   </mat-dialog-actions>
54 </div>