mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-09-19 15:25:44 +00:00
26 lines
1.3 KiB
HTML
26 lines
1.3 KiB
HTML
<div class="modal-header">
|
|
<h4 class="modal-title" id="modal-basic-title">{{'self-hosted Slack bridge' | translate}} ({{ isAdding ? "Add a new" : "Edit" }})</h4>
|
|
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close" (click)="modal.close()"></button>
|
|
</div>
|
|
<div class="modal-body">
|
|
<p>
|
|
{{'Self-hosted Slack bridges already have provisioning enabled. Be careful not to expose the API to the public internet.' | translate}}
|
|
</p>
|
|
|
|
<label class="label-block">
|
|
{{'Provisioning URL' | translate}}
|
|
<span class="text-muted ">{{'The provisioning URL for the bridge. This is usually the same as the URL your homeserver uses to communicate with the bridge.' | translate}}</span>
|
|
<input type="text" class="form-control"
|
|
placeholder="http://localhost:9000"
|
|
[(ngModel)]="provisionUrl" [disabled]="isSaving"/>
|
|
</label>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" (click)="add()" title="close" class="btn btn-primary btn-sm">
|
|
<i class="far fa-save"></i> {{'Save' | translate}}
|
|
</button>
|
|
<button type="button" (click)="modal.close()" title="close" class="btn btn-secondary btn-sm">
|
|
<i class="far fa-times-circle"></i> {{'Cancel' | translate}}
|
|
</button>
|
|
</div>
|