aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/pages/connection-wizard/connection-wizard-header/connection-wizard-header.component.html
blob: 369ab50cadea89b40bde88b30a45588edf2145d5 (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
<div class="header-main-container">
    <div class="inner-container">
        <div class="node from-node" [ngClass]="{'selected':currentStepIndex == 0}">
            <div class="text">
                <div class="node-name">
                    {{connectWizardService.connectRelationModel.fromNode.componentInstance.name}}
                </div>
                <div class="selected-req-or-cap" [ngClass]="{'selected': currentStepIndex == 2 && !connectWizardService.selectedMatch.isFromTo}">
                    {{getSelectedReqOrCapName(true)}}
                </div>
            </div>
            <div class="icon">
                <div class="small medium {{connectWizardService.connectRelationModel.fromNode.componentInstance.iconSprite}} {{connectWizardService.connectRelationModel.fromNode.componentInstance.icon}}">
                </div>
            </div>
        </div>
        <div class="connection">

        </div>
        <div class="node to-node"  [ngClass]="{'selected':currentStepIndex == 1}">
            <div class="icon">
                <div class="small medium {{connectWizardService.connectRelationModel.toNode.componentInstance.iconSprite}} {{connectWizardService.connectRelationModel.toNode.componentInstance.icon}}">
                </div>
            </div>

            <div class="text">
                <div class="node-name">
                    {{connectWizardService.connectRelationModel.toNode.componentInstance.name}}
                </div>
                <div class="selected-req-or-cap"  [ngClass]="{'selected': currentStepIndex == 2 && connectWizardService.selectedMatch.isFromTo}">
                    {{getSelectedReqOrCapName(false)}}
                </div>
            </div>
        </div>
    </div>
</div>