From f87dad254b07be95ec1a88c5b18c46b054105451 Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Thu, 2 Mar 2023 12:50:59 +0100 Subject: [PATCH] New feature: Bulk add #28 (plus adjust methods) --- web/html/xui/client_bulk_modal.html | 107 +++++++++++++++++++++++++ web/html/xui/inbounds.html | 67 +++++++++++----- web/service/inbound.go | 10 +++ web/translation/translate.en_US.toml | 1 + web/translation/translate.fa_IR.toml | 1 + web/translation/translate.zh_Hans.toml | 1 + 6 files changed, 165 insertions(+), 22 deletions(-) create mode 100644 web/html/xui/client_bulk_modal.html diff --git a/web/html/xui/client_bulk_modal.html b/web/html/xui/client_bulk_modal.html new file mode 100644 index 00000000..a5537562 --- /dev/null +++ b/web/html/xui/client_bulk_modal.html @@ -0,0 +1,107 @@ +{{define "clientsBulkModal"}} + + + + {{ i18n "pages.client.clientCount" }} + + + + + {{ i18n "pages.inbounds.totalFlow" }}(GB) + + + + + + + + + + {{ i18n "pages.inbounds.expireDate" }} + + + + + + + + + + +{{end}} \ No newline at end of file diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html index 091962d8..ed42f401 100644 --- a/web/html/xui/inbounds.html +++ b/web/html/xui/inbounds.html @@ -77,6 +77,10 @@ {{ i18n "pages.client.add"}} + + + {{ i18n "pages.client.bulk"}} + {{ i18n "pages.inbounds.export"}} @@ -113,7 +117,7 @@