From 6e5ed881f23c59603ce68629cd7fe643527f0052 Mon Sep 17 00:00:00 2001 From: "Shishkevich D." <135337715+shishkevichd@users.noreply.github.com> Date: Wed, 19 Mar 2025 04:06:55 +0700 Subject: chore: pretty `Inbounds` page (#2791) * chore: pretty 'Inbounds' page * chore: return styles for aCustomStatistic styles was intended to properly display a-statistic in the app, but for some unknown reason it was removed * fix: switch style in dark mode --------- --- web/html/xui/inbounds.html | 771 ++++++++++++++++++++++++--------------------- 1 file changed, 404 insertions(+), 367 deletions(-) (limited to 'web/html/xui/inbounds.html') diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html index d8b3c40a..758de9e8 100644 --- a/web/html/xui/inbounds.html +++ b/web/html/xui/inbounds.html @@ -43,6 +43,15 @@ margin:-10px 2px !important; } } + .dark .ant-switch-small:not(.ant-switch-checked) { + background-color: var(--dark-color-surface-100) !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 +146,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" }} - -
- - -