From fc46edc3b1086d3d2351cba23dad52b4027c61fc Mon Sep 17 00:00:00 2001 From: utchoang Date: Wed, 27 Oct 2021 16:24:52 +0700 Subject: [PATCH 1/7] add a document to config footer text --- source/adminguide/ui.rst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/source/adminguide/ui.rst b/source/adminguide/ui.rst index b9fa334b0f..67c9877946 100644 --- a/source/adminguide/ui.rst +++ b/source/adminguide/ui.rst @@ -533,6 +533,24 @@ For the UI to work with different servers, it is necessary to configure the Ngin |ui-multiple-server-management.png| +Footer text option +~~~~~~~~~~~~~~~~~~ +Users can use the file `/etc/cloudstack/management/config.json` to add the option to display text in the footer at the login screen to show where to get help or display a usage policy. + +To display the text in the footer at the login screen, make the following changes to the config.json file: + +============================= =================================================================== +Property Description +============================= =================================================================== +footerText Configure to display text (HTML) in the footer at the login screen. +============================= =================================================================== + +.. parsed-literal:: + { + ... + footerText: "By logging, you are accepting the usage policy" + } + Known Limitations ~~~~~~~~~~~~~~~~~ From 9fc2dd5fa82df178f2b6968dba113b7f628047da Mon Sep 17 00:00:00 2001 From: utchoang Date: Wed, 27 Oct 2021 16:26:44 +0700 Subject: [PATCH 2/7] add blank line --- source/adminguide/ui.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/source/adminguide/ui.rst b/source/adminguide/ui.rst index 67c9877946..5e7d129115 100644 --- a/source/adminguide/ui.rst +++ b/source/adminguide/ui.rst @@ -535,6 +535,7 @@ For the UI to work with different servers, it is necessary to configure the Ngin Footer text option ~~~~~~~~~~~~~~~~~~ + Users can use the file `/etc/cloudstack/management/config.json` to add the option to display text in the footer at the login screen to show where to get help or display a usage policy. To display the text in the footer at the login screen, make the following changes to the config.json file: From a931da5de49ac75064b9a51246a21961176e4b72 Mon Sep 17 00:00:00 2001 From: utchoang Date: Mon, 1 Nov 2021 08:11:01 +0700 Subject: [PATCH 3/7] rename the footer text property --- source/adminguide/ui.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/adminguide/ui.rst b/source/adminguide/ui.rst index 5e7d129115..d27a676c4d 100644 --- a/source/adminguide/ui.rst +++ b/source/adminguide/ui.rst @@ -543,13 +543,13 @@ To display the text in the footer at the login screen, make the following change ============================= =================================================================== Property Description ============================= =================================================================== -footerText Configure to display text (HTML) in the footer at the login screen. +loginFooter Configure to display text (HTML) in the footer at the login screen. ============================= =================================================================== .. parsed-literal:: { ... - footerText: "By logging, you are accepting the usage policy" + loginFooter: "By logging, you are accepting the usage policy" } Known Limitations From e5461db3fea2aa9d5adc8aa786a0ead6a6609190 Mon Sep 17 00:00:00 2001 From: utchoang Date: Tue, 16 Nov 2021 16:12:18 +0700 Subject: [PATCH 4/7] move to footer attribute edge --- source/adminguide/ui.rst | 45 +++++++++++++--------------------------- 1 file changed, 14 insertions(+), 31 deletions(-) diff --git a/source/adminguide/ui.rst b/source/adminguide/ui.rst index d27a676c4d..89486ab20f 100644 --- a/source/adminguide/ui.rst +++ b/source/adminguide/ui.rst @@ -185,18 +185,19 @@ Users can customize the CloudStack's user interface by means of a configuration To change the logo, login banner, error page icon, etc. the following details can be edited in config.json: -========== ================================================== -Property Description -========== ================================================== -apiBase Changes the suffix for the API endpoint -docBase Changes the base URL for the documentation -appTitle Changes the title of the portal -footer Changes the footer text -logo Changes the logo top-left side image -banner Changes the login banner image -error.404 Changes the image of error Page not found -error.403 Changes the image of error Forbidden -error.500 Changes the image of error Internal Server Error. +========== ================================================== +Property Description +========== ================================================== +apiBase Changes the suffix for the API endpoint +docBase Changes the base URL for the documentation +appTitle Changes the title of the portal +footer Changes the footer text +logo Changes the logo top-left side image +loginFooter Configure to display text (HTML) in the footer at the login screen. +banner Changes the login banner image +error.404 Changes the image of error Page not found +error.403 Changes the image of error Forbidden +error.500 Changes the image of error Internal Server Error. ========== ================================================== .. parsed-literal:: @@ -205,6 +206,7 @@ error.500 Changes the image of error Internal Server Error. "docBase": "http://docs.cloudstack.apache.org/en/latest", "appTitle": "CloudStack", "footer": "Licensed under the Apache License, Version 2.0.", + "loginFooter": "By logging, you are accepting the usage policy", "logo": "assets/logo.svg", "banner": "assets/banner.svg", "error": { @@ -533,25 +535,6 @@ For the UI to work with different servers, it is necessary to configure the Ngin |ui-multiple-server-management.png| -Footer text option -~~~~~~~~~~~~~~~~~~ - -Users can use the file `/etc/cloudstack/management/config.json` to add the option to display text in the footer at the login screen to show where to get help or display a usage policy. - -To display the text in the footer at the login screen, make the following changes to the config.json file: - -============================= =================================================================== -Property Description -============================= =================================================================== -loginFooter Configure to display text (HTML) in the footer at the login screen. -============================= =================================================================== - -.. parsed-literal:: - { - ... - loginFooter: "By logging, you are accepting the usage policy" - } - Known Limitations ~~~~~~~~~~~~~~~~~ From 92c8bd7e1213a6d0790c316340b4b886b77c61e3 Mon Sep 17 00:00:00 2001 From: utchoang Date: Tue, 16 Nov 2021 16:13:32 +0700 Subject: [PATCH 5/7] change position --- source/adminguide/ui.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/adminguide/ui.rst b/source/adminguide/ui.rst index 89486ab20f..c2522a5cdb 100644 --- a/source/adminguide/ui.rst +++ b/source/adminguide/ui.rst @@ -192,8 +192,8 @@ apiBase Changes the suffix for the API endpoint docBase Changes the base URL for the documentation appTitle Changes the title of the portal footer Changes the footer text -logo Changes the logo top-left side image loginFooter Configure to display text (HTML) in the footer at the login screen. +logo Changes the logo top-left side image banner Changes the login banner image error.404 Changes the image of error Page not found error.403 Changes the image of error Forbidden From 4a5a4fb30b10c8c28cb8d24a18e97efdfba96ab0 Mon Sep 17 00:00:00 2001 From: utchoang Date: Thu, 10 Feb 2022 13:28:44 +0700 Subject: [PATCH 6/7] fixes --- source/adminguide/ui.rst | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/source/adminguide/ui.rst b/source/adminguide/ui.rst index c2522a5cdb..53aefc13c7 100644 --- a/source/adminguide/ui.rst +++ b/source/adminguide/ui.rst @@ -185,20 +185,20 @@ Users can customize the CloudStack's user interface by means of a configuration To change the logo, login banner, error page icon, etc. the following details can be edited in config.json: -========== ================================================== -Property Description -========== ================================================== -apiBase Changes the suffix for the API endpoint -docBase Changes the base URL for the documentation -appTitle Changes the title of the portal -footer Changes the footer text -loginFooter Configure to display text (HTML) in the footer at the login screen. -logo Changes the logo top-left side image -banner Changes the login banner image -error.404 Changes the image of error Page not found -error.403 Changes the image of error Forbidden -error.500 Changes the image of error Internal Server Error. -========== ================================================== +============= ================================================================ +Property Description +============= ================================================================ +apiBase Changes the suffix for the API endpoint +docBase Changes the base URL for the documentation +appTitle Changes the title of the portal +footer Changes the footer text +loginFooter Configure to display text (HTML) in the footer at the login screen. +logo Changes the logo top-left side image +banner Changes the login banner image +error.404 Changes the image of error Page not found +error.403 Changes the image of error Forbidden +error.500 Changes the image of error Internal Server Error. +============ ================================================================ .. parsed-literal:: From fdacc4d429e4c75551ce871600f4d898b7557851 Mon Sep 17 00:00:00 2001 From: utchoang Date: Thu, 10 Feb 2022 13:31:08 +0700 Subject: [PATCH 7/7] fixes --- source/adminguide/ui.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/adminguide/ui.rst b/source/adminguide/ui.rst index 53aefc13c7..a69f1db962 100644 --- a/source/adminguide/ui.rst +++ b/source/adminguide/ui.rst @@ -185,9 +185,9 @@ Users can customize the CloudStack's user interface by means of a configuration To change the logo, login banner, error page icon, etc. the following details can be edited in config.json: -============= ================================================================ +============================= ================================================================ Property Description -============= ================================================================ +============================= ================================================================ apiBase Changes the suffix for the API endpoint docBase Changes the base URL for the documentation appTitle Changes the title of the portal @@ -198,7 +198,7 @@ banner Changes the login banner image error.404 Changes the image of error Page not found error.403 Changes the image of error Forbidden error.500 Changes the image of error Internal Server Error. -============ ================================================================ +============================= ================================================================ .. parsed-literal::