2018-10-21 18:19:36 -04:00
|
|
|
<my-widget-config [widgetComponent]="this">
|
|
|
|
<ng-template #widgetParamsTemplate let-widget="widget">
|
|
|
|
<label class="label-block">
|
2020-10-23 07:30:20 -04:00
|
|
|
{{'Trading Pair' | translate}}
|
2019-07-11 00:17:16 -04:00
|
|
|
<select class="form-control form-control-sm" [(ngModel)]="widget.dimension.newData.pair"
|
|
|
|
[disabled]="isUpdating" name="widget-pair-{{widget.id}}">
|
2018-10-21 18:19:36 -04:00
|
|
|
<option *ngFor="let pair of pairs" [ngValue]="pair.value">
|
|
|
|
{{ pair.label }}
|
|
|
|
</option>
|
|
|
|
</select>
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<label class="label-block">
|
2020-10-23 07:30:20 -04:00
|
|
|
{{'Interval' | translate}}
|
2019-07-11 00:17:16 -04:00
|
|
|
<select class="form-control form-control-sm" [(ngModel)]="widget.dimension.newData.interval"
|
|
|
|
[disabled]="isUpdating" name="widget-interval-{{widget.id}}">
|
2018-10-21 18:19:36 -04:00
|
|
|
<option *ngFor="let interval of intervals" [ngValue]="interval.value">
|
|
|
|
{{ interval.label }}
|
|
|
|
</option>
|
|
|
|
</select>
|
|
|
|
</label>
|
|
|
|
</ng-template>
|
2020-10-23 07:30:20 -04:00
|
|
|
</my-widget-config>
|