2017-12-23 23:40:01 -05:00
|
|
|
<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"
|
2019-06-29 02:51:26 -04:00
|
|
|
placeholder="https://scalar.vector.im/etherpad/p/$padName_$roomId"
|
2017-12-23 23:40:01 -05:00
|
|
|
[(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>
|