diff --git a/src/settingsCategories.js b/src/settingsCategories.js index ddf48c36..f723f3f0 100644 --- a/src/settingsCategories.js +++ b/src/settingsCategories.js @@ -94,6 +94,8 @@ export const categories = { 'keyRequireAddToView', 'keyUseCustomLogoFront', 'keyUseCustomLogoBanner', + 'loginPageLayout', + 'loginPageTemplate', ], }, email: { diff --git a/src/settingsFields.component.js b/src/settingsFields.component.js index a5a1629f..b39752ba 100644 --- a/src/settingsFields.component.js +++ b/src/settingsFields.component.js @@ -323,6 +323,7 @@ class SettingsFields extends React.Component { min: mapping.minValue, max: mapping.maxValue, helpText: mapping.helpText, + rowsMax: mapping.rowsMax, }, validators, } diff --git a/src/settingsKeyMapping.js b/src/settingsKeyMapping.js index e105349e..e145f819 100644 --- a/src/settingsKeyMapping.js +++ b/src/settingsKeyMapping.js @@ -438,6 +438,20 @@ const settingsKeyMapping = { label: i18n.t('Require authority to add to view object lists'), type: 'checkbox', }, + loginPageLayout: { + label: i18n.t('Login page theme'), + type: 'dropdown', + options: { + DEFAULT: i18n.t('Default'), + SIDEBAR: i18n.t('Sidebar'), + CUSTOM: i18n.t('Custom'), + }, + }, + loginPageTemplate: { + label: i18n.t('Login page template'), + multiLine: true, + rowsMax: 10, + }, keyUseCustomLogoFront: { label: i18n.t('Custom login page logo'), type: 'staticContent',