diff options
author | Ahmedeldeeb50 <ahmed.eldeeb.ext@orange.com> | 2020-12-13 21:47:55 +0200 |
---|---|---|
committer | KAPIL SINGAL <ks220y@att.com> | 2020-12-14 18:30:57 +0000 |
commit | 0aa4ea86a06dba452360b0806b820454133cb82a (patch) | |
tree | 37d07ec03a053f1ef039f80aa85cc9b94995b41d /cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/action-attributes | |
parent | b4bbb70118f3406ffc7bdd7df557a9b0d9d63f21 (diff) |
1- Fix add template & cancel button in templates modal
2- Add a distinctive color to the selected template
Issue-ID: CCSDK-3042
Signed-off-by: Ahmedeldeeb50 <ahmed.eldeeb.ext@orange.com>
Change-Id: I4d7e469a4b0739fae67740cf30535203518df45b
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/action-attributes')
-rw-r--r-- | cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/action-attributes/action-attributes.component.html | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/action-attributes/action-attributes.component.html b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/action-attributes/action-attributes.component.html index 0886a3fd3..c26fe00c2 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/action-attributes/action-attributes.component.html +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/action-attributes/action-attributes.component.html @@ -171,20 +171,24 @@ <label class="col-form-label col-sm-3 pt-0">Type <span>*</span></label> <div class="col-sm-9"> <div class="list-group list-group-horizontal"> - <button type="button" class="list-group-item list-group-item-action" - (click)="setInputType('string')"> + <button type="button" [class.active]="this.inputActionAttribute.type === 'string'" + class="list-group-item list-group-item-action" (click)="setInputType('string')"> String </button> - <button type="button" class="list-group-item list-group-item-action" + <button type="button" [class.active]="this.inputActionAttribute.type === 'integer'" + class="list-group-item list-group-item-action" (click)="setInputType('integer')">Integer </button> - <button type="button" class="list-group-item list-group-item-action" + <button type="button" [class.active]="this.inputActionAttribute.type === 'boolean'" + class="list-group-item list-group-item-action" (click)="setInputType('boolean')">Boolean </button> - <button type="button" class="list-group-item list-group-item-action" + <button type="button" [class.active]="this.inputActionAttribute.type === 'list'" + class="list-group-item list-group-item-action" (click)="setInputType('list')">List </button> - <button type="button" class="list-group-item list-group-item-action" + <button type="button" [class.active]="this.inputActionAttribute.type === 'Other'" + class="list-group-item list-group-item-action" (click)="setInputType('Other')">Other </button> </div> @@ -478,15 +482,13 @@ <div class="scrollWrapper"> <a [class]="steps.indexOf(step) === 0? 'list-group-item list-group-item-action active': - 'list-group-item list-group-item-action'" [id]="step" - data-toggle="list" href="#list-home" role="tab" aria-controls="home" - *ngFor="let step of steps" > + 'list-group-item list-group-item-action'" [id]="step" data-toggle="list" + href="#list-home" role="tab" aria-controls="home" + *ngFor="let step of steps"> - <i class="icon-resource_resolution mr-1" aria-hidden="true" - (click)="setInputAndOutputs( + <i class="icon-resource_resolution mr-1" aria-hidden="true" (click)="setInputAndOutputs( this.designerState.template.workflows[actionName]['steps'][step]['target'] - )" - ></i> + )"></i> {{step}} <i class="icon-next_arrow" aria-hidden="true" (click)="setInputAndOutputs( this.designerState.template.workflows[actionName]['steps'][step]['target'] )"></i></a> @@ -543,12 +545,12 @@ <input type="text" class="form-control input-search-controller" placeholder="Functions"> <div class="scrollWrapper" *ngFor="let step of steps"> - <a [class]="steps.indexOf(step) === 0? + <a [class]="steps.indexOf(step) === 0? 'list-group-item list-group-item-action active': 'list-group-item list-group-item-action'" [id]="step" - *ngFor="let step of steps" - data-toggle="list" href="#list-home" role="tab" aria-controls="home"><i - class="icon-resource_resolution mr-1" aria-hidden="true"></i> + *ngFor="let step of steps" data-toggle="list" href="#list-home" role="tab" + aria-controls="home"><i class="icon-resource_resolution mr-1" + aria-hidden="true"></i> {{step}} <i class="icon-next_arrow" aria-hidden="true" (click)="setInputAndOutputs( this.designerState.template.workflows[actionName]['steps'][step]['target'] )"></i></a> @@ -699,4 +701,4 @@ </div> </div> </div> -</div> +</div>
\ No newline at end of file |