2021-06-25 21:55:40 +02:00
|
|
|
.modal-header
|
|
|
|
|
h5.modal-title Settings
|
2021-07-11 16:13:18 +02:00
|
|
|
|
2021-06-25 21:55:40 +02:00
|
|
|
.modal-body
|
|
|
|
|
.mb-3
|
|
|
|
|
.form-check.form-switch
|
|
|
|
|
input.form-check-input(
|
|
|
|
|
type='checkbox',
|
|
|
|
|
[(ngModel)]='customGatewayEnabled'
|
|
|
|
|
)
|
|
|
|
|
label(class='form-check-label') Use custom connection gateway
|
|
|
|
|
|
|
|
|
|
.mb-3(*ngIf='customGatewayEnabled')
|
|
|
|
|
.form-floating
|
|
|
|
|
input.form-control(
|
|
|
|
|
type='text',
|
|
|
|
|
[(ngModel)]='user.custom_connection_gateway',
|
|
|
|
|
placeholder='wss://1.2.3.4'
|
|
|
|
|
)
|
|
|
|
|
label Gateway address
|
|
|
|
|
|
|
|
|
|
.mb-3(*ngIf='customGatewayEnabled')
|
|
|
|
|
.form-floating
|
|
|
|
|
input.form-control(
|
|
|
|
|
type='password',
|
|
|
|
|
[(ngModel)]='user.custom_connection_gateway_token',
|
|
|
|
|
placeholder='123'
|
|
|
|
|
)
|
|
|
|
|
label Gateway authentication token
|
|
|
|
|
|
2021-07-11 16:13:18 +02:00
|
|
|
div(*ngIf='appConnector.sockets.length')
|
|
|
|
|
h5 Active connections
|
|
|
|
|
.list-group.list-group-flush
|
|
|
|
|
.list-group-item(*ngFor='let socket of appConnector.sockets')
|
|
|
|
|
div {{socket.options.host}}:{{socket.options.port}}
|
|
|
|
|
.text-muted via {{socket.url}}
|
|
|
|
|
|
2021-06-25 21:55:40 +02:00
|
|
|
.modal-footer
|
|
|
|
|
button.btn.btn-primary((click)='apply()') Apply
|
|
|
|
|
button.btn.btn-secondary((click)='cancel()') Cancel
|