2021-04-29 21:17:54 +05:30
|
|
|
= form_for @application_setting, url: general_admin_application_settings_path(anchor: 'js-terminal-settings'), html: { class: 'fieldset-form', id: 'terminal-settings' } do |f|
|
2022-10-11 01:57:18 +05:30
|
|
|
= form_errors(@application_setting)
|
2018-05-09 12:01:36 +05:30
|
|
|
|
|
|
|
%fieldset
|
|
|
|
.form-group
|
2021-06-08 01:23:25 +05:30
|
|
|
= f.label :terminal_max_session_time, _('Max session time'), class: 'label-bold'
|
2021-03-11 19:13:27 +05:30
|
|
|
= f.number_field :terminal_max_session_time, class: 'form-control gl-form-input'
|
2018-11-08 19:23:39 +05:30
|
|
|
.form-text.text-muted
|
2021-11-18 22:05:49 +05:30
|
|
|
= _('Maximum time, in seconds, for a web terminal websocket connection. 0 for unlimited.')
|
2021-06-08 01:23:25 +05:30
|
|
|
= f.submit _('Save changes'), class: "gl-button btn btn-confirm"
|