2021-06-25 21:55:40 +02:00
.modal-header
2021-07-22 21:34:05 +02:00
h3.modal-title Settings
2021-07-11 16:13:18 +02:00
2021-06-25 21:55:40 +02:00
.modal-body
.mb-3
2021-07-22 21:34:05 +02:00
h5 GitHub account
2021-07-24 15:48:12 +02:00
a.btn.btn-info(href='/api/1/auth/social/login/github', *ngIf='!user.github_username')
2021-07-22 21:34:05 +02:00
fa-icon([icon]='_githubIcon', [fixedWidth]='true')
span Connect a GitHub account
2021-07-24 15:48:12 +02:00
.alert.alert-success.d-flex(*ngIf='user.github_username')
fa-icon.me-2([icon]='_okIcon', [fixedWidth]='true')
div
div Connected as #[strong {{user.github_username}}]
div(*ngIf='user.is_sponsor') Thank you for supporting Tabby on GitHub!
2021-07-22 21:34:05 +02:00
2021-07-24 15:48:12 +02:00
.mb-3.mt-4
h5 Config sync
.d-flex.aling-items-stretch.mb-3
.form-floating.w-100
input.form-control(
type='text',
readonly,
[ngModel]='user.config_sync_token'
)
label Sync token for the Tabby app
button.btn.btn-dark([cdkCopyToClipboard]='user.config_sync_token')
fa-icon([icon]='_copyIcon', [fixedWidth]='true')
.mb-3.mt-4
2021-07-22 21:34:05 +02:00
h5 Connection gateway
2021-06-25 21:55:40 +02:00
.form-check.form-switch
input.form-check-input(
type='checkbox',
[(ngModel)]='customGatewayEnabled'
)
label(class='form-check-label') Use custom connection gateway
2021-07-17 16:38:43 +02:00
small.text-muted This allows you to securely route connections through your own hosted gateway. See #[a(href='https://github.com/Eugeny/tabby-connection-gateway#readme', target='_blank') tabby-connection-gateway] for setup instructions.
2021-06-25 21:55:40 +02:00
2021-07-17 16:38:43 +02:00
form
input.d-none(type='text', name='fakeusername')
input.d-none(type='password', name='fakepassword')
.mb-3(*ngIf='customGatewayEnabled')
.form-floating
input.form-control(
type='text',
[(ngModel)]='user.custom_connection_gateway',
placeholder='wss://1.2.3.4',
autocomplete='off'
)
label Gateway address
.mb-3(*ngIf='customGatewayEnabled')
.form-floating
input.form-control(
type='password',
[(ngModel)]='user.custom_connection_gateway_token',
placeholder='123',
autocomplete='new-password'
)
label Gateway authentication token
2021-06-25 21:55:40 +02:00
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