From 96786c94189f3d2f3f04c1915529c786228bdf42 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Fri, 17 Mar 2023 19:37:49 +0330 Subject: alireza --- web/html/xui/index.html | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'web/html/xui/index.html') diff --git a/web/html/xui/index.html b/web/html/xui/index.html index 604c6621..b8a1e4b5 100644 --- a/web/html/xui/index.html +++ b/web/html/xui/index.html @@ -11,6 +11,10 @@ .ant-col-sm-24 { margin-top: 10px; } + + .ant-card-dark h2 { + color: hsla(0,0%,100%,.65); + } @@ -27,14 +31,14 @@
CPU
{{ i18n "pages.index.memory"}}: [[ sizeFormat(status.mem.current) ]] / [[ sizeFormat(status.mem.total) ]] @@ -47,7 +51,7 @@
Swap: [[ sizeFormat(status.swap.current) ]] / [[ sizeFormat(status.swap.total) ]] @@ -56,7 +60,7 @@
{{ i18n "pages.index.hard"}}: [[ sizeFormat(status.disk.current) ]] / [[ sizeFormat(status.disk.total) ]] @@ -172,6 +176,7 @@

{{ i18n "pages.index.xraySwitchClick"}}

{{ i18n "pages.index.xraySwitchClickDesk"}}

@@ -313,6 +318,7 @@ title: '{{ i18n "pages.index.xraySwitchVersionDialog"}}', content: '{{ i18n "pages.index.xraySwitchVersionDialogDesc"}}' + ` ${version}?`, okText: '{{ i18n "confirm"}}', + class: siderDrawer.isDarkTheme ? darkClass : '', cancelText: '{{ i18n "cancel"}}', onOk: async () => { versionModal.hide(); @@ -322,7 +328,7 @@ }, }); }, - //here add stop xray function + //here add stop xray function async stopXrayService() { this.loading(true); const msg = await HttpUtil.post('server/stopXrayService'); @@ -331,7 +337,7 @@ return; } }, - //here add restart xray function + //here add restart xray function async restartXrayService() { this.loading(true); const msg = await HttpUtil.post('server/restartXrayService'); -- cgit v1.2.3