2018-03-31 13:45:19 -04:00
< div class = "dialog" >
< div class = "dialog-header" >
2020-10-23 07:30:20 -04:00
< h4 > {{'Add a new self-hosted IRC Bridge' | translate}}< / h4 >
2018-03-31 13:45:19 -04:00
< / div >
< div class = "dialog-content" >
2020-10-23 07:30:20 -04:00
< p > {{'Self-hosted IRC bridges must have' | translate}}< code > {{'provisioning' | translate}}< / code > {{'enabled in the configuration.' | translate}}< / p >
2018-03-31 13:45:19 -04:00
< label class = "label-block" >
2020-10-23 07:30:20 -04:00
{{'Provisioning URL' | translate}}
< span class = "text-muted " > {{'The provisioning URL for the bridge. This is usually the same as the URL given in the registration. This API is not authenticated and should be treated with caution.' | translate}}< / span >
2018-03-31 13:45:19 -04:00
< input type = "text" class = "form-control"
placeholder="http://localhost:9999"
[(ngModel)]="provisionUrl" [disabled]="isSaving"/>
< / label >
< / div >
< div class = "dialog-footer" >
< button type = "button" ( click ) = " add ( ) " title = "close" class = "btn btn-primary btn-sm" >
2020-10-23 07:30:20 -04:00
< i class = "far fa-save" > < / i > {{'Save' | translate}}
2018-03-31 13:45:19 -04: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}}
2018-03-31 13:45:19 -04:00
< / button >
< / div >
2020-10-23 07:30:20 -04:00
< / div >