From 38013e5ea942f35d7f187b476c2f8914281b6c18 Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Fri, 8 Dec 2023 19:45:19 +0100 Subject: [PATCH] fit xray settings #1300 --- web/html/xui/form/outbound.html | 690 ++++++++++++++++++--------- web/html/xui/xray_reverse_modal.html | 101 ++-- web/html/xui/xray_rule_modal.html | 228 +++++---- 3 files changed, 679 insertions(+), 340 deletions(-) diff --git a/web/html/xui/form/outbound.html b/web/html/xui/form/outbound.html index cd6b5f28..3473713b 100644 --- a/web/html/xui/form/outbound.html +++ b/web/html/xui/form/outbound.html @@ -3,296 +3,534 @@ - - - [[ y ]] - - - - - + + + + + + + + + + +
{{ i18n "protocol" }} + + + [[ y ]] + + +
{{ i18n "pages.xray.outbound.tag" }} + + + +
diff --git a/web/html/xui/xray_reverse_modal.html b/web/html/xui/xray_reverse_modal.html index 71a21517..b3a69cc3 100644 --- a/web/html/xui/xray_reverse_modal.html +++ b/web/html/xui/xray_reverse_modal.html @@ -3,41 +3,78 @@ :confirm-loading="reverseModal.confirmLoading" :closable="true" :mask-closable="false" :ok-text="reverseModal.okText" cancel-text='{{ i18n "close" }}' :class="themeSwitcher.currentTheme"> - - - [[ x ]] - - - - - - - - + + + + + + + + + + + + + +
{{ i18n "pages.xray.outbound.type" }} + + + [[ x ]] + + +
{{ i18n "pages.xray.outbound.tag" }} + + + +
{{ i18n "pages.xray.outbound.domain" }} + + + +
-{{end}} +{{end}} \ No newline at end of file diff --git a/web/html/xui/xray_rule_modal.html b/web/html/xui/xray_rule_modal.html index 6c5b3c08..a5fd2e54 100644 --- a/web/html/xui/xray_rule_modal.html +++ b/web/html/xui/xray_rule_modal.html @@ -3,87 +3,149 @@ :confirm-loading="ruleModal.confirmLoading" :closable="true" :mask-closable="false" :ok-text="ruleModal.okText" cancel-text='{{ i18n "close" }}' :class="themeSwitcher.currentTheme"> - - - [[ dm ]] - - - - - - - - - - - - - - - - - - - [[ x ]] - - - - - [[ x ]] - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [[ tag ]] - - - - - [[ tag ]] - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Domain Matcher + + + [[ dm ]] + + +
Source IPs + + + + + + + + +
Source Port + + + + + + + + +
Network + + + [[ x ]] + + +
Protocol + + + [[ x ]] + + +
+ + Attributes + + + + + + + + - + + + +
IP + + + + + + + + +
Domain + + + + + + + + +
Port + + + + + + + + +
Inbound Tags + + + [[ tag ]] + + +
Outbound Tag + + + [[ tag ]] + + +
-{{end}} +{{end}} \ No newline at end of file