mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 01:05:53 -04:00
9dc4e99aca
- the traslation feature without the changes from other branches
24 lines
1.0 KiB
HTML
24 lines
1.0 KiB
HTML
<my-widget-config [widgetComponent]="this">
|
|
<ng-template #widgetParamsTemplate let-widget="widget">
|
|
<label class="label-block">
|
|
{{'Trading Pair' | translate}}
|
|
<select class="form-control form-control-sm" [(ngModel)]="widget.dimension.newData.pair"
|
|
[disabled]="isUpdating" name="widget-pair-{{widget.id}}">
|
|
<option *ngFor="let pair of pairs" [ngValue]="pair.value">
|
|
{{ pair.label }}
|
|
</option>
|
|
</select>
|
|
</label>
|
|
|
|
<label class="label-block">
|
|
{{'Interval' | translate}}
|
|
<select class="form-control form-control-sm" [(ngModel)]="widget.dimension.newData.interval"
|
|
[disabled]="isUpdating" name="widget-interval-{{widget.id}}">
|
|
<option *ngFor="let interval of intervals" [ngValue]="interval.value">
|
|
{{ interval.label }}
|
|
</option>
|
|
</select>
|
|
</label>
|
|
</ng-template>
|
|
</my-widget-config>
|