aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/directives/inputs-and-properties/inputs/input-row-view.html
blob: 32059c41fdd7d9193fb2c772ebfdcb50bbdcc9bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<div class="input-row">
    <div class="title-text" ng-click="onNameClicked(input)" data-tests-id="inputName_{{input.name}}">
        {{input.name}}
    </div>
    <div class="flex-container">
        <div class="expand-collapse-inputs-table-icon"></div>
        <div class="flex-item">
            <div class="no-overflow">
                <span class="title-text">Description:</span>
                <span tooltips tooltip-content="{{input.description}}" data-tests-id="inputDescription_{{input.name}}">{{input.description}}</span>
            </div>
            <div class="text" tooltips tooltip-content="{{input.defaultValue}}">
                <span class="title-text">Default Value:</span>
                <span data-tests-id="inputDefaultValue_{{input.name}}">{{input.defaultValue}}</span>
            </div>
        </div>
        <div class="flex-item ">
            <div class="text">
                <span class="title-text">VF Instance:</span>
                <span tooltips tooltip-content="{{instanceName}}" data-tests-id="inputInstanceName_{{input.name}}">{{instanceName}}</span>
            </div>
            <div class="text">
                <span class="title-text">Type:</span>
                <span tooltips tooltip-content="{{input.type}}" data-tests-id="inputType_{{input.name}}">{{input.type}} </span>
            </div>
        </div>
        <ng1-checkbox ng-if="instanceInputsMap"
                      class="input-check-box"
                      disabled="input.isAlreadySelected || isViewOnly"
                      sdc-checklist-model="instanceInputsMap[instanceId]"
                      sdc-checklist-value="input"
                      sdc-checklist-change="onCheckboxClicked()"
                      data-tests-id="inputsCheckbox_{{input.name}}"
                      data-ng-click=" $event.stopPropagation()"></ng1-checkbox>

        <div class="delete" ng-if="showDeleteIcon">
            <span class="sprite-new delete-icon remove-input-icon"
                  data-ng-class="{'disabled': isViewOnly || input.isDeleteDisabled}"
                  data-ng-click="deleteInput(input); $event.stopPropagation();"
                  data-tests-id="deleteInput_{{input.name}}"></span>
        </div>
    </div>
</div>