From 6f4eefe60181a9913155ec8c1cc644bf78b23ea3 Mon Sep 17 00:00:00 2001 From: "Shishkevich D." <135337715+shishkevichd@users.noreply.github.com> Date: Fri, 21 Mar 2025 15:09:05 +0000 Subject: chore: make class to get the device form factor --- web/html/xui/xray.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/html/xui/xray.html') diff --git a/web/html/xui/xray.html b/web/html/xui/xray.html index 8ba14f7d..f8f3071d 100644 --- a/web/html/xui/xray.html +++ b/web/html/xui/xray.html @@ -877,7 +877,7 @@ refreshing: false, restartResult: '', showAlert: false, - isMobile: window.innerWidth <= 768, + isMobile: DeviceUtils.isMobile(), advSettings: 'xraySetting', obsSettings: '', cm: null, -- cgit v1.2.3 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/xray.html | 676 +------------------------------------------------ 1 file changed, 9 insertions(+), 667 deletions(-) (limited to 'web/html/xui/xray.html') diff --git a/web/html/xui/xray.html b/web/html/xui/xray.html index f8f3071d..07737509 100644 --- a/web/html/xui/xray.html +++ b/web/html/xui/xray.html @@ -6,7 +6,6 @@ - @@ -104,682 +103,25 @@ @change="(activeKey) => { this.changePage(activeKey); }" :class="themeSwitcher.currentTheme"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{ i18n "pages.settings.resetDefaultConfig" }} - - - + {{ template "settings/xray/basics" . }} - - {{ i18n "pages.xray.rules.add" }} - - - - - - - - + {{ template "settings/xray/routing" . }} - - - - - - {{ i18n "pages.xray.outbound.addOutbound" }} - - WARP - - - - - - - - - - - - - - - - - + {{ template "settings/xray/outbounds" . }} - - + {{ template "settings/xray/reverse" . }} - - + {{ template "settings/xray/balancers" . }} + + + {{ template "settings/xray/dns" . }} - - - - - - - - - - - - - - - - - {{ i18n "pages.xray.completeTemplate"}} - {{ i18n "pages.xray.Inbounds" }} - {{ i18n "pages.xray.Outbounds" }} - {{ i18n "pages.xray.Routings" }} - - - + {{ template "settings/xray/advanced" . }} -- cgit v1.2.3 From 14253c35864828458ef3eeecb05591a7ae6e641e Mon Sep 17 00:00:00 2001 From: "Shishkevich D." <135337715+shishkevichd@users.noreply.github.com> Date: Mon, 24 Mar 2025 09:57:37 +0000 Subject: chore: moving the modals to a separate directory --- web/html/xui/xray.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'web/html/xui/xray.html') diff --git a/web/html/xui/xray.html b/web/html/xui/xray.html index 07737509..8eb8239a 100644 --- a/web/html/xui/xray.html +++ b/web/html/xui/xray.html @@ -133,13 +133,13 @@ {{template "component/aThemeSwitch" .}} {{template "component/aTableSortable" .}} {{template "component/aSettingListItem" .}} -{{template "ruleModal"}} -{{template "outModal"}} -{{template "reverseModal"}} -{{template "balancerModal"}} -{{template "dnsModal"}} -{{template "fakednsModal"}} -{{template "warpModal"}} +{{template "modals/ruleModal"}} +{{template "modals/outModal"}} +{{template "modals/reverseModal"}} +{{template "modals/balancerModal"}} +{{template "modals/dnsModal"}} +{{template "modals/fakednsModal"}} +{{template "modals/warpModal"}}