From 7b15274c842b31e8caded3e7f272237f31824852 Mon Sep 17 00:00:00 2001 From: "Shishkevich D." <135337715+shishkevichd@users.noreply.github.com> Date: Mon, 24 Mar 2025 09:45:15 +0000 Subject: chore: moving the settings tabs to a separate directory --- web/html/xui/settings.html | 542 +-------------------------------------------- 1 file changed, 5 insertions(+), 537 deletions(-) (limited to 'web/html/xui/settings.html') diff --git a/web/html/xui/settings.html b/web/html/xui/settings.html index febb26e8..1bf5dab8 100644 --- a/web/html/xui/settings.html +++ b/web/html/xui/settings.html @@ -109,551 +109,19 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + {{ template "settings/panel/general" . }} - - - - - - - - - - - - - - - - - - - - - {{ i18n "confirm" }} - - - - - - - - - - - - - - - - - {{ i18n "confirm" }} - - - - + {{ template "settings/panel/security" . }} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + {{ template "settings/panel/telegram" . }} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + {{ template "settings/panel/subscription/general" . }} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove - - - - Add Noise - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + {{ template "settings/panel/subscription/json" . }} -- cgit v1.2.3 From 3ea05d30c14cea2e245234a232671560d40c4737 Mon Sep 17 00:00:00 2001 From: "Shishkevich D." <135337715+shishkevichd@users.noreply.github.com> Date: Mon, 24 Mar 2025 11:19:27 +0000 Subject: chore: transforming a common sidebar into a separate component - also added saving collapsed state --- web/html/xui/settings.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/html/xui/settings.html') diff --git a/web/html/xui/settings.html b/web/html/xui/settings.html index 1bf5dab8..336a44c3 100644 --- a/web/html/xui/settings.html +++ b/web/html/xui/settings.html @@ -70,7 +70,7 @@ - {{ template "commonSider" . }} + @@ -131,6 +131,7 @@ {{template "js" .}} +{{template "component/aSidebar" .}} {{template "component/aThemeSwitch" .}} {{template "component/aPasswordInput" .}} {{template "component/aSettingListItem" .}} @@ -139,7 +140,6 @@ delimiters: ['[[', ']]'], el: '#app', data: { - siderDrawer, themeSwitcher, spinning: false, changeSecret: false, -- cgit v1.2.3 From a02bf3195d9549dcf58e00e8c1eb2be295cdbe23 Mon Sep 17 00:00:00 2001 From: danilshishkevich Date: Mon, 24 Mar 2025 12:22:12 +0000 Subject: chore: improve styles - elements with class `.collapse-title` are missing - changed paddings in `.ant-xray-version-list-item` element --- web/html/xui/settings.html | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'web/html/xui/settings.html') diff --git a/web/html/xui/settings.html b/web/html/xui/settings.html index 336a44c3..cab41e5a 100644 --- a/web/html/xui/settings.html +++ b/web/html/xui/settings.html @@ -53,20 +53,6 @@ color: inherit; font-size: 24px; } - .collapse-title { - color: inherit; - font-weight: bold; - font-size: 18px; - padding: 10px 20px; - border-bottom: 2px solid; - } - .collapse-title>i { - color: inherit; - font-size: 24px; - } - .ant-collapse-content-box .ant-list-item { - border-bottom: none !important; - } -- cgit v1.2.3