2017-12-23 01:30:42 -05:00
|
|
|
<my-widget-config [widgetComponent]="this">
|
|
|
|
<ng-template #widgetParamsTemplate let-widget="widget">
|
|
|
|
<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>
|
|
|
|
<label class="label-block">
|
|
|
|
Widget URL
|
|
|
|
<input type="text" class="form-control"
|
|
|
|
placeholder="https://matrix.org"
|
|
|
|
[(ngModel)]="widget.dimension.newUrl" name="widget-url-{{widget.id}}"
|
|
|
|
[disabled]="isUpdating"/>
|
|
|
|
</label>
|
|
|
|
</ng-template>
|
|
|
|
</my-widget-config>
|