2017-12-23 15:16:05 -05:00
|
|
|
<my-widget-config [widgetComponent]="this">
|
|
|
|
<ng-template #widgetParamsTemplate let-widget="widget">
|
|
|
|
<label class="label-block">
|
2020-10-23 07:30:20 -04:00
|
|
|
{{'Pad Name' | translate}}
|
2017-12-23 15:16:05 -05:00
|
|
|
<input type="text" class="form-control"
|
|
|
|
placeholder="{{ defaultName }}"
|
|
|
|
[(ngModel)]="widget.dimension.newName" name="widget-name-{{widget.id}}"
|
|
|
|
[disabled]="isUpdating"/>
|
|
|
|
</label>
|
|
|
|
<label class="label-block">
|
2020-10-23 07:30:20 -04:00
|
|
|
{{'Pad URL' | translate}}
|
2017-12-23 15:16:05 -05:00
|
|
|
<input type="text" class="form-control"
|
2019-06-29 02:51:26 -04:00
|
|
|
placeholder="https://scalar.vector.im/etherpad/p/MyCoolPadName"
|
2017-12-23 15:16:05 -05:00
|
|
|
[(ngModel)]="widget.dimension.newUrl" name="widget-url-{{widget.id}}"
|
|
|
|
[disabled]="isUpdating"/>
|
|
|
|
</label>
|
|
|
|
</ng-template>
|
2020-10-23 07:30:20 -04:00
|
|
|
</my-widget-config>
|