matrix-dimension/web/app/admin/neb/add-selfhosted/add-selfhosted.component.html
Ahmad 9dc4e99aca translation
- the traslation feature without the changes from other branches
2020-10-23 13:30:20 +02:00

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>