2017-12-23 23:40:01 -05:00
|
|
|
<div class="dialog">
|
|
|
|
<div class="dialog-header">
|
2020-10-23 07:30:20 -04:00
|
|
|
<h4>{{'Etherpad Widget Configuration' | translate}}</h4>
|
2017-12-23 23:40:01 -05:00
|
|
|
</div>
|
|
|
|
<div class="dialog-content">
|
|
|
|
<label class="label-block">
|
2020-10-23 07:30:20 -04:00
|
|
|
{{'Default Pad URL Template' | translate}}
|
|
|
|
<span class="text-muted ">{{'$padName and $roomId will be replaced during creation to help create a unique pad URL.' | translate}}</span>
|
2017-12-23 23:40:01 -05:00
|
|
|
<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">
|
2020-10-23 07:30:20 -04:00
|
|
|
<i class="far fa-save"></i> {{'Save' | translate}}
|
2017-12-23 23:40:01 -05:00
|
|
|
</button>
|
|
|
|
<button type="button" (click)="dialog.close()" title="close" class="btn btn-secondary btn-sm">
|
2020-10-23 07:30:20 -04:00
|
|
|
<i class="far fa-times-circle"></i> {{'Cancel' | translate}}
|
2017-12-23 23:40:01 -05:00
|
|
|
</button>
|
|
|
|
</div>
|
2020-10-23 07:30:20 -04:00
|
|
|
</div>
|