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/form/outbound.html | 306 +++++++++++++++++++ web/html/xui/inbounds.html | 6 + web/html/xui/index.html | 1 + web/html/xui/settings.html | 3 +- web/html/xui/xray.html | 560 +++++++++++++++++++++++++++++++--- web/html/xui/xray_outbound_modal.html | 125 ++++++++ web/html/xui/xray_reverse_modal.html | 139 +++++++++ web/html/xui/xray_rule_modal.html | 213 +++++++++++++ 8 files changed, 1307 insertions(+), 46 deletions(-) create mode 100644 web/html/xui/form/outbound.html create mode 100644 web/html/xui/xray_outbound_modal.html create mode 100644 web/html/xui/xray_reverse_modal.html create mode 100644 web/html/xui/xray_rule_modal.html (limited to 'web/html/xui') diff --git a/web/html/xui/form/outbound.html b/web/html/xui/form/outbound.html new file mode 100644 index 00000000..a8b58ba0 --- /dev/null +++ b/web/html/xui/form/outbound.html @@ -0,0 +1,306 @@ +{{define "form/outbound"}} + + + + + + + [[ y ]] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Link: + + + + + +{{end}} \ No newline at end of file diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html index f8ba5a51..2a6d74ab 100644 --- a/web/html/xui/inbounds.html +++ b/web/html/xui/inbounds.html @@ -429,6 +429,12 @@ {{template "js" .}} + + + + + + {{template "component/themeSwitcher" .}} {{template "component/themeSwitcher" .}} {{template "textModal"}} {{template "component/themeSwitcher" .}} {{template "component/password" .}} {{template "component/setting"}} @@ -267,7 +268,7 @@ oldAllSetting: new AllSetting(), allSetting: new AllSetting(), saveBtnDisable: true, - user: new User(), + user: {}, lang: getLang(), }, methods: { diff --git a/web/html/xui/xray.html b/web/html/xui/xray.html index ff22bfe5..9bcacebd 100644 --- a/web/html/xui/xray.html +++ b/web/html/xui/xray.html @@ -1,6 +1,22 @@ {{template "head" .}} + + + + + + + + + + + + + + + +