matrix-dimension/web/app/configs/widget/etherpad/etherpad.widget.component.html

20 lines
868 B
HTML

<my-widget-config [widgetComponent]="this">
<ng-template #widgetParamsTemplate let-widget="widget">
<label class="label-block">
{{'Pad Name' | translate}}
<input type="text" class="form-control"
maxlength="39"
placeholder="{{ defaultName }}"
[(ngModel)]="widget.dimension.newName" name="widget-name-{{widget.id}}"
[disabled]="isUpdating"/>
</label>
<label class="label-block">
{{'Pad URL' | translate}}
<input type="text" class="form-control"
placeholder="https://scalar.vector.im/etherpad/p/MyCoolPadName"
[(ngModel)]="widget.dimension.newUrl" name="widget-url-{{widget.id}}"
[disabled]="isUpdating"/>
</label>
</ng-template>
</my-widget-config>