diff options
Diffstat (limited to 'web/html/xui')
| -rw-r--r-- | web/html/xui/component/inbound_info.html | 6 | ||||
| -rw-r--r-- | web/html/xui/inbounds_client_row.html | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/web/html/xui/component/inbound_info.html b/web/html/xui/component/inbound_info.html index cbf156d1..0618f02e 100644 --- a/web/html/xui/component/inbound_info.html +++ b/web/html/xui/component/inbound_info.html @@ -25,11 +25,11 @@ </template> <template v-if="inbound.tls || inbound.xtls"> - <p v-if="inbound.tls">tls: <a-tag color="green">{{ i18n "turnOn" }}</a-tag></p> - <p v-if="inbound.xtls">xtls: <a-tag color="green">{{ i18n "turnOn" }}</a-tag></p> + <p v-if="inbound.tls">tls: <a-tag color="green">{{ i18n "enabled" }}</a-tag></p> + <p v-if="inbound.xtls">xtls: <a-tag color="green">{{ i18n "enabled" }}</a-tag></p> </template> <template v-else> - <p>tls: <a-tag color="red">{{ i18n "closure" }}</a-tag></p> + <p>tls: <a-tag color="red">{{ i18n "disabled" }}</a-tag></p> </template> <p v-if="inbound.tls"> tls {{ i18n "domainName" }}: <a-tag :color="inbound.serverName ? 'green' : 'orange'">[[ inbound.serverName ? inbound.serverName : '' ]]</a-tag> diff --git a/web/html/xui/inbounds_client_row.html b/web/html/xui/inbounds_client_row.html index cb231f5e..fa8621a8 100644 --- a/web/html/xui/inbounds_client_row.html +++ b/web/html/xui/inbounds_client_row.html @@ -7,7 +7,7 @@ <a-tag v-if="client._totalGB === 0" color="blue">{{ i18n "used" }}: [[ sizeFormat(getUpStats(record, client.email) + getDownStats(record, client.email)) ]]</a-tag> <a-tag v-if="client._totalGB > 0 && !isTrafficExhausted(record, client.email)" color="green">{{ i18n "used" }}: [[ sizeFormat(getUpStats(record, client.email) + getDownStats(record, client.email)) ]] / [[client._totalGB]]GB</a-tag> <a-tag v-if="client._totalGB > 0 && isTrafficExhausted(record, client.email)" color="red">{{ i18n "used" }}: [[ sizeFormat(getUpStats(record, client.email) + getDownStats(record, client.email)) ]] / [[client._totalGB]]GB</a-tag> -</template> +</template> <template slot="expiryTime" slot-scope="text, client, index"> <template v-if="client._expiryTime > 0"> <a-tag v-if="isExpiry(record, index)" color="red"> |
