matrix-dimension/web/app/admin/widgets/etherpad/etherpad.component.html
2019-06-29 00:51:26 -06:00

22 lines
980 B
HTML

<div class="dialog">
<div class="dialog-header">
<h4>Etherpad Widget Configuration</h4>
</div>
<div class="dialog-content">
<label class="label-block">
Default Pad URL Template
<span class="text-muted ">$padName and $roomId will be replaced during creation to help create a unique pad URL.</span>
<input type="text" class="form-control"
placeholder="https://scalar.vector.im/etherpad/p/$padName_$roomId"
[(ngModel)]="widget.options.defaultUrl" [disabled]="isUpdating"/>
</label>
</div>
<div class="dialog-footer">
<button type="button" (click)="save()" title="save" class="btn btn-primary btn-sm">
<i class="far fa-save"></i> Save
</button>
<button type="button" (click)="dialog.close()" title="close" class="btn btn-secondary btn-sm">
<i class="far fa-times-circle"></i> Cancel
</button>
</div>
</div>