aboutsummaryrefslogtreecommitdiffstats
path: root/cds-ui/designer-client/src/app/modules/feature-modules/packages
diff options
context:
space:
mode:
authorSarah Abouzainah <sabouzainah.ext@orange.com>2020-09-28 15:52:12 +0200
committerSarah Abouzainah <sabouzainah.ext@orange.com>2020-09-28 15:52:12 +0200
commit4218584b7cbfb512179735130bf0559028faea18 (patch)
tree18a4630740e1673e7651a1e058ce0abc3d33ea52 /cds-ui/designer-client/src/app/modules/feature-modules/packages
parentac3b1df26165a1a1567313da4ac762cbf7e4dc70 (diff)
Add edit buttons in mapping table
Issue-ID: CCSDK-2795 Signed-off-by: Sarah Abouzainah <sabouzainah.ext@orange.com> Change-Id: Ife3dc443881f4853dfbed969b5f6594358e94174
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages')
-rw-r--r--cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/templ-mapp-creation/templ-mapp-creation.component.html20
1 files changed, 18 insertions, 2 deletions
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/templ-mapp-creation/templ-mapp-creation.component.html b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/templ-mapp-creation/templ-mapp-creation.component.html
index 4566f34d7..34644c42c 100644
--- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/templ-mapp-creation/templ-mapp-creation.component.html
+++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/templ-mapp-creation/templ-mapp-creation.component.html
@@ -123,8 +123,18 @@
</div>
+
</div>
+
<div id="mapping-table" [hidden]="resourceDictionaryRes?.length == 0" class="mapping-table mx-4 my-2">
+ <div class="btn-group mapping-editBar" role="group">
+ <div class="custom-control custom-checkbox" tooltip="Select All" placement="bottom">
+ <input type="checkbox" class="custom-control-input" id="customCheck1" checked>
+ <label class="custom-control-label" for="customCheck1"></label>
+ </div>
+ <button type="button" class="btn" tooltip="Re-mapping" placement="bottom"><i class="icon-autoMap"></i></button>
+ <button type="button" class="btn" tooltip="Remove" placement="bottom"><i class="icon-delete-sm"></i></button>
+ </div>
<table datatable [dtOptions]="initDtOptions" [dtTrigger]="dtTrigger" class="row-border hover">
<thead>
<tr>
@@ -141,8 +151,14 @@
</thead>
<tbody>
<tr *ngFor="let dict of resourceDictionaryRes">
- <td><input type="checkbox" [checked]="selectedProps.has(dict.name)"
- (click)="selectProp(dict.name)"></td>
+ <td>
+ <div class="custom-control custom-checkbox" tooltip="Select" placement="bottom">
+ <input type="checkbox" class="custom-control-input" id="customCheck2" [checked]="selectedProps.has(dict.name)"
+ (click)="selectProp(dict.name)">
+ <label class="custom-control-label" for="customCheck2"></label>
+ </div>
+ <!-- <input type="checkbox" [checked]="selectedProps.has(dict.name)"
+ (click)="selectProp(dict.name)"></td> -->
<td>
<img *ngIf="dict.definition?.property?.required"
src="/assets/img/icon-required-yes.svg">