From e6eb99eb978169c5f19473348b15949d218b956a Mon Sep 17 00:00:00 2001 From: "Shishkevich D." <135337715+shishkevichd@users.noreply.github.com> Date: Tue, 18 Mar 2025 10:21:44 +0000 Subject: [PATCH] chore: pretty 'Inbounds' page --- web/html/xui/inbounds.html | 770 ++++++++++++++------------- web/translation/translate.en_US.toml | 2 + web/translation/translate.es_ES.toml | 2 + web/translation/translate.fa_IR.toml | 2 + web/translation/translate.id_ID.toml | 2 + web/translation/translate.ja_JP.toml | 2 + web/translation/translate.pt_BR.toml | 2 + web/translation/translate.ru_RU.toml | 2 + web/translation/translate.tr_TR.toml | 2 + web/translation/translate.uk_UA.toml | 2 + web/translation/translate.vi_VN.toml | 2 + web/translation/translate.zh_CN.toml | 2 + web/translation/translate.zh_TW.toml | 2 + 13 files changed, 426 insertions(+), 368 deletions(-) diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html index d8b3c40a..21472845 100644 --- a/web/html/xui/inbounds.html +++ b/web/html/xui/inbounds.html @@ -43,6 +43,12 @@ margin:-10px 2px !important; } } + .ant-custom-popover-title { + display: flex; + align-items: center; + gap: 10px; + margin: 5px 0; + } .ant-col-sm-24 { margin: 0.5rem -2rem 0.5rem 2rem; } @@ -137,406 +143,433 @@ - + - - {{ i18n "pages.inbounds.totalDownUp" }}: - [[ SizeFormatter.sizeFormat(total.up) ]] / [[ SizeFormatter.sizeFormat(total.down) ]] + + + + - - {{ i18n "pages.inbounds.totalUsage" }}: - [[ SizeFormatter.sizeFormat(total.up + total.down) ]] + + + + - - {{ i18n "pages.inbounds.inboundCount" }}: - [[ dbInbounds.length ]] + + + + - - + + + + -
- - - - - - - - - - - - - {{ i18n "pages.inbounds.importInbound" }} - - - - {{ i18n "pages.inbounds.export" }} - - - - {{ i18n "pages.inbounds.export" }} - {{ i18n "pages.settings.subSettings" }} - - - - {{ i18n "pages.inbounds.resetAllTraffic" }} - - - - {{ i18n "pages.inbounds.resetAllClientTraffics" }} - - - - {{ i18n "pages.inbounds.delDepletedClients" }} - - - - - - - [[ key ]]s - - - - - -
-
- - - - - - - {{ i18n "none" }} - {{ i18n "disabled" }} - {{ i18n "depleted" }} - {{ i18n "depletingSoon" }} - {{ i18n "online" }} - -
- - -