diff --git a/awx/ui/client/legacy-styles/forms.less b/awx/ui/client/legacy-styles/forms.less index ce7043c7e6..ed4fcb82ab 100644 --- a/awx/ui/client/legacy-styles/forms.less +++ b/awx/ui/client/legacy-styles/forms.less @@ -199,6 +199,15 @@ margin-top: 10px; } +.Form-formGroup { + input.form-control { + background-color: @default-secondary-bg; + border-color: @b7grey; + border-radius: 5px; + height: 30px; + } +} + .Form-checkbox--stacked { label { display: block; diff --git a/awx/ui/client/src/configuration/system-form/sub-forms/system-misc.form.js b/awx/ui/client/src/configuration/system-form/sub-forms/system-misc.form.js index 892dfd0bc0..a29eeec330 100644 --- a/awx/ui/client/src/configuration/system-form/sub-forms/system-misc.form.js +++ b/awx/ui/client/src/configuration/system-form/sub-forms/system-misc.form.js @@ -6,8 +6,8 @@ export default ['i18n', function(i18n) { return { - showHeader: false, name: 'configuration_misc_template', + showHeader: false, showActions: true, fields: { @@ -20,6 +20,22 @@ export default ['i18n', function(i18n) { }, ORG_ADMINS_CAN_SEE_ALL_USERS: { type: 'toggleSwitch', + }, + AUTH_TOKEN_EXPIRATION: { + type: 'number', + integer: true, + min: 60, + reset: 'AUTH_TOKEN_EXPIRATION', + }, + AUTH_TOKEN_PER_USER: { + type: 'number', + integer: true, + spinner: true, + min: -1, + reset: 'AUTH_TOKEN_PER_USER', + }, + AUTH_BASIC_ENABLED: { + type: 'toggleSwitch', } },