mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 01:05:53 -04:00
f10abf95e5
Fixes https://github.com/turt2live/matrix-dimension/issues/181 Fixes https://github.com/turt2live/matrix-dimension/issues/177 Fixes https://github.com/turt2live/matrix-dimension/issues/180 Part of https://github.com/turt2live/matrix-dimension/issues/141
19 lines
939 B
HTML
19 lines
939 B
HTML
<my-widget-config [widgetComponent]="this">
|
|
<ng-template #widgetParamsTemplate let-widget="widget">
|
|
<label class="label-block">
|
|
Grafana URL
|
|
<span class="text-muted">To get a URL, go to Grafana and click "share" on a graph.</span>
|
|
<input type="text" class="form-control"
|
|
placeholder="https://example.com/grafana/dashboard/db/example?orgId=1&panelId=1&fullscreen"
|
|
[(ngModel)]="widget.dimension.newData.url" name="widget-url-{{widget.id}}"
|
|
[disabled]="isUpdating"/>
|
|
</label>
|
|
<label class="label-block">
|
|
Widget Name
|
|
<input type="text" class="form-control"
|
|
placeholder="{{ defaultName }}"
|
|
[(ngModel)]="widget.dimension.newName" name="widget-name-{{widget.id}}"
|
|
[disabled]="isUpdating"/>
|
|
</label>
|
|
</ng-template>
|
|
</my-widget-config> |