From 4b20f16024769a072fa7c665d605e38134ef2920 Mon Sep 17 00:00:00 2001
From: "Shishkevich D." <135337715+shishkevichd@users.noreply.github.com>
Date: Sun, 22 Jun 2025 00:27:09 +0700
Subject: refactor: new loading logic, icons for tabs
---
web/html/xray.html | 2682 +++++++++++++++++++++++++++-------------------------
1 file changed, 1371 insertions(+), 1311 deletions(-)
(limited to 'web/html/xray.html')
diff --git a/web/html/xray.html b/web/html/xray.html
index 8a60dafe..b6e40858 100644
--- a/web/html/xray.html
+++ b/web/html/xray.html
@@ -9,102 +9,148 @@
margin: 24px 16px;
}
}
+
@media (max-width: 768px) {
.ant-tabs-nav .ant-tabs-tab {
margin: 0;
padding: 12px .5rem;
}
+
.ant-table-thead>tr>th,
.ant-table-tbody>tr>td {
padding: 10px 0px;
}
}
+
.ant-tabs-bar {
margin: 0;
}
+
.ant-list-item {
display: block;
}
+
.ant-list-item>li {
padding: 10px 20px !important;
}
+
.ant-collapse-content-box .ant-alert {
margin-block-end: 12px;
-}
+ }
{{ template "page/head_end" .}}
{{ template "page/body_start" .}}
-
-
+
+
-
+
-
-
+
+
-
-
-
-
-
- {{ i18n "pages.xray.save" }}
- {{ i18n "pages.xray.restart" }}
-
- {{ i18n "pages.index.xrayErrorPopoverTitle" }}
-
- [[ line ]]
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ i18n "pages.xray.save" }}
+
+
+ {{ i18n "pages.xray.restart" }}
+
+
+ {{ i18n "pages.index.xrayErrorPopoverTitle" }}
+
+ [[ line ]]
+
+
+
+
+
+
+
+
-
-
-
+
+
+
-
-
-
-
+
+ { this.changePage(activeKey); }"
+ :class="themeSwitcher.currentTheme">
+
+
+
+ {{ i18n "pages.xray.basicTemplate"}}
+
+ {{ template "settings/xray/basics" . }}
+
+
+
+
+ {{ i18n "pages.xray.Routings"}}
+
+ {{ template "settings/xray/routing" . }}
+
+
+
+
+ {{ i18n "pages.xray.Outbounds"}}
+
+ {{ template "settings/xray/outbounds" . }}
+
+
+
+
+ {{ i18n "pages.xray.outbound.reverse"}}
+
+ {{ template "settings/xray/reverse" . }}
+
+
+
+
+ {{ i18n "pages.xray.Balancers"}}
+
+ {{ template "settings/xray/balancers" . }}
+
+
+
+
+ DNS
+
+ {{ template "settings/xray/dns" . }}
+
+
+
+
+ {{ i18n "pages.xray.advancedTemplate"}}
+
+ {{ template "settings/xray/advanced" . }}
+
+
-
-
- { this.changePage(activeKey); }"
- :class="themeSwitcher.currentTheme">
-
- {{ template "settings/xray/basics" . }}
-
-
- {{ template "settings/xray/routing" . }}
-
-
- {{ template "settings/xray/outbounds" . }}
-
-
- {{ template "settings/xray/reverse" . }}
-
-
- {{ template "settings/xray/balancers" . }}
-
-
- {{ template "settings/xray/dns" . }}
-
-
- {{ template "settings/xray/advanced" . }}
-
-
-
-
+
+
+
-
+
{{template "page/body_scripts" .}}
@@ -131,1282 +177,1296 @@
{{template "modals/fakednsModal"}}
{{template "modals/warpModal"}}