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 @@