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