test
This commit is contained in:
@@ -17,11 +17,11 @@
|
||||
<div @discoveryResultAnim>
|
||||
<div *ngIf="checkHighligtHost(node.label) else unhighlightHost">
|
||||
<p-toggleButton onLabel="{{node.label}}" offLabel="{{node.label}}" onIcon="fa-check" offIcon="fa-square" [style]="{'width':'200px'}"
|
||||
(onChange)="onTargetSelect($event, node.data)"></p-toggleButton>
|
||||
(onChange)="onTargetSelect($event, node)"></p-toggleButton>
|
||||
</div>
|
||||
|
||||
<ng-template #unhighlightHost>
|
||||
<div>{{node.label}}</div>
|
||||
<div style="opacity: 0.2">{{node.label}}</div>
|
||||
</ng-template>
|
||||
</div>
|
||||
</ng-template>
|
||||
@@ -31,11 +31,11 @@
|
||||
<div @discoveryResultAnim>
|
||||
<div *ngIf="checkHighligtService(node.data.name) else unhighlightServ">
|
||||
<p-toggleButton onLabel="{{node.label}} {{node.data.portType}}" offLabel="{{node.label}} {{node.data.portType}} {{node.data.portNumber}}"
|
||||
onIcon="fa-check" offIcon="fa-square" [style]="{'width':'300px'}" (onChange)="onTargetSelect($event, node.data)"></p-toggleButton>
|
||||
onIcon="fa-check" offIcon="fa-square" [style]="{'width':'300px'}" (onChange)="onTargetSelect($event, node)"></p-toggleButton>
|
||||
</div>
|
||||
|
||||
<ng-template #unhighlightServ>
|
||||
<div>{{node.label}} {{node.data.portType}}</div>
|
||||
<div style="opacity: 0.2">{{node.label}} {{node.data.portType}}</div>
|
||||
</ng-template>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user