From c419eadf15630518606ab434387079172070d340 Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Tue, 5 Dec 2023 18:13:36 +0100 Subject: xray setting enhancements #1286 --- web/html/xui/xray_reverse_modal.html | 139 +++++++++++++++++++++++++++++++++++ 1 file changed, 139 insertions(+) create mode 100644 web/html/xui/xray_reverse_modal.html (limited to 'web/html/xui/xray_reverse_modal.html') diff --git a/web/html/xui/xray_reverse_modal.html b/web/html/xui/xray_reverse_modal.html new file mode 100644 index 00000000..bd0152bb --- /dev/null +++ b/web/html/xui/xray_reverse_modal.html @@ -0,0 +1,139 @@ +{{define "reverseModal"}} + + + + + [[ x ]] + + + + + + + + + + + + + +{{end}} -- cgit v1.2.3 From aa196372887dcfd1048522d13c573f8c0296548c Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Tue, 5 Dec 2023 23:03:38 +0100 Subject: outbound tag validation #1286 --- web/html/xui/xray_reverse_modal.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/html/xui/xray_reverse_modal.html') diff --git a/web/html/xui/xray_reverse_modal.html b/web/html/xui/xray_reverse_modal.html index bd0152bb..71a21517 100644 --- a/web/html/xui/xray_reverse_modal.html +++ b/web/html/xui/xray_reverse_modal.html @@ -111,9 +111,9 @@ ] } this.isEdit = isEdit; - this.inboundTags = app.templateSettings.inbounds.map(obj => obj.tag); + this.inboundTags = app.templateSettings.inbounds.filter((i) => !ObjectUtil.isEmpty(i.tag)).map(obj => obj.tag); this.inboundTags.push(...app.inboundTags); - this.outboundTags = app.templateSettings.outbounds.map(obj => obj.tag); + this.outboundTags = app.templateSettings.outbounds.filter((o) => !ObjectUtil.isEmpty(o.tag)).map(obj => obj.tag); }, close() { reverseModal.visible = false; -- cgit v1.2.3 From 38013e5ea942f35d7f187b476c2f8914281b6c18 Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Fri, 8 Dec 2023 19:45:19 +0100 Subject: fit xray settings #1300 --- web/html/xui/xray_reverse_modal.html | 101 ++++++++++++++++++++++++----------- 1 file changed, 69 insertions(+), 32 deletions(-) (limited to 'web/html/xui/xray_reverse_modal.html') 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 -- cgit v1.2.3