+
{{ i18n "pages.inbounds.delDepletedClients" }}
diff --git a/web/html/xui/index.html b/web/html/xui/index.html
index adc4d395..c6c3279a 100644
--- a/web/html/xui/index.html
+++ b/web/html/xui/index.html
@@ -44,14 +44,14 @@
- CPU: [[ cpuCoreFormat(status.cpuCount) ]]
+ CPU: [[ cpuCoreFormat(status.cpuCount) ]]
- {{ i18n "pages.index.memory"}}: [[ sizeFormat(status.mem.current) ]] / [[ sizeFormat(status.mem.total) ]]
+ {{ i18n "pages.index.memory"}}: [[ sizeFormat(status.mem.current) ]] / [[ sizeFormat(status.mem.total) ]]
@@ -63,7 +63,7 @@
:stroke-color="status.swap.color"
:percent="status.swap.percent">
- Swap: [[ sizeFormat(status.swap.current) ]] / [[ sizeFormat(status.swap.total) ]]
+ Swap: [[ sizeFormat(status.swap.current) ]] / [[ sizeFormat(status.swap.total) ]]
@@ -71,7 +71,7 @@
:stroke-color="status.disk.color"
:percent="status.disk.percent">
- {{ i18n "pages.index.hard"}}: [[ sizeFormat(status.disk.current) ]] / [[ sizeFormat(status.disk.total) ]]
+ {{ i18n "pages.index.hard"}}: [[ sizeFormat(status.disk.current) ]] / [[ sizeFormat(status.disk.total) ]]
@@ -84,32 +84,45 @@
- X-UI {{ .cur_ver }}
- Xray
-
- [[ status.xray.version ]]
+ {{ i18n "pages.index.machineInfo" }}:
+
+
+ {{ i18n "pages.index.hostname" }}
+
+ [[ status.hostInfo.hostname ]]
+
+
+
+ IPv4:
[[ status.hostInfo.ipv4 ]]
IPv6:
[[ status.hostInfo.ipv6 ]]
+
+ IPv4/v6
+
+ X-UI {{ .cur_ver }}
+
- {{ i18n "pages.index.operationHours" }}:
- Xray
- [[ formatSecond(status.appStats.uptime) ]]
- OS
+ {{ i18n "pages.index.operationHours" }}:
+
+
+ {{ i18n "pages.index.xrayoperationHoursDesc" }}
+
+ Xray [[ formatSecond(status.appStats.uptime) ]]
+
{{ i18n "pages.index.operationHoursDesc" }}
-
+ OS [[ formatSecond(status.uptime) ]]
- [[ formatSecond(status.uptime) ]]
- {{ i18n "pages.index.xrayStatus" }}:
- [[ status.xray.state ]]
+ {{ i18n "pages.index.xrayStatus" }}:
+ [[ status.xray.state ]]
An error occurred while running Xray
@@ -118,73 +131,64 @@
[[ line ]]
-
+
- {{ i18n "pages.index.stopXray" }}
- {{ i18n "pages.index.restartXray" }}
+ {{ i18n "pages.index.stopXray" }}
+ {{ i18n "pages.index.restartXray" }}
+
+ [[ status.xray.version ]]
+
- {{ i18n "menu.link" }}:
- {{ i18n "pages.index.logs" }}
- {{ i18n "pages.index.config" }}
+ {{ i18n "menu.link" }}:
+ {{ i18n "pages.index.logs" }}
+ {{ i18n "pages.index.config" }}
{{ i18n "pages.index.backup" }}
- {{ i18n "pages.index.systemLoad" }}: [[ status.loads[0] ]] | [[ status.loads[1] ]] | [[ status.loads[2] ]]
+ {{ i18n "pages.index.systemLoad" }}:
+
+
+ {{ i18n "pages.index.systemLoadDesc" }}
+
+ [[ status.loads[0] ]] | [[ status.loads[1] ]] | [[ status.loads[2] ]]
+
- {{ i18n "usage"}}:
- RAM: [[ sizeFormat(status.appStats.mem) ]] -
- Threads: [[ status.appStats.threads ]]
-
-
-
-
-
- Host: [[ status.hostInfo.hostname ]] -
- IPv4:
+ {{ i18n "usage" }}:
-
- [[ status.hostInfo.ipv4 ]]
-
-
+ RAM [[ sizeFormat(status.appStats.mem) ]]
-
- IPv6:
-
- [[ status.hostInfo.ipv6 ]]
-
-
+ Threads [[ status.appStats.threads ]]
-
- TCP: [[ status.tcpCount ]]
+
{{ i18n "pages.index.connectionTcpCountDesc" }}
-
+ TCP: [[ status.tcpCount ]]
- UDP: [[ status.udpCount ]]
+
{{ i18n "pages.index.connectionUdpCountDesc" }}
-
+ UDP: [[ status.udpCount ]]
@@ -195,22 +199,20 @@
- [[ sizeFormat(status.netIO.up) ]]/s
{{ i18n "pages.index.upSpeed" }}
-
+ UL: [[ sizeFormat(status.netIO.up) ]]/s
- [[ sizeFormat(status.netIO.down) ]]/s
{{ i18n "pages.index.downSpeed" }}
-
+ DL: [[ sizeFormat(status.netIO.down) ]]/s
@@ -221,22 +223,20 @@
- [[ sizeFormat(status.netTraffic.sent) ]]
{{ i18n "pages.index.totalSent" }}
-
+ Out: [[ sizeFormat(status.netTraffic.sent) ]]
- [[ sizeFormat(status.netTraffic.recv) ]]
{{ i18n "pages.index.totalReceive" }}
-
+ In: [[ sizeFormat(status.netTraffic.recv) ]]
@@ -297,12 +297,12 @@
+ :href="'data:application/text;charset=utf-8,' + encodeURIComponent(logModal.logs)" download="x-ui.log">
{{ i18n "download" }} x-ui.log
-
+
const State = {
- Running: "running",
- Stop: "stop",
- Error: "error",
+ Running: "Running",
+ Stop: "Stop",
+ Error: "Error",
}
Object.freeze(State);
@@ -400,7 +400,7 @@
this.xray = data.xray;
switch (this.xray.state) {
case State.Running:
- this.xray.color = "blue";
+ this.xray.color = '#3dbd7d';
break;
case State.Stop:
this.xray.color = "orange";
@@ -428,8 +428,7 @@
const logModal = {
visible: false,
- logs: [],
- formattedLogs: '',
+ logs: '',
rows: 20,
level: 'info',
syslog: false,
diff --git a/web/html/xui/settings.html b/web/html/xui/settings.html
index 13e66a25..ad95d328 100644
--- a/web/html/xui/settings.html
+++ b/web/html/xui/settings.html
@@ -16,6 +16,7 @@
}
.ant-tabs-bar {
+ font-weight: bold;
margin: 0;
}
@@ -322,4 +323,4 @@
});