aboutsummaryrefslogtreecommitdiffstats
path: root/cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-from-database
diff options
context:
space:
mode:
authorEzhilarasi <ezhrajam@in.ibm.com>2019-08-14 23:21:25 +0530
committerEzhilarasi <ezhrajam@in.ibm.com>2019-08-14 23:21:31 +0530
commit70ba6f90237051b5e8ed2b26d8555f1b2a358ca0 (patch)
tree31416183437279a54410d5ae1bef4a632714e724 /cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-from-database
parent615b5e183723bba51e0b3c134c7b5b954f99cac0 (diff)
Search Template code change
Added parameter in Search DB template and removed unused code in search template Change-Id: I77436e8d592876affab4b74c3883d4c03fcdf279 Issue-ID: CCSDK-1275 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
Diffstat (limited to 'cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-from-database')
-rw-r--r--cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-from-database/search-from-database.component.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-from-database/search-from-database.component.html b/cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-from-database/search-from-database.component.html
index 6683dba59..648271028 100644
--- a/cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-from-database/search-from-database.component.html
+++ b/cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-from-database/search-from-database.component.html
@@ -20,8 +20,8 @@ limitations under the License.
-->
<form class="search-form" [formGroup]="myControl">
<mat-form-field class="search-full-width">
- <input #resourceSelect type="text" [(ngModel)]="searchText" placeholder="Search Resources" matInput [matAutocomplete]="auto" formControlName="search_input">
- <!-- <input #resourceSelect type="text" [(ngModel)]="searchText" placeholder="Search Resources" formControlName="search_input"> -->
+ <!-- <input #resourceSelect type="text" [(ngModel)]="searchText" placeholder="Search Resources" matInput [matAutocomplete]="auto" formControlName="search_input"> -->
+ <input matInput type="text" [(ngModel)]="searchText" placeholder="Search Resources" formControlName="search_input">
<button matSuffix mat-icon-button (click)="fetchResourceByName()">
<mat-icon>search</mat-icon>
</button>
@@ -41,9 +41,9 @@ limitations under the License.
<br>{{option.blueprintModel.updatedBy}}
</mat-card-content>
<mat-card-actions class="flexBox">
- <button mat-menu-item (click)="editCBA(option.blueprintModel.artifactName,edit)">Edit</button>
- <button mat-menu-item (click)="editCBA(option.blueprintModel.artifactName,clone)">Clone</button>
- <button mat-menu-item (click)="editCBA(option.blueprintModel.artifactName,info)">Info</button>
+ <button matStepperNext mat-menu-item (click)="editCBA(option.blueprintModel.artifactName,option.blueprintModel.artifactVersion,edit)">Edit</button>
+ <button matStepperNext mat-menu-item (click)="editCBA(option.blueprintModel.artifactName,option.blueprintModel.artifactVersion,clone)">Clone</button>
+ <button matStepperNext mat-menu-item (click)="editCBA(option.blueprintModel.artifactName,option.blueprintModel.artifactVersion,info)">Info</button>
</mat-card-actions>
</mat-card>
</div>