diff --git a/web/assets/js/util/common.js b/web/assets/js/util/common.js
index 808b1ba9..a695f081 100644
--- a/web/assets/js/util/common.js
+++ b/web/assets/js/util/common.js
@@ -90,3 +90,12 @@ function setCookie(cname, cvalue, exdays) {
let expires = 'expires=' + d.toUTCString();
document.cookie = cname + '=' + cvalue + ';' + expires + ';path=/';
}
+
+function doAllItemsExist(array1, array2) {
+ for (let i = 0; i < array1.length; i++) {
+ if (!array2.includes(array1[i])) {
+ return false;
+ }
+ }
+ return true;
+}
\ No newline at end of file
diff --git a/web/html/xui/settings.html b/web/html/xui/settings.html
index 49e62df9..7226c0ac 100644
--- a/web/html/xui/settings.html
+++ b/web/html/xui/settings.html
@@ -24,7 +24,6 @@
background: white;
}
-
{{ template "commonSider" . }}
@@ -64,7 +63,8 @@
style="width: 100%"
>
-
+
+
@@ -72,8 +72,13 @@
+
+
+
+ {{ i18n "pages.settings.infoDesc" }}
+
+
-
@@ -116,7 +121,7 @@
@@ -138,7 +143,12 @@
{{ i18n "pages.settings.resetDefaultConfig" }}
{{ i18n "pages.settings.templates.title"}}
-
+
+
+
+ {{ i18n "pages.settings.infoDesc" }}
+
+
@@ -149,17 +159,62 @@
{{ i18n "pages.settings.templates.generalConfigsDesc" }}
-
-
-
-
-
+
+
+
+
+
+
+
+
+ [[ s ]]
+
+
+
+
+
+
+
+
+
+
+
+
+ [[ s ]]
+
+
+
+
+
-
+
- {{ i18n "pages.settings.templates.countryConfigsDesc" }}
+ {{ i18n "pages.settings.templates.blockConfigsDesc" }}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ i18n "pages.settings.templates.blockCountryConfigsDesc" }}
@@ -169,6 +224,20 @@
+
+
+
+
+ {{ i18n "pages.settings.templates.directCountryConfigsDesc" }}
+
+
+
+
+
+
+
+
+
@@ -191,6 +260,18 @@
+
+
+
+
+ {{ i18n "pages.settings.templates.manualListsDesc" }}
+
+
+
+
+
+
+
@@ -222,6 +303,12 @@
+
+
+
+ {{ i18n "pages.settings.infoDesc" }}
+
+
@@ -229,14 +316,11 @@
-
{{template "js" .}}
{{template "component/themeSwitcher" .}}
{{template "component/password" .}}
{{template "component/setting"}}
-
-
-