diff options
author | 2019-04-21 16:07:44 +0300 | |
---|---|---|
committer | 2019-04-22 12:07:46 +0000 | |
commit | c21ba95e56f70ba9fbe0daa3ac4b413424b323eb (patch) | |
tree | 5158a77b0cc7d42c0c3f91ddf64473995494db6c /catalog-ui/src/app/ng2/pages/interface-operation/operation-creator/operation-creator.component.html | |
parent | caa3ce9b5538a7ff2e72ae4f1afe3e903ae09c8a (diff) |
bug fixes to operation screen and External workflowartifact completion
Change-Id: I9d71385d6e29e1736a24f9d84581e465187e9f26
Issue-ID: SDC-2249
Signed-off-by: Arielk <Ariel.Kenan@amdocs.com>
Diffstat (limited to 'catalog-ui/src/app/ng2/pages/interface-operation/operation-creator/operation-creator.component.html')
-rw-r--r-- | catalog-ui/src/app/ng2/pages/interface-operation/operation-creator/operation-creator.component.html | 35 |
1 files changed, 33 insertions, 2 deletions
diff --git a/catalog-ui/src/app/ng2/pages/interface-operation/operation-creator/operation-creator.component.html b/catalog-ui/src/app/ng2/pages/interface-operation/operation-creator/operation-creator.component.html index 9f78088609..5faddd829c 100644 --- a/catalog-ui/src/app/ng2/pages/interface-operation/operation-creator/operation-creator.component.html +++ b/catalog-ui/src/app/ng2/pages/interface-operation/operation-creator/operation-creator.component.html @@ -50,7 +50,8 @@ label="{{ 'OPERATION_NAME' | translate }}" [(value)]="operation.name" testId="operationName" - (valueChange)="onChangeName()"> + (valueChange)="onChangeName()" + [disabled]="readonly"> </sdc-input> </div> @@ -80,7 +81,37 @@ </sdc-dropdown> </div> - <div class="form-item" *ngIf="!isUsingExistingWF()"></div> + <div class="form-item" *ngIf="!isUsingExistingWF() && !isUsingExternalWF()"></div> + + <div + *ngIf="isUsingExternalWF()" + class="form-item sdc-input"> + <label class="sdc-input__label required">{{ 'OPERATION_ARTIFACT' | translate }}</label> + <div class="i-sdc-form-item i-sdc-form-file-upload"> + <span + class="i-sdc-form-file-name" + data-tests-id="artifactFilename"> + {{ operation.artifactFile && operation.artifactFile.name }} + </span> + <div + *ngIf="operation.artifactFile && operation.artifactFile.name" + class="i-sdc-form-file-upload-x-btn" + data-tests-id="clearArtifact" + (click)="onChangeArtifactFile({ target: {} })"></div> + <label + class="i-sdc-form-file-upload-label" + [ngClass]="{'disabled': readonly}"> + <input + type="file" + base-sixty-four-input + maxsize="10240" + data-tests-id="artifactUpload" + (change)="onChangeArtifactFile($event)" + /> + <div class="file-upload-browse-btn">Browse</div> + </label> + </div> + </div> <div class="form-item sdc-input" *ngIf="isUsingExistingWF()"> <label class="sdc-input__label required">{{ 'OPERATION_WORKFLOW' | translate }} |