2021-04-15 05:09:03 -04:00
|
|
|
= form_for @application_setting, url: general_admin_application_settings_path(anchor: 'js-terminal-settings'), html: { class: 'fieldset-form', id: 'terminal-settings' } do |f|
|
2022-08-18 17:12:09 -04:00
|
|
|
= form_errors(@application_setting)
|
2018-04-04 05:44:32 -04:00
|
|
|
|
|
|
|
%fieldset
|
2018-06-13 03:40:55 -04:00
|
|
|
.form-group
|
2021-04-20 14:09:37 -04:00
|
|
|
= f.label :terminal_max_session_time, _('Max session time'), class: 'label-bold'
|
2021-01-31 13:09:51 -05:00
|
|
|
= f.number_field :terminal_max_session_time, class: 'form-control gl-form-input'
|
2018-06-13 03:40:55 -04:00
|
|
|
.form-text.text-muted
|
2021-09-21 08:11:06 -04:00
|
|
|
= _('Maximum time, in seconds, for a web terminal websocket connection. 0 for unlimited.')
|
2021-04-20 14:09:37 -04:00
|
|
|
= f.submit _('Save changes'), class: "gl-button btn btn-confirm"
|