diff options
author | 2019-11-01 16:55:03 +0530 | |
---|---|---|
committer | 2019-11-01 16:55:03 +0530 | |
commit | 7ca71ba6786fc023455cc5e8b1352551e78f5a41 (patch) | |
tree | d40ef1a1fd6e7dd52fb9b8ddcd7cf34516767aa2 /cds-ui/client/src/app/feature-modules/controller-catalog/search-catalog/search-catalog.component.html | |
parent | fecb2a6da364eb94926aaacf136991e4e17b9bb6 (diff) |
Adding Edit catalog functionality
Adding Edit and Info catalog-dialogbox
Change-Id: I497e71b836424af172ef3ed8a64bcdf96f1a5077
Issue-ID: CCSDK-813
Signed-off-by: Swapnali Shadanan Pode <sp00501638@techmahindra.com>
Diffstat (limited to 'cds-ui/client/src/app/feature-modules/controller-catalog/search-catalog/search-catalog.component.html')
-rw-r--r-- | cds-ui/client/src/app/feature-modules/controller-catalog/search-catalog/search-catalog.component.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cds-ui/client/src/app/feature-modules/controller-catalog/search-catalog/search-catalog.component.html b/cds-ui/client/src/app/feature-modules/controller-catalog/search-catalog/search-catalog.component.html index 47813829d..c8452e2ff 100644 --- a/cds-ui/client/src/app/feature-modules/controller-catalog/search-catalog/search-catalog.component.html +++ b/cds-ui/client/src/app/feature-modules/controller-catalog/search-catalog/search-catalog.component.html @@ -19,7 +19,7 @@ */--> <form class="search-form" [formGroup]="myControl"> <mat-form-field class="search-full-width"> - <input matInput type="text" [(ngModel)]="searchText" placeholder="Search Resources" formControlName="search_input"> + <input matInput type="text" [(ngModel)]="searchText" placeholder="Search Catalog" formControlName="search_input"> <button matSuffix mat-icon-button (click)="fetchCatalogByName()"> <mat-icon>search</mat-icon> </button> @@ -30,10 +30,12 @@ <div *ngFor="let option of options" style="position: relative !important;width:20% !important"> <mat-card class="example-card"> <mat-card-content class="card-content"> - {{option.modelName}} + {{option.modelName}}<br> + {{option.derivedFrom}} </mat-card-content> <mat-card-actions class="flexBox"> - <button matStepperNext mat-menu-item (click)="editInfo(option.blueprintModel.artifactName,option.blueprintModel.artifactVersion,3)">Info</button> + <button class="matStepNextBtn" matStepperNext mat-menu-item (click)="editInfo(option,'Info')">Info</button> + <button class="matStepNextBtn" matStepperNext mat-menu-item (click)="editInfo(option,'Edit')">Edit</button> </mat-card-actions> </mat-card> </div> |