From adfeeefeb6d833d37a1bd09f4d26400a0a79382c Mon Sep 17 00:00:00 2001
From: Tara Rostami <132676256+TaraRostami@users.noreply.github.com>
Date: Sun, 17 Mar 2024 14:55:12 +0330
Subject: [PATCH] Update inbounds.html
---
web/html/xui/inbounds.html | 880 +++++++++++++++++++------------------
1 file changed, 443 insertions(+), 437 deletions(-)
diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html
index c15674e2..737834fd 100644
--- a/web/html/xui/inbounds.html
+++ b/web/html/xui/inbounds.html
@@ -2,453 +2,459 @@
{{template "head" .}}
- {{ template "commonSider" . }}
-
-
-
-
-
-
-
-
-
-
-
- {{ i18n "pages.inbounds.totalDownUp" }}:
- [[ sizeFormat(total.up) ]] / [[ sizeFormat(total.down) ]]
-
-
- {{ i18n "pages.inbounds.totalUsage" }}:
- [[ sizeFormat(total.up + total.down) ]]
-
-
- {{ i18n "pages.inbounds.inboundCount" }}:
- [[ dbInbounds.length ]]
-
-
-
-
-
-
- {{ i18n "clients" }}:
-
[[ total.clients ]]
-
-
- [[ clientEmail ]]
-
- [[ total.deactive.length ]]
-
-
-
- [[ clientEmail ]]
-
- [[ total.depleted.length ]]
-
-
-
- [[ clientEmail ]]
-
- [[ total.expiring.length ]]
-
-
-
- [[ clientEmail ]]
-
- [[ onlineClients.length ]]
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ i18n "pages.inbounds.addInbound" }}
-
-
-
- {{ i18n "pages.inbounds.generalActions" }}
-
- generalActions(a)" :theme="themeSwitcher.currentTheme">
-
-
- {{ 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" }}
-
-
-
-
-
-
- e.preventDefault()" type="more" style="font-size: 20px; text-decoration: solid;">
- clickAction(a, dbInbound)" :theme="themeSwitcher.currentTheme">
-
-
- {{ i18n "edit" }}
-
-
-
- {{ i18n "qrCode" }}
-
-
-
-
- {{ i18n "pages.client.add"}}
-
-
-
- {{ i18n "pages.client.bulk"}}
-
-
-
- {{ i18n "pages.inbounds.resetInboundClientTraffics"}}
-
-
-
- {{ i18n "pages.inbounds.export"}}
-
-
-
- {{ i18n "pages.inbounds.export"}} - {{ i18n "pages.settings.subSettings" }}
-
-
-
- {{ i18n "pages.inbounds.delDepletedClients" }}
-
-
-
-
-
- {{ i18n "info"}}
-
-
-
-
- {{ i18n "pages.inbounds.exportInbound" }}
-
-
- {{ i18n "pages.inbounds.resetTraffic" }}
-
-
- {{ i18n "pages.inbounds.clone"}}
-
-
-
- {{ i18n "delete"}}
-
-
-
-
- {{ i18n "pages.inbounds.enable" }}
-
-
-
+ {{ template "commonSider" . }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ i18n "pages.inbounds.totalDownUp" }}:
+ [[ sizeFormat(total.up) ]] / [[ sizeFormat(total.down) ]]
+
+
+ {{ i18n "pages.inbounds.totalUsage" }}:
+ [[ sizeFormat(total.up + total.down) ]]
+
+
+ {{ i18n "pages.inbounds.inboundCount" }}:
+ [[ dbInbounds.length ]]
+
+
+
+
+
+ {{ i18n "clients" }}:
+
[[ total.clients ]]
+
+
+ [[ clientEmail ]]
+
+ [[ total.deactive.length ]]
+
+
+
+ [[ clientEmail ]]
+
+ [[ total.depleted.length ]]
+
+
+
+ [[ clientEmail ]]
+
+ [[ total.expiring.length ]]
+
+
+
+ [[ clientEmail ]]
+
+ [[ onlineClients.length ]]
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ i18n "pages.inbounds.addInbound" }}
+
+
+
+ {{ i18n "pages.inbounds.generalActions" }}
+
+ generalActions(a)" :theme="themeSwitcher.currentTheme">
+
+
+ {{ 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" }}
+
+
+
+
+
+
+ e.preventDefault()" type="more" style="font-size: 20px; text-decoration: solid;">
+ clickAction(a, dbInbound)" :theme="themeSwitcher.currentTheme">
+
+
+ {{ i18n "edit" }}
+
+
+
+ {{ i18n "qrCode" }}
+
+
+
+
+ {{ i18n "pages.client.add"}}
+
+
+
+ {{ i18n "pages.client.bulk"}}
+
+
+
+ {{ i18n "pages.inbounds.resetInboundClientTraffics"}}
+
+
+
+ {{ i18n "pages.inbounds.export"}}
+
+
+
+ {{ i18n "pages.inbounds.export"}} - {{ i18n "pages.settings.subSettings" }}
+
+
+
+ {{ i18n "pages.inbounds.delDepletedClients" }}
+
+
+
+
+
+ {{ i18n "info"}}
+
+
+
+
+ {{ i18n "pages.inbounds.exportInbound" }}
+
+
+ {{ i18n "pages.inbounds.resetTraffic" }}
+
+
+ {{ i18n "pages.inbounds.clone"}}
+
+
+
+ {{ i18n "delete"}}
+
+
+
+
+ {{ i18n "pages.inbounds.enable" }}
+
+
+
+
+
+ [[ dbInbound.protocol ]]
+
+ [[ dbInbound.toInbound().stream.network ]]
+ TLS
+ XTLS
+ Reality
+
+
+
+
+ [[ clientCount[dbInbound.id].clients ]]
+
+
+ [[ clientEmail ]]
+
+ [[ clientCount[dbInbound.id].deactive.length ]]
+
+
+
+ [[ clientEmail ]]
+
+ [[ clientCount[dbInbound.id].depleted.length ]]
+
+
+
+ [[ clientEmail ]]
+
+ [[ clientCount[dbInbound.id].expiring.length ]]
+
+
+
+ [[ clientEmail ]]
+
+ [[ clientCount[dbInbound.id].online.length ]]
+
+
+
+
+
+
+
+
+ ↑[[ sizeFormat(dbInbound.up) ]] |
+ ↓[[ sizeFormat(dbInbound.down) ]] |
+
+
+ {{ i18n "remained" }} |
+ [[ sizeFormat(dbInbound.total - dbInbound.up - dbInbound.down) ]] |
+
+
+
+
+ [[ sizeFormat(dbInbound.up + dbInbound.down) ]] /
+
+ [[ sizeFormat(dbInbound.total) ]]
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [[ DateUtil.formatMillis(dbInbound.expiryTime) ]]
+
+
+ [[ remainedDays(dbInbound._expiryTime) ]]
+
+
+ ∞
+
+
+
+
+
+
+ {{ i18n "pages.inbounds.protocol" }} |
+
+ [[ dbInbound.protocol ]]
+
+ [[ dbInbound.toInbound().stream.network ]]
+ tls
+ reality
+
+ |
+
+
+ {{ i18n "pages.inbounds.port" }} |
+ [[ dbInbound.port ]] |
+
+
+ {{ i18n "clients" }} |
+
+ [[ clientCount[dbInbound.id].clients ]]
+
+
+ [[ clientEmail ]]
-
- [[ dbInbound.protocol ]]
-
- [[ dbInbound.toInbound().stream.network ]]
- TLS
- XTLS
- Reality
+ [[ clientCount[dbInbound.id].deactive.length ]]
+
+
+
+ [[ clientEmail ]]
+
+ [[ clientCount[dbInbound.id].depleted.length ]]
+
+
+
+ [[ clientEmail ]]
+
+ [[ clientCount[dbInbound.id].expiring.length ]]
+
+
+
+ [[ clientEmail ]]
+
+ [[ clientCount[dbInbound.id].online.length ]]
+
+ |
+
+
+ {{ i18n "pages.inbounds.traffic" }} |
+
+
+
+
+
+ ↑[[ sizeFormat(dbInbound.up) ]] |
+ ↓[[ sizeFormat(dbInbound.down) ]] |
+
+
+ {{ i18n "remained" }} |
+ [[ sizeFormat(dbInbound.total - dbInbound.up - dbInbound.down) ]] |
+
+
+
+
+ [[ sizeFormat(dbInbound.up + dbInbound.down) ]] /
+
+ [[ sizeFormat(dbInbound.total) ]]
-
-
-
- [[ clientCount[dbInbound.id].clients ]]
-
-
- [[ clientEmail ]]
-
- [[ clientCount[dbInbound.id].deactive.length ]]
-
-
-
- [[ clientEmail ]]
-
- [[ clientCount[dbInbound.id].depleted.length ]]
-
-
-
- [[ clientEmail ]]
-
- [[ clientCount[dbInbound.id].expiring.length ]]
-
-
-
- [[ clientEmail ]]
-
- [[ clientCount[dbInbound.id].online.length ]]
-
-
-
-
-
-
-
-
- ↑[[ sizeFormat(dbInbound.up) ]] |
- ↓[[ sizeFormat(dbInbound.down) ]] |
-
-
- {{ i18n "remained" }} |
- [[ sizeFormat(dbInbound.total - dbInbound.up - dbInbound.down) ]] |
-
-
-
-
- [[ sizeFormat(dbInbound.up + dbInbound.down) ]] /
-
- [[ sizeFormat(dbInbound.total) ]]
-
-
-
-
-
-
-
-
-
-
-
-
-
- [[ DateUtil.formatMillis(dbInbound.expiryTime) ]]
-
-
- [[ remainedDays(dbInbound._expiryTime) ]]
-
-
- ∞
-
-
-
-
-
-
- {{ i18n "pages.inbounds.protocol" }} |
-
- [[ dbInbound.protocol ]]
-
- [[ dbInbound.toInbound().stream.network ]]
- tls
- reality
-
- |
-
-
- {{ i18n "pages.inbounds.port" }} |
- [[ dbInbound.port ]] |
-
-
- {{ i18n "clients" }} |
-
- [[ clientCount[dbInbound.id].clients ]]
-
-
- [[ clientEmail ]]
-
- [[ clientCount[dbInbound.id].deactive.length ]]
-
-
-
- [[ clientEmail ]]
-
- [[ clientCount[dbInbound.id].depleted.length ]]
-
-
-
- [[ clientEmail ]]
-
- [[ clientCount[dbInbound.id].expiring.length ]]
-
-
-
- [[ clientEmail ]]
-
- [[ clientCount[dbInbound.id].online.length ]]
-
- |
-
-
- {{ i18n "pages.inbounds.traffic" }} |
-
-
-
-
-
- ↑[[ sizeFormat(dbInbound.up) ]] |
- ↓[[ sizeFormat(dbInbound.down) ]] |
-
-
- {{ i18n "remained" }} |
- [[ sizeFormat(dbInbound.total - dbInbound.up - dbInbound.down) ]] |
-
-
-
-
- [[ sizeFormat(dbInbound.up + dbInbound.down) ]] /
-
- [[ sizeFormat(dbInbound.total) ]]
-
- ∞
-
-
- |
-
-
- {{ i18n "pages.inbounds.expireDate" }} |
-
-
- [[ DateUtil.formatMillis(dbInbound.expiryTime) ]]
-
- ∞
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{template "client_table"}}
-
-
-
-
-
-
-
-
+ ∞
+
+
+ |
+
+
+ {{ i18n "pages.inbounds.expireDate" }} |
+
+
+ [[ DateUtil.formatMillis(dbInbound.expiryTime) ]]
+
+ ∞
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{template "client_table"}}
+
+
+
+
+
+
+
+
{{template "js" .}}