mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 01:05:53 -04:00
9dc4e99aca
- the traslation feature without the changes from other branches
27 lines
1.3 KiB
HTML
27 lines
1.3 KiB
HTML
<my-ibox boxTitle="{{'New self-hosted go-neb' | translate}}">
|
|
<div class="my-ibox-content">
|
|
<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}}
|
|
</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>
|