matrix-dimension/web/app/admin/neb/add-selfhosted/add-selfhosted.component.html

27 lines
1.3 KiB
HTML
Raw Normal View History

<my-ibox boxTitle="{{'New self-hosted go-neb' | translate}}">
<div class="my-ibox-content">
2019-07-11 00:17:16 -04:00
<p>
{{'Self-hosted go-neb instances are powered by application services installed on your homeserver. The application service is responsible for creating the bots dynamically.' | translate}}
2019-07-11 00:17:16 -04:00
</p>
<label class="label-block">
{{'User Prefix' | translate}}
<span class="text-muted ">{{'This is the prefix used for all bot users.' | translate}}</span>
<input type="text" class="form-control"
placeholder="@_neb"
[(ngModel)]="userPrefix" [disabled]="isSaving"/>
</label>
<label class="label-block">
{{'API URL' | translate}}
<span class="text-muted ">{{'The admin/api url for go-neb. Be sure to not expose the admin API to the outside world because this endpoint is not authenticated.' | translate}}</span>
<input type="text" class="form-control"
placeholder="http://localhost:4050"
[(ngModel)]="adminUrl" [disabled]="isSaving"/>
</label>
<button type="button" (click)="save()" title="save" class="btn btn-primary btn-sm" [disabled]="isSaving">
<i class="far fa-save"></i> {{'Save' | translate}}
</button>
</div>
</my-ibox>