member_webapp/src/packages/discovery/component/setting/setting.component.html

37 lines
1.8 KiB
HTML
Raw Normal View History

2018-05-04 04:11:59 +00:00
<div [style.height.px]="height">
<div dir="rtl">
2018-05-03 13:27:11 +00:00
<p-button (onClick)="onCancel()" icon="fa fa-fw fa-close"></p-button>
2018-05-04 04:11:59 +00:00
</div>
2018-04-06 11:02:18 +00:00
2018-05-10 12:21:20 +00:00
<div>
2018-05-04 04:11:59 +00:00
<of-probe-selector #probeSelectorComponent [preProbe]="probe" (probeSelected)="onProbeSelect($event)"></of-probe-selector>
2018-04-06 11:02:18 +00:00
2018-05-04 04:11:59 +00:00
<p-blockUI [target]="df" [blocked]="!selectedProbe && !probe"></p-blockUI>
<p-panel #df [showHeader]="false">
2018-05-10 12:21:20 +00:00
<div [@discoveryFilter]="filterExpand ? 'full' : 'summary'">
<div *ngIf="filterExpand; else filterSummary">
<of-discovery-filter #filterComponent [probe]="selectedProbe" [requestStart]="requestStart" (discoveryRequested)="onDiscoveryStart($event)"></of-discovery-filter>
</div>
<ng-template #filterSummary>
<of-discovery-filter-summary [data]="filterData" (click)="onSummaryClick($event)"></of-discovery-filter-summary>
</ng-template>
</div>
2018-05-04 04:11:59 +00:00
</p-panel>
2018-04-06 11:02:18 +00:00
2018-05-10 12:21:20 +00:00
<div dir="rtl" *ngIf="filterExpand">
2018-05-04 04:11:59 +00:00
<button [disabled]="!selectedProbe && !probe" 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-05-03 11:45:49 +00:00
</div>
2018-04-06 11:02:18 +00:00
2018-05-10 12:21:20 +00:00
<div *ngIf="!filterExpand" [@result]="filterExpand ? 'hidden' : 'show'">
<of-discovery-result (close)="onCancel()"></of-discovery-result>
2018-05-04 04:11:59 +00:00
<div dir="rtl">
2018-05-10 12:21:20 +00:00
<button [disabled]="!selectedProbe && !probe" pButton type="button" label="Save" icon="fa-check" class="ui-button-width-fit"
2018-05-04 04:11:59 +00:00
(click)="onSave()"></button>
2018-05-10 12:21:20 +00:00
<button pButton type="button" label="Stop" icon="fa-close" class="ui-button-secondary ui-button-width-fit" (click)="onStop()"></button>
2018-05-04 04:11:59 +00:00
</div>
2018-05-10 12:21:20 +00:00
</div>
</div>