diff options
author | 2020-10-12 21:50:39 +0200 | |
---|---|---|
committer | 2020-10-12 21:50:39 +0200 | |
commit | 5501a632e3baace1bc4949784859cc8a8e03a7d5 (patch) | |
tree | b2f38bd5523f8137489cad4bf149b3e00357b37b /cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/functions-attribute/functions-attribute.component.html | |
parent | feaa237cda579079b40f3014634387bf493cc2da (diff) |
add required input&outputs
Issue-ID: CCSDK-2900
Signed-off-by: Ahmedeldeeb50 <ahmed.eldeeb.ext@orange.com>
Change-Id: Ie2fec9bf88df04c8341feb80935796f469101e45
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/functions-attribute/functions-attribute.component.html')
-rw-r--r-- | cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/functions-attribute/functions-attribute.component.html | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/functions-attribute/functions-attribute.component.html b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/functions-attribute/functions-attribute.component.html index 23633017d..c0c7ece98 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/functions-attribute/functions-attribute.component.html +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/functions-attribute/functions-attribute.component.html @@ -68,23 +68,24 @@ aria-hidden="true"></i> Select Template</button> </div> <!--string--> - <div class="attribute-wrap"> + <div class="attribute-wrap" *ngFor="let requiredInput of requiredInputs"> <div class="form-group"> - <label for="exampleInputEmail1">resoluton-key <i class="icon-required-star" - type="button" aria-hidden="true"></i></label> + <label for="exampleInputEmail1">{{ getObjectKey(requiredInput)[0] }}<i + class="icon-required-star" type="button" + aria-hidden="true"></i></label> <input type="text" class="form-control"> </div> </div> <!--integer--> - <div class="attribute-wrap"> + <!-- <div class="attribute-wrap"> <div class="form-group"> <label for="exampleInputEmail1">request-id <i class="icon-required-star" type="button" aria-hidden="true"></i></label> <input type="number" class="form-control" placeholder="" value="356"> </div> - </div> + </div> --> <!--boolean--> - <div class="attribute-wrap"> + <!-- <div class="attribute-wrap"> <div class="form-group"> <label for="exampleFormControlTextarea1">resolution-summary <i class="icon-required-star optional-attribute" type="button" @@ -100,20 +101,29 @@ class="custom-control-input"> <label class="custom-control-label" for="customRadioInline2">False</label> </div> - </div> + </div> --> <!-- Add Optional Attributes button --> </div> </div> </div> + <!-- Optional params --> <div class="tab-pane fade" id="pills-profile" role="tabpanel" - aria-labelledby="pills-profile-tab">2</div> + aria-labelledby="pills-profile-tab"> + <div class="attribute-wrap" *ngFor="let requiredOutput of requiredOutputs"> + <div class="form-group"> + <label for="exampleInputEmail1">{{ getObjectKey(requiredOutput)[0] }} <i + class="icon-required-star" type="button" aria-hidden="true"></i></label> + <input type="text" class="form-control"> + </div> + </div> + </div> </div> </div> </div> </div> </div> <!--ARTIFACTS--> - <div class="accordion" id="accordionExample1"> + <div [hidden]="selectedTemplates.size == 0" class="accordion" id="accordionExample1"> <div class="card"> <div class="card-header row" id="headingOne"> <button class="btn btn-link" type="button" data-toggle="collapse" data-target="#collapseTwo" |