2018-04-06 11:02:18 +00:00
|
|
|
|
2018-05-03 11:45:49 +00:00
|
|
|
<div *ngIf="!started; else result">
|
|
|
|
<of-probe-selector [preProbe]="probe" (probeSelected)="onProbeSelect($event)"></of-probe-selector>
|
2018-04-06 11:02:18 +00:00
|
|
|
|
2018-05-03 11:45:49 +00:00
|
|
|
<p-blockUI [target]="df" [blocked]="!selectedProbe"></p-blockUI>
|
2018-05-03 12:23:53 +00:00
|
|
|
<p-panel #df [showHeader]="false">
|
2018-05-03 11:45:49 +00:00
|
|
|
<of-discovery-filter [probe]="selectedProbe" [requestStart]="requestStart" (discoveryRequested)="onDiscoveryStart($event)"></of-discovery-filter>
|
|
|
|
</p-panel>
|
2018-04-06 11:02:18 +00:00
|
|
|
|
2018-05-03 11:45:49 +00:00
|
|
|
<div dir="rtl">
|
|
|
|
<button [disabled]="!selectedProbe" pButton type="button" label="Start" icon="fa-check" class="ui-button-width-fit" (click)="requestStart = true"></button>
|
|
|
|
<button pButton type="button" label="Cancel" icon="fa-close" class="ui-button-secondary ui-button-width-fit" (click)="onCancel()"></button>
|
|
|
|
</div>
|
2018-04-06 11:02:18 +00:00
|
|
|
</div>
|
|
|
|
|
2018-05-03 11:45:49 +00:00
|
|
|
<ng-template #result>
|
|
|
|
<of-discovery-result (close)="onCancel()"></of-discovery-result>
|
|
|
|
</ng-template>
|