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 Rahimi <alirahimi818@gmail.com>2025-01-21 05:01:54 +0300
committerGitHub <noreply@github.com>2025-01-21 05:01:54 +0300
commit6e9180a6659479ea0b872d3c1bc4727fdd8571bd (patch)
treea69ae46d922ae6982e3067debcd23d899e7fa09c /web/html/xui/form/client.html
parent66fe84181b9c4e2f6c6be943a7f486b4308c32ff (diff)
Group Management of Subscription Clients (#2644)
* add group user with the same subscription id to all inbounds * code format compare * add await for reset client traffic * en language changed * added client traffic syncer job * handle exist email duplicate in sub group * multi reset and delete request for clients group * add client traffic syncer setting option * vi translate file updated * auto open qr-modal bug fixed
Diffstat (limited to 'web/html/xui/form/client.html')
-rw-r--r--web/html/xui/form/client.html14
1 files changed, 13 insertions, 1 deletions
diff --git a/web/html/xui/form/client.html b/web/html/xui/form/client.html
index 0b894f01..a0a1ced8 100644
--- a/web/html/xui/form/client.html
+++ b/web/html/xui/form/client.html
@@ -3,6 +3,18 @@
<a-form-item label='{{ i18n "pages.inbounds.enable" }}'>
<a-switch v-model="client.enable"></a-switch>
</a-form-item>
+ <a-form-item v-if="isEdit && app.subSettings.enable && isGroup">
+ <template slot="label">
+ <a-tooltip>
+ <template slot="title">
+ <span>{{ i18n "pages.client.isGroupEditDesc" }}</span>
+ </template>
+ {{ i18n "pages.client.isGroupEdit" }}
+ <a-icon type="question-circle"></a-icon>
+ </a-tooltip>
+ </template>
+ <a-switch v-model="isGroupEdit"></a-switch>
+ </a-form-item>
<a-form-item>
<template slot="label">
<a-tooltip>
@@ -134,7 +146,7 @@
<a-tooltip>
<template slot="title">{{ i18n "pages.inbounds.resetTraffic" }}</template>
<a-icon type="retweet"
- @click="resetClientTraffic(client.email,clientStats.inboundId,$event.target)"
+ @click="resetClientTraffic(client,clientStats.inboundId,$event.target)"
v-if="client.email.length > 0"></a-icon>
</a-tooltip>
</a-form-item>