Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Golzar <57574919+aliglzr@users.noreply.github.com>2025-08-28 02:10:50 +0300
committerGitHub <noreply@github.com>2025-08-28 02:10:50 +0300
commit3087c1b123f426b7c1306ab634fb84e7943e4217 (patch)
treece6f33e025bb16f73797a119a41590f03c0b8c9e /web/html/component/aClientTable.html
parent21983971971b14377b36c8db92c8603f723f955d (diff)
Add all-time traffic for inbounds and clients (#3387)
* feat(db): add allTime field to Inbound and ClientTraffic models * feat(inbound): increment all_time for inbounds and clients on traffic updates calculate correct all_time traffic on migrate command * feat(ui): show all-time traffic column for inbounds and its clients * i18n: add pages.inbounds.allTimeTraffic label across locales * Add All Time Traffic Usage in inbounds page top banner
Diffstat (limited to 'web/html/component/aClientTable.html')
-rw-r--r--web/html/component/aClientTable.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/html/component/aClientTable.html b/web/html/component/aClientTable.html
index 359e6e74..53ec27a3 100644
--- a/web/html/component/aClientTable.html
+++ b/web/html/component/aClientTable.html
@@ -98,6 +98,10 @@
</table>
</a-popover>
</template>
+
+<template slot="allTime" slot-scope="text, client">
+ <a-tag>[[ SizeFormatter.sizeFormat(getAllTimeClient(record, client.email)) ]]</a-tag>
+</template>
<template slot="expiryTime" slot-scope="text, client, index">
<template v-if="client.expiryTime !=0 && client.reset >0">
<a-popover :overlay-class-name="themeSwitcher.currentTheme">