From 14253c35864828458ef3eeecb05591a7ae6e641e Mon Sep 17 00:00:00 2001 From: "Shishkevich D." <135337715+shishkevichd@users.noreply.github.com> Date: Mon, 24 Mar 2025 09:57:37 +0000 Subject: [PATCH] chore: moving the modals to a separate directory --- web/html/xui/inbounds.html | 14 +++++++------- web/html/xui/{ => modals}/client_bulk_modal.html | 2 +- web/html/xui/{ => modals}/client_modal.html | 2 +- web/html/xui/{ => modals}/dns_modal.html | 2 +- web/html/xui/{ => modals}/fakedns_modal.html | 2 +- web/html/xui/{ => modals}/inbound_info_modal.html | 2 +- web/html/xui/{ => modals}/inbound_modal.html | 2 +- web/html/{common => xui/modals}/prompt_modal.html | 2 +- web/html/{common => xui/modals}/qrcode_modal.html | 2 +- web/html/{common => xui/modals}/text_modal.html | 2 +- web/html/xui/{ => modals}/warp_modal.html | 2 +- web/html/xui/{ => modals}/xray_balancer_modal.html | 2 +- web/html/xui/{ => modals}/xray_outbound_modal.html | 2 +- web/html/xui/{ => modals}/xray_reverse_modal.html | 2 +- web/html/xui/{ => modals}/xray_rule_modal.html | 2 +- web/html/xui/xray.html | 14 +++++++------- 16 files changed, 28 insertions(+), 28 deletions(-) rename web/html/xui/{ => modals}/client_bulk_modal.html (99%) rename web/html/xui/{ => modals}/client_modal.html (99%) rename web/html/xui/{ => modals}/dns_modal.html (99%) rename web/html/xui/{ => modals}/fakedns_modal.html (98%) rename web/html/xui/{ => modals}/inbound_info_modal.html (99%) rename web/html/xui/{ => modals}/inbound_modal.html (99%) rename web/html/{common => xui/modals}/prompt_modal.html (98%) rename web/html/{common => xui/modals}/qrcode_modal.html (99%) rename web/html/{common => xui/modals}/text_modal.html (98%) rename web/html/xui/{ => modals}/warp_modal.html (99%) rename web/html/xui/{ => modals}/xray_balancer_modal.html (99%) rename web/html/xui/{ => modals}/xray_outbound_modal.html (99%) rename web/html/xui/{ => modals}/xray_reverse_modal.html (99%) rename web/html/xui/{ => modals}/xray_rule_modal.html (99%) diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html index 943334298..fd6ebe8d4 100644 --- a/web/html/xui/inbounds.html +++ b/web/html/xui/inbounds.html @@ -1524,12 +1524,12 @@ }); -{{template "inboundModal"}} -{{template "promptModal"}} -{{template "qrcodeModal"}} -{{template "textModal"}} -{{template "inboundInfoModal"}} -{{template "clientsModal"}} -{{template "clientsBulkModal"}} +{{template "modals/inboundModal"}} +{{template "modals/promptModal"}} +{{template "modals/qrcodeModal"}} +{{template "modals/textModal"}} +{{template "modals/inboundInfoModal"}} +{{template "modals/clientsModal"}} +{{template "modals/clientsBulkModal"}} diff --git a/web/html/xui/client_bulk_modal.html b/web/html/xui/modals/client_bulk_modal.html similarity index 99% rename from web/html/xui/client_bulk_modal.html rename to web/html/xui/modals/client_bulk_modal.html index 82e68c742..88e8e645e 100644 --- a/web/html/xui/client_bulk_modal.html +++ b/web/html/xui/modals/client_bulk_modal.html @@ -1,4 +1,4 @@ -{{define "clientsBulkModal"}} +{{define "modals/clientsBulkModal"}} diff --git a/web/html/xui/client_modal.html b/web/html/xui/modals/client_modal.html similarity index 99% rename from web/html/xui/client_modal.html rename to web/html/xui/modals/client_modal.html index aa62e02a7..b6d2a554a 100644 --- a/web/html/xui/client_modal.html +++ b/web/html/xui/modals/client_modal.html @@ -1,4 +1,4 @@ -{{define "clientsModal"}} +{{define "modals/clientsModal"}} diff --git a/web/html/xui/fakedns_modal.html b/web/html/xui/modals/fakedns_modal.html similarity index 98% rename from web/html/xui/fakedns_modal.html rename to web/html/xui/modals/fakedns_modal.html index 1b4dbe777..8e554ac02 100644 --- a/web/html/xui/fakedns_modal.html +++ b/web/html/xui/modals/fakedns_modal.html @@ -1,4 +1,4 @@ -{{define "fakednsModal"}} +{{define "modals/fakednsModal"}} diff --git a/web/html/xui/inbound_info_modal.html b/web/html/xui/modals/inbound_info_modal.html similarity index 99% rename from web/html/xui/inbound_info_modal.html rename to web/html/xui/modals/inbound_info_modal.html index 5ac5e9abd..50a52190a 100644 --- a/web/html/xui/inbound_info_modal.html +++ b/web/html/xui/modals/inbound_info_modal.html @@ -1,4 +1,4 @@ -{{define "inboundInfoModal"}} +{{define "modals/inboundInfoModal"}} diff --git a/web/html/xui/inbound_modal.html b/web/html/xui/modals/inbound_modal.html similarity index 99% rename from web/html/xui/inbound_modal.html rename to web/html/xui/modals/inbound_modal.html index 4de3518cb..99d182b9f 100644 --- a/web/html/xui/inbound_modal.html +++ b/web/html/xui/modals/inbound_modal.html @@ -1,4 +1,4 @@ -{{define "inboundModal"}} +{{define "modals/inboundModal"}} diff --git a/web/html/xui/warp_modal.html b/web/html/xui/modals/warp_modal.html similarity index 99% rename from web/html/xui/warp_modal.html rename to web/html/xui/modals/warp_modal.html index 20ce81398..7fb558474 100644 --- a/web/html/xui/warp_modal.html +++ b/web/html/xui/modals/warp_modal.html @@ -1,4 +1,4 @@ -{{define "warpModal"}} +{{define "modals/warpModal"}} diff --git a/web/html/xui/xray_balancer_modal.html b/web/html/xui/modals/xray_balancer_modal.html similarity index 99% rename from web/html/xui/xray_balancer_modal.html rename to web/html/xui/modals/xray_balancer_modal.html index de2a0acb4..fea4019a9 100644 --- a/web/html/xui/xray_balancer_modal.html +++ b/web/html/xui/modals/xray_balancer_modal.html @@ -1,4 +1,4 @@ -{{define "balancerModal"}} +{{define "modals/balancerModal"}} diff --git a/web/html/xui/xray_rule_modal.html b/web/html/xui/modals/xray_rule_modal.html similarity index 99% rename from web/html/xui/xray_rule_modal.html rename to web/html/xui/modals/xray_rule_modal.html index aba5ba9ea..4be74a8fd 100644 --- a/web/html/xui/xray_rule_modal.html +++ b/web/html/xui/modals/xray_rule_modal.html @@ -1,4 +1,4 @@ -{{define "ruleModal"}} +{{define "modals/ruleModal"}} diff --git a/web/html/xui/xray.html b/web/html/xui/xray.html index 077375096..8eb8239a6 100644 --- a/web/html/xui/xray.html +++ b/web/html/xui/xray.html @@ -133,13 +133,13 @@ {{template "component/aThemeSwitch" .}} {{template "component/aTableSortable" .}} {{template "component/aSettingListItem" .}} -{{template "ruleModal"}} -{{template "outModal"}} -{{template "reverseModal"}} -{{template "balancerModal"}} -{{template "dnsModal"}} -{{template "fakednsModal"}} -{{template "warpModal"}} +{{template "modals/ruleModal"}} +{{template "modals/outModal"}} +{{template "modals/reverseModal"}} +{{template "modals/balancerModal"}} +{{template "modals/dnsModal"}} +{{template "modals/fakednsModal"}} +{{template "modals/warpModal"}}