From 5ca68b9a46dedf190ed874f2a27be00642fb5772 Mon Sep 17 00:00:00 2001
From: Tara Rostami <132676256+TaraRostami@users.noreply.github.com>
Date: Thu, 14 Mar 2024 22:54:03 +0330
Subject: [PATCH] Update xray.html
---
web/html/xui/xray.html | 1205 ++++++++++++++++++++--------------------
1 file changed, 610 insertions(+), 595 deletions(-)
diff --git a/web/html/xui/xray.html b/web/html/xui/xray.html
index 98dacd92..618d17d4 100644
--- a/web/html/xui/xray.html
+++ b/web/html/xui/xray.html
@@ -24,7 +24,6 @@
margin: 24px 16px;
}
}
-
@media (max-width: 768px) {
.ant-tabs-nav .ant-tabs-tab {
margin: 0;
@@ -35,15 +34,12 @@
padding: 10px 0px;
}
}
-
.ant-tabs-bar {
margin: 0;
}
-
.ant-list-item {
display: block;
}
-
.collapse-title {
color: inherit;
font-weight: bold;
@@ -51,606 +47,625 @@
padding: 10px 20px;
border-bottom: 2px solid;
}
-
.collapse-title > i {
color: inherit;
font-size: 24px;
}
+ .ant-collapse-content-box > li {
+ padding: 12px 0 0 0 !important;
+ }
+ .ant-list-item > li {
+ padding: 10px 20px !important;
+ }
-
+
{{ template "commonSider" . }}
-
-
-
-
-
-
-
-
-
-
-
- {{ i18n "pages.xray.save" }}
- {{ i18n "pages.xray.restart" }}
-
- Error in running xray-core
-
- [[ line ]]
-
-
-
-
-
-
-
-
-
-
-
-
- { this.changePage(activeKey); }"
- :class="themeSwitcher.currentTheme">
-
-
-
-
-
-
-
- {{ i18n "pages.xray.generalConfigsDesc" }}
-
-
-
-
-
-
-
-
-
-
-
- [[ s ]]
-
-
-
-
-
-
-
-
-
-
-
- [[ s ]]
-
-
-
-
-
-
-
-
-
-
- {{ i18n "pages.xray.logConfigsDesc" }}
-
-
-
-
-
-
-
-
-
-
- [[ s ]]
-
-
-
-
-
-
-
-
-
-
-
- [[ s ]]
-
-
-
-
-
-
-
-
-
-
-
- [[ s ]]
-
-
-
-
-
-
-
-
-
-
-
- {{ i18n "pages.xray.blockConfigsDesc" }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ i18n "pages.xray.blockCountryConfigsDesc" }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ i18n "pages.xray.directCountryConfigsDesc" }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ i18n "pages.xray.ipv4ConfigsDesc" }}
-
-
-
-
-
-
-
-
-
-
-
- {{ i18n "pages.xray.warpConfigsDesc" }}
-
-
-
-
-
-
-
-
-
-
-
-
- WARP
-
-
-
- {{ i18n "pages.settings.resetDefaultConfig" }}
-
-
-
-
-
- {{ i18n "pages.xray.rules.add" }}
-
-
-
-
- [[ index+1 ]]
-
-
- e.preventDefault()" type="more" style="font-size: 16px; text-decoration: bold;">
-
-
-
- {{ i18n "pages.xray.rules.first"}}
-
-
-
- {{ i18n "pages.xray.rules.up"}}
-
-
-
- {{ i18n "pages.xray.rules.down"}}
-
-
-
- {{ i18n "pages.xray.rules.last"}}
-
-
-
- {{ i18n "edit" }}
-
-
-
- {{ i18n "delete"}}
-
-
-
-
-
-
-
-
- Inbound Tag: [[ rule.inboundTag ]]
- User email: [[ rule.user ]]
-
- [[ [rule.inboundTag,rule.user].join('\n') ]]
-
-
-
-
-
- Outbound Tag: [[ rule.outboundTag ]]
-
- [[ rule.outboundTag ]]
-
-
-
-
-
- Balancer Tag: [[ rule.balancerTag ]]
-
- [[ rule.balancerTag ]]
-
-
-
-
-
-
-
- Source |
- [[ r ]] |
-
-
- Source Port |
- [[ r ]] |
-
-
- Network |
- [[ r ]] |
-
-
- Protocol |
- [[ r ]] |
-
-
- Attrs |
- [[ r ]] |
-
-
- IP |
- [[ r ]] |
-
-
- Domain |
- [[ r ]] |
-
-
- Port |
- [[ r ]] |
-
-
- Balancer Tag |
- [[ rule.balancerTag ]] |
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ i18n
- "pages.xray.outbound.addOutbound" }}
- WARP
-
-
-
-
-
-
-
-
-
-
-
- [[ index+1 ]]
-
- e.preventDefault()" type="more" style="font-size: 16px; text-decoration: bold;">
-
-
-
- {{ i18n "pages.xray.rules.first"}}
-
-
-
- {{ i18n "edit" }}
-
-
-
- {{ i18n "pages.inbounds.resetTraffic"}}
-
-
-
-
- {{ i18n "delete"}}
-
-
-
-
-
-
- [[ addr ]]
-
-
- [[ outbound.protocol ]]
-
- [[ outbound.streamSettings.network ]]
- tls
- reality
-
-
-
- [[ findOutboundTraffic(outbound) ]]
-
-
-
-
- {{ i18n "pages.xray.outbound.addReverse" }}
-
-
- [[ index+1 ]]
-
- e.preventDefault()" type="more" style="font-size: 16px; text-decoration: bold;">
-
-
-
- {{ i18n "edit" }}
-
-
-
- {{ i18n "delete"}}
-
-
-
-
-
-
-
-
- {{ i18n "pages.xray.balancer.addBalancer"}}
-
-
- [[ index+1 ]]
-
- e.preventDefault()" type="more" style="font-size: 16px; text-decoration: bold;">
-
-
-
- {{ i18n "edit" }}
-
-
-
- {{ i18n "delete"}}
-
-
-
-
-
-
- Random
- Round Robin
- Least Load
- Least Ping
-
-
- [[ sel ]]
-
-
-
- Observatory
- Burst Observatory
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [[ l ]]
-
-
-
-
-
- DNS
- {{ i18n "pages.xray.dns.add" }}
-
-
- [[ index+1 ]]
-
- e.preventDefault()" type="more" style="font-size: 16px; text-decoration: bold;">
-
-
-
- {{ i18n "edit" }}
-
-
-
- {{ i18n "delete"}}
-
-
-
-
-
-
- [[ dns.address ]]
- [[ dns ]]
-
-
- [[ dns.domains.join(",") ]]
-
-
- Fake DNS
- {{ i18n "pages.xray.fakedns.add" }}
-
-
- [[ index+1 ]]
-
- e.preventDefault()" type="more"
- style="font-size: 16px; text-decoration: bold;">
-
-
-
- {{ i18n "edit" }}
-
-
-
- {{ i18n "delete"}}
-
-
-
-
-
-
-
-
-
-
-
- {{ i18n "pages.xray.completeTemplate"}}
- {{ i18n "pages.xray.Inbounds" }}
- {{ i18n "pages.xray.Outbounds" }}
- {{ i18n "pages.xray.Routings" }}
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+ {{ i18n "pages.xray.save" }}
+ {{ i18n "pages.xray.restart" }}
+
+ Error in running xray-core
+
+ [[ line ]]
+
+
+
+
+
+
+
+
+
+
+
+
+ { this.changePage(activeKey); }"
+ :class="themeSwitcher.currentTheme">
+
+
+
+
+
+
+
+ {{ i18n "pages.xray.generalConfigsDesc" }}
+
+
+
+
+
+
+
+
+
+
+
+
+ [[ s ]]
+
+
+
+
+
+
+
+
+
+
+
+ [[ s ]]
+
+
+
+
+
+
+
+
+
+
+ {{ i18n "pages.xray.logConfigsDesc" }}
+
+
+
+
+
+
+
+
+
+
+
+
+ [[ s ]]
+
+
+
+
+
+
+
+
+
+
+
+
+ [[ s ]]
+
+
+
+
+
+
+
+
+
+
+
+
+ [[ s ]]
+
+
+
+
+
+
+
+
+
+
+
+ {{ i18n "pages.xray.blockConfigsDesc" }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ i18n "pages.xray.blockCountryConfigsDesc" }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ i18n "pages.xray.directCountryConfigsDesc" }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ i18n "pages.xray.ipv4ConfigsDesc" }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ i18n "pages.xray.warpConfigsDesc" }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ WARP
+
+
+
+
+ {{ i18n "pages.settings.resetDefaultConfig" }}
+
+
+
+
+
+ {{ i18n "pages.xray.rules.add" }}
+
+
+
+ [[ index+1 ]]
+
+ e.preventDefault()" type="more" style="font-size: 16px; text-decoration: bold;">
+
+
+
+ {{ i18n "pages.xray.rules.first"}}
+
+
+
+ {{ i18n "pages.xray.rules.up"}}
+
+
+
+ {{ i18n "pages.xray.rules.down"}}
+
+
+
+ {{ i18n "pages.xray.rules.last"}}
+
+
+
+ {{ i18n "edit" }}
+
+
+
+ {{ i18n "delete"}}
+
+
+
+
+
+
+
+
+ Inbound Tag: [[ rule.inboundTag ]]
+ User email: [[ rule.user ]]
+
+ [[ [rule.inboundTag,rule.user].join('\n') ]]
+
+
+
+
+
+ Outbound Tag: [[ rule.outboundTag ]]
+
+ [[ rule.outboundTag ]]
+
+
+
+
+
+ Balancer Tag: [[ rule.balancerTag ]]
+
+ [[ rule.balancerTag ]]
+
+
+
+
+
+
+
+ Source |
+ [[ r ]] |
+
+
+ Source Port |
+ [[ r ]] |
+
+
+ Network |
+ [[ r ]] |
+
+
+ Protocol |
+ [[ r ]] |
+
+
+ Attrs |
+ [[ r ]] |
+
+
+ IP |
+ [[ r ]] |
+
+
+ Domain |
+ [[ r ]] |
+
+
+ Port |
+ [[ r ]] |
+
+
+ Balancer Tag |
+ [[ rule.balancerTag ]] |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ i18n "pages.xray.outbound.addOutbound" }}
+
+ WARP
+
+
+
+
+
+
+
+
+
+
+
+ [[ index+1 ]]
+
+ e.preventDefault()" type="more" style="font-size: 16px; text-decoration: bold;">
+
+
+
+ {{ i18n "pages.xray.rules.first"}}
+
+
+
+ {{ i18n "edit" }}
+
+
+
+ {{ i18n "pages.inbounds.resetTraffic"}}
+
+
+
+
+ {{ i18n "delete"}}
+
+
+
+
+
+
+ [[ addr ]]
+
+
+ [[ outbound.protocol ]]
+
+ [[ outbound.streamSettings.network ]]
+ tls
+ reality
+
+
+
+ [[ findOutboundTraffic(outbound) ]]
+
+
+
+
+
+ {{ i18n "pages.xray.outbound.addReverse" }}
+
+
+
+ [[ index+1 ]]
+
+ e.preventDefault()" type="more" style="font-size: 16px; text-decoration: bold;">
+
+
+
+ {{ i18n "edit" }}
+
+
+
+ {{ i18n "delete"}}
+
+
+
+
+
+
+
+
+
+ {{ i18n "pages.xray.balancer.addBalancer"}}
+
+
+
+ [[ index+1 ]]
+
+ e.preventDefault()" type="more" style="font-size: 16px; text-decoration: bold;">
+
+
+
+ {{ i18n "edit" }}
+
+
+
+ {{ i18n "delete"}}
+
+
+
+
+
+
+ Random
+ Round Robin
+ Least Load
+ Least Ping
+
+
+ [[ sel ]]
+
+
+
+ Observatory
+ Burst Observatory
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [[ l ]]
+
+
+
+
+
+ DNS
+ {{ i18n "pages.xray.dns.add" }}
+
+
+ [[ index+1 ]]
+
+ e.preventDefault()" type="more" style="font-size: 16px; text-decoration: bold;">
+
+
+
+ {{ i18n "edit" }}
+
+
+
+ {{ i18n "delete"}}
+
+
+
+
+
+
+ [[ dns.address ]]
+ [[ dns ]]
+
+
+ [[ dns.domains.join(",") ]]
+
+
+ Fake DNS
+ {{ i18n "pages.xray.fakedns.add" }}
+
+
+ [[ index+1 ]]
+
+ e.preventDefault()" type="more"
+ style="font-size: 16px; text-decoration: bold;">
+
+
+
+ {{ i18n "edit" }}
+
+
+
+ {{ i18n "delete"}}
+
+
+
+
+
+
+
+
+
+
+
+ {{ i18n "pages.xray.completeTemplate"}}
+ {{ i18n "pages.xray.Inbounds" }}
+ {{ i18n "pages.xray.Outbounds" }}
+ {{ i18n "pages.xray.Routings" }}
+
+
+
+
+
+
+
-
+
{{template "js" .}}
{{template "component/themeSwitcher" .}}
{{template "component/sortableTable" .}}