diff --git a/WebContent/WEB-INF/jsp/systemSettings.jsp b/WebContent/WEB-INF/jsp/systemSettings.jsp index b894f0cb14..a030cac79c 100644 --- a/WebContent/WEB-INF/jsp/systemSettings.jsp +++ b/WebContent/WEB-INF/jsp/systemSettings.jsp @@ -16,1372 +16,1795 @@ You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/. --%> -<%@page import="org.scada_lts.dao.SystemSettingsDAO"%> -<%@page import="org.scada_lts.utils.SystemSettingsUtils"%> -<%@page import="com.serotonin.mango.Common"%> -<%@page import="com.serotonin.mango.rt.event.AlarmLevels"%> -<%@page import="com.serotonin.mango.rt.event.type.EventType"%> -<%@page import="com.serotonin.mango.util.freemarker.MangoEmailContent"%> +<%@ page import="org.scada_lts.dao.SystemSettingsDAO" %> +<%@ page import="com.serotonin.mango.Common" %> +<%@ page import="com.serotonin.mango.rt.event.AlarmLevels" %> +<%@ page import="com.serotonin.mango.rt.event.type.EventType" %> +<%@ page import="com.serotonin.mango.util.freemarker.MangoEmailContent" %> <%@ page import="com.serotonin.mango.vo.DataPointVO" %> + <%@ include file="/WEB-INF/jsp/include/tech.jsp" %> <%@ include file="/WEB-INF/jsp/include/highlight.jsp" %> - - - - - - -
- - - - - -
- - - - -
- - - - - - <%-- - - - - - --%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ + (function(){ + function placeSidebar() { + var header = document.getElementById('subHeader'); + + var top = Math.max(0, Math.round(header.getBoundingClientRect().bottom)) - 1; + document.documentElement.style.setProperty('--ss-top', top + 'px'); + } + + window.addEventListener('load', placeSidebar); + window.addEventListener('resize', placeSidebar); + })(); + + dojo.addOnLoad(function() { + ss_mountSectionsIntoContent(); + ss_initLayout(); + }); + + +
- - -
- "/>" type="text" class="formMedium"/> -
- - - -
- "/>" type="text" class="formMedium"/> -
- "/>" type="text" class="formMedium"/> -
- - - + + + + +
- -
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ "/>" type="text" + class="formMedium" /> +
+ + + +
+ "/>" type="text" + class="formMedium" /> +
+ "/>" type="text" + class="formMedium" /> +
+ +
+ + + +
- - - - - -
-
- -
- - - - - -
- - - - -
- - - - - -
-
- -
- - - - - -
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- "/>" type="number" class="formShort"/> - -
- -
- "/>" /> -
- "/>" /> -
- "/>" type="checkbox" /> -
- "/>" type="number" class="formShort"/> -
- "/>" type="checkbox" onchange="workItemsReportingEnabledChange()"/> -
- "/>" type="checkbox" onchange="workItemsReportingItemsPerSecondEnabledChange()"/> -
- "/>" type="number" class="formShort"/> -
- "/>" type="number" class="formShort"/> -
- "/>" type="text" class="formMediumFieldSizing"/> -
- "/>" type="text" class="formMediumFieldSizing"/> -
- "/>" type="checkbox" /> -
- "/>" type="number" class="formShort"/> -
- - - "/>" type="text" class="formMediumFieldSizing"/> -
- - - -
-
- -
- - - - - -
- - - - -
- - - - - -
-
- -
- - - - - -
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"/>" type="text"/>
"/>" type="text"/>
"/>" type="text"/>
"/>" type="text"/>
- "/>" type="checkbox" onclick="smtpAuthChange()"/> -
"/>" type="text"/>
"/>" type="password"/>
"/>" type="checkbox"/>
- -
-
- -
- - - - - -
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- "/>" type="checkbox" - onclick="httpUseProxyChange()"/> -
"/>" type="text"/>
"/>" type="text"/>
"/>" type="text"/>
"/>" type="password"/>
-
- -
- - - - - -
- - - - -
- - <%-- - - - - - --%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"/>"/>
- "/>" type="text" class="formShort"/> - -
- "/>" type="text" class="formShort"/> - -
- "/>" type="text" class="formShort"/> - -
- "/>" type="text" class="formShort"/> - -
- "/>" type="number" class="formMedium"/> -
- " onclick="checkPurgeAllData()" style="margin: 5px;"/> -
- " onclick="purgeNow()" style="margin: 5px;"/> -
-
- - -
- - - - - -
- - - - - -
- - - - - - - - - - - - - - - - -
- - - "/>" type="checkbox"/> -
- - - "/>" type="number" class="formMedium"/> -
- - - "/>" type="number" class="formMedium"/> -
-
-
- - - - - -
- - - - -
- - - - - - - - - -
- -
-
- - + + + + + + + + +
\ No newline at end of file diff --git a/WebContent/assets/common_DARK.css b/WebContent/assets/common_DARK.css index 683fbde319..2ef337f71c 100644 --- a/WebContent/assets/common_DARK.css +++ b/WebContent/assets/common_DARK.css @@ -251,11 +251,27 @@ html > body .dojoTreeNodeLabelTitle { padding-top: 10px; } -#sltsFooter { - text-align:center; +#sltsFooter{ + text-align: center; + position: fixed; + left: var(--slts-sidebar-width, 0px); + right: 0; + bottom: 0; + z-index: 1000; + height: 24px; + display: flex; + align-items: center; + justify-content: center; + padding: 0 8px; + background: var(--slts-color-background); + border-top: 1px solid var(--slts-color-secondary-lighter); + pointer-events: none; } @media screen and (max-width: 730px) { + #sltsFooter { + left: 0; + } #subHeader { flex-direction: column; diff --git a/WebContent/assets/common_DEFAULT.css b/WebContent/assets/common_DEFAULT.css index 296e9cd59b..47b8451f6d 100644 --- a/WebContent/assets/common_DEFAULT.css +++ b/WebContent/assets/common_DEFAULT.css @@ -257,10 +257,23 @@ html > body .dojoTreeNodeLabelTitle { #sltsContent { padding-top: 10px; + padding-bottom: 24px; } -#sltsFooter { - text-align:center; +#sltsFooter{ + text-align: center; + position: fixed; + left: 0; + right: 0; + bottom: 0; + z-index: 1000; + height: 24px; + display: flex; + align-items: center; + justify-content: center; + padding: 0 8px; + background: #fff; + border-top: 1px solid #e5e5e5; } #viewContent button { diff --git a/webapp-resources/messages_de.properties b/webapp-resources/messages_de.properties index 7308c8fecb..e70b73a978 100644 --- a/webapp-resources/messages_de.properties +++ b/webapp-resources/messages_de.properties @@ -3454,4 +3454,10 @@ systemSettings.amChart.limitFactor=Limit factor systemSettings.amChartsSaved=AmCharts settings have been saved systemSettings.scadaConfTitle=Scada-LTS environment settings systemSettings.scadaConfCheck=Check configuration -validate.unsupportedDataType=Data type {0} is not supported \ No newline at end of file +validate.unsupportedDataType=Data type {0} is not supported +systemSettings.sidebar.ariaLabel=System settings navigation +systemSettings.sidebar.searchPlaceholder=Search for settings +systemSettings.sidebar.searchAria=Search settings +systemSettings.sidebar.selectAll=Select all +systemSettings.sidebar.clearAll=Clear all +systemSettings.sidebar.reset=Reset \ No newline at end of file diff --git a/webapp-resources/messages_en.properties b/webapp-resources/messages_en.properties index 9873d02b88..c68155f3d6 100644 --- a/webapp-resources/messages_en.properties +++ b/webapp-resources/messages_en.properties @@ -3457,4 +3457,10 @@ systemSettings.amChart.limitFactor=Limit factor systemSettings.amChartsSaved=AmCharts settings have been saved systemSettings.scadaConfTitle=Scada-LTS environment settings systemSettings.scadaConfCheck=Check configuration -validate.unsupportedDataType=Data type {0} is not supported \ No newline at end of file +validate.unsupportedDataType=Data type {0} is not supported +systemSettings.sidebar.ariaLabel=System settings navigation +systemSettings.sidebar.searchPlaceholder=Search for settings +systemSettings.sidebar.searchAria=Search settings +systemSettings.sidebar.selectAll=Select all +systemSettings.sidebar.clearAll=Clear all +systemSettings.sidebar.reset=Reset \ No newline at end of file diff --git a/webapp-resources/messages_es.properties b/webapp-resources/messages_es.properties index a717417cef..ea5a6a3353 100644 --- a/webapp-resources/messages_es.properties +++ b/webapp-resources/messages_es.properties @@ -3497,4 +3497,10 @@ systemSettings.amChart.limitFactor=Limit factor systemSettings.amChartsSaved=AmCharts settings have been saved systemSettings.scadaConfTitle=Scada-LTS environment settings systemSettings.scadaConfCheck=Check configuration -validate.unsupportedDataType=Data type {0} is not supported \ No newline at end of file +validate.unsupportedDataType=Data type {0} is not supported +systemSettings.sidebar.ariaLabel=System settings navigation +systemSettings.sidebar.searchPlaceholder=Search for settings +systemSettings.sidebar.searchAria=Search settings +systemSettings.sidebar.selectAll=Select all +systemSettings.sidebar.clearAll=Clear all +systemSettings.sidebar.reset=Reset \ No newline at end of file diff --git a/webapp-resources/messages_fi.properties b/webapp-resources/messages_fi.properties index 7cc97de4d9..a6ec69a187 100644 --- a/webapp-resources/messages_fi.properties +++ b/webapp-resources/messages_fi.properties @@ -3582,4 +3582,10 @@ systemSettings.amChart.limitFactor=Limit factor systemSettings.amChartsSaved=AmCharts settings have been saved systemSettings.scadaConfTitle=Scada-LTS environment settings systemSettings.scadaConfCheck=Check configuration -validate.unsupportedDataType=Data type {0} is not supported \ No newline at end of file +validate.unsupportedDataType=Data type {0} is not supported +systemSettings.sidebar.ariaLabel=System settings navigation +systemSettings.sidebar.searchPlaceholder=Search for settings +systemSettings.sidebar.searchAria=Search settings +systemSettings.sidebar.selectAll=Select all +systemSettings.sidebar.clearAll=Clear all +systemSettings.sidebar.reset=Reset \ No newline at end of file diff --git a/webapp-resources/messages_fr.properties b/webapp-resources/messages_fr.properties index c0b4ad6aeb..f6767bc909 100644 --- a/webapp-resources/messages_fr.properties +++ b/webapp-resources/messages_fr.properties @@ -3451,4 +3451,10 @@ systemSettings.amChart.limitFactor=Limit factor systemSettings.amChartsSaved=AmCharts settings have been saved systemSettings.scadaConfTitle=Scada-LTS environment settings systemSettings.scadaConfCheck=Check configuration -validate.unsupportedDataType=Data type {0} is not supported \ No newline at end of file +validate.unsupportedDataType=Data type {0} is not supported +systemSettings.sidebar.ariaLabel=System settings navigation +systemSettings.sidebar.searchPlaceholder=Search for settings +systemSettings.sidebar.searchAria=Search settings +systemSettings.sidebar.selectAll=Select all +systemSettings.sidebar.clearAll=Clear all +systemSettings.sidebar.reset=Reset \ No newline at end of file diff --git a/webapp-resources/messages_lu.properties b/webapp-resources/messages_lu.properties index e412f7af02..a58fe6bb61 100644 --- a/webapp-resources/messages_lu.properties +++ b/webapp-resources/messages_lu.properties @@ -3470,4 +3470,10 @@ systemSettings.amChart.limitFactor=Limit factor systemSettings.amChartsSaved=AmCharts settings have been saved systemSettings.scadaConfTitle=Scada-LTS environment settings systemSettings.scadaConfCheck=Check configuration -validate.unsupportedDataType=Data type {0} is not supported \ No newline at end of file +validate.unsupportedDataType=Data type {0} is not supported +systemSettings.sidebar.ariaLabel=System settings navigation +systemSettings.sidebar.searchPlaceholder=Search for settings +systemSettings.sidebar.searchAria=Search settings +systemSettings.sidebar.selectAll=Select all +systemSettings.sidebar.clearAll=Clear all +systemSettings.sidebar.reset=Reset \ No newline at end of file diff --git a/webapp-resources/messages_nl.properties b/webapp-resources/messages_nl.properties index 75ee3a784c..625798031a 100644 --- a/webapp-resources/messages_nl.properties +++ b/webapp-resources/messages_nl.properties @@ -3572,4 +3572,10 @@ systemSettings.amChart.limitFactor=Limit factor systemSettings.amChartsSaved=AmCharts settings have been saved systemSettings.scadaConfTitle=Scada-LTS environment settings systemSettings.scadaConfCheck=Check configuration -validate.unsupportedDataType=Data type {0} is not supported \ No newline at end of file +validate.unsupportedDataType=Data type {0} is not supported +systemSettings.sidebar.ariaLabel=System settings navigation +systemSettings.sidebar.searchPlaceholder=Search for settings +systemSettings.sidebar.searchAria=Search settings +systemSettings.sidebar.selectAll=Select all +systemSettings.sidebar.clearAll=Clear all +systemSettings.sidebar.reset=Reset \ No newline at end of file diff --git a/webapp-resources/messages_pl.properties b/webapp-resources/messages_pl.properties index 2514b6694a..f47cafc897 100644 --- a/webapp-resources/messages_pl.properties +++ b/webapp-resources/messages_pl.properties @@ -3594,4 +3594,10 @@ systemSettings.amChart.limitFactor=Limit factor systemSettings.amChartsSaved=AmCharts settings have been saved systemSettings.scadaConfTitle=Scada-LTS environment settings systemSettings.scadaConfCheck=Check configuration -validate.unsupportedDataType=Data type {0} is not supported \ No newline at end of file +validate.unsupportedDataType=Data type {0} is not supported +systemSettings.sidebar.ariaLabel=System settings navigation +systemSettings.sidebar.searchPlaceholder=Search for settings +systemSettings.sidebar.searchAria=Search settings +systemSettings.sidebar.selectAll=Select all +systemSettings.sidebar.clearAll=Clear all +systemSettings.sidebar.reset=Reset \ No newline at end of file diff --git a/webapp-resources/messages_pt.properties b/webapp-resources/messages_pt.properties index f38cef2737..2cd5516fae 100644 --- a/webapp-resources/messages_pt.properties +++ b/webapp-resources/messages_pt.properties @@ -3610,3 +3610,9 @@ systemSettings.amChartsSaved=AmCharts settings have been saved systemSettings.scadaConfTitle=Scada-LTS environment settings systemSettings.scadaConfCheck=Check configuration validate.unsupportedDataType=Data type {0} is not supported +systemSettings.sidebar.ariaLabel=System settings navigation +systemSettings.sidebar.searchPlaceholder=Search for settings +systemSettings.sidebar.searchAria=Search settings +systemSettings.sidebar.selectAll=Select all +systemSettings.sidebar.clearAll=Clear all +systemSettings.sidebar.reset=Reset \ No newline at end of file diff --git a/webapp-resources/messages_ru.properties b/webapp-resources/messages_ru.properties index fd33cfed88..97b857c9d4 100644 --- a/webapp-resources/messages_ru.properties +++ b/webapp-resources/messages_ru.properties @@ -3605,4 +3605,10 @@ systemSettings.amChart.limitFactor=Limit factor systemSettings.amChartsSaved=AmCharts settings have been saved systemSettings.scadaConfTitle=Scada-LTS environment settings systemSettings.scadaConfCheck=Check configuration -validate.unsupportedDataType=Data type {0} is not supported \ No newline at end of file +validate.unsupportedDataType=Data type {0} is not supported +systemSettings.sidebar.ariaLabel=System settings navigation +systemSettings.sidebar.searchPlaceholder=Search for settings +systemSettings.sidebar.searchAria=Search settings +systemSettings.sidebar.selectAll=Select all +systemSettings.sidebar.clearAll=Clear all +systemSettings.sidebar.reset=Reset \ No newline at end of file diff --git a/webapp-resources/messages_zh.properties b/webapp-resources/messages_zh.properties index 9d20631c6d..df9ab971a3 100644 --- a/webapp-resources/messages_zh.properties +++ b/webapp-resources/messages_zh.properties @@ -3557,4 +3557,10 @@ systemSettings.amChart.limitFactor=Limit factor systemSettings.amChartsSaved=AmCharts settings have been saved systemSettings.scadaConfTitle=Scada-LTS environment settings systemSettings.scadaConfCheck=Check configuration -validate.unsupportedDataType=Data type {0} is not supported \ No newline at end of file +validate.unsupportedDataType=Data type {0} is not supported +systemSettings.sidebar.ariaLabel=System settings navigation +systemSettings.sidebar.searchPlaceholder=Search for settings +systemSettings.sidebar.searchAria=Search settings +systemSettings.sidebar.selectAll=Select all +systemSettings.sidebar.clearAll=Clear all +systemSettings.sidebar.reset=Reset \ No newline at end of file