From c53cee31f5a64ed3292f977bf5a0749324eb78a2 Mon Sep 17 00:00:00 2001 From: Saeid <43953720+surbiks@users.noreply.github.com> Date: Tue, 6 Feb 2024 11:40:49 +0330 Subject: Manage balancers in settings UI (#1759) * add balancer config to ui * manage balancer in rules table * fix balancer translations * fix edit button text --- web/html/xui/xray.html | 166 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 164 insertions(+), 2 deletions(-) (limited to 'web/html/xui/xray.html') diff --git a/web/html/xui/xray.html b/web/html/xui/xray.html index 267103cb..a144c766 100644 --- a/web/html/xui/xray.html +++ b/web/html/xui/xray.html @@ -327,6 +327,14 @@ [[ rule.outboundTag ]] + + + + Balancer Tag: [[ rule.balancerTag ]] + + [[ rule.balancerTag ]] + + + + {{ 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 + + + [[ sel ]] + + + @@ -474,6 +517,7 @@ {{template "ruleModal"}} {{template "outModal"}} {{template "reverseModal"}} +{{template "balancerModal"}} {{template "warpModal"}}
Balancer Tag: [[ rule.balancerTag ]]