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:
authorHamidreza Ghavami <hamid.r.gh.1998@gmail.com>2023-05-08 17:44:22 +0300
committerHamidreza Ghavami <hamid.r.gh.1998@gmail.com>2023-05-08 17:44:22 +0300
commit0e266b88f0eb70bf46d3ecc4df148794bc307205 (patch)
treeeaa17312f7d6a9bdc1e0d0c3293fc5a4ce8d5b38 /web/html/xui/inbound_client_table.html
parent7d0c3b6517e6c9b8367e63400c83789c7ddab93f (diff)
update UI to use themeSwitcher
Diffstat (limited to 'web/html/xui/inbound_client_table.html')
-rw-r--r--web/html/xui/inbound_client_table.html12
1 files changed, 8 insertions, 4 deletions
diff --git a/web/html/xui/inbound_client_table.html b/web/html/xui/inbound_client_table.html
index 6100cd9b..3143fe18 100644
--- a/web/html/xui/inbound_client_table.html
+++ b/web/html/xui/inbound_client_table.html
@@ -29,10 +29,12 @@
<a-tag v-if="!isClientEnabled(record, client.email)" color="red">{{ i18n "depleted" }}</a-tag>
</template>
<template slot="traffic" slot-scope="text, client">
- <a-tag color="blue">[[ sizeFormat(getUpStats(record, client.email)) ]] / [[ sizeFormat(getDownStats(record, client.email)) ]]</a-tag>
+ <a-tag color="blue">
+ [[ sizeFormat(getUpStats(record, client.email)) ]] / [[ sizeFormat(getDownStats(record, client.email)) ]]
+ </a-tag>
<template v-if="client._totalGB > 0">
- <a-tag v-if="isTrafficExhausted(record, client.email)" color="red">[[client._totalGB]]GB</a-tag>
- <a-tag v-else color="cyan">[[client._totalGB]]GB</a-tag>
+ <a-tag v-if="isTrafficExhausted(record, client.email)" color="red">[[client._totalGB]] GB</a-tag>
+ <a-tag v-else color="cyan">[[client._totalGB]] GB</a-tag>
</template>
<a-tag v-else color="green">{{ i18n "indefinite" }}</a-tag>
</template>
@@ -42,7 +44,9 @@
[[ DateUtil.formatMillis(client._expiryTime) ]]
</a-tag>
</template>
- <a-tag v-else-if="client.expiryTime < 0" color="cyan">[[ client._expiryTime ]] {{ i18n "pages.client.days" }}</a-tag>
+ <a-tag v-else-if="client.expiryTime < 0" color="cyan">
+ [[ client._expiryTime ]] {{ i18n "pages.client.days" }}
+ </a-tag>
<a-tag v-else color="green">{{ i18n "indefinite" }}</a-tag>
</template>
{{end}} \ No newline at end of file