From 5ef8a5a37ec7e6b7df710fa61b0324ab5a6617ab Mon Sep 17 00:00:00 2001
From: MHSanaei <33454419+MHSanaei@users.noreply.github.com>
Date: Thu, 23 Mar 2023 23:22:50 +0330
Subject: old design
---
web/html/xui/index.html | 28 +++++++++++-----------------
1 file changed, 11 insertions(+), 17 deletions(-)
(limited to 'web/html/xui/index.html')
diff --git a/web/html/xui/index.html b/web/html/xui/index.html
index b8a1e4b5..7b8310d0 100644
--- a/web/html/xui/index.html
+++ b/web/html/xui/index.html
@@ -11,10 +11,6 @@
.ant-col-sm-24 {
margin-top: 10px;
}
-
- .ant-card-dark h2 {
- color: hsla(0,0%,100%,.65);
- }
@@ -31,14 +27,14 @@
CPU
{{ i18n "pages.index.memory"}}: [[ sizeFormat(status.mem.current) ]] / [[ sizeFormat(status.mem.total) ]]
@@ -51,7 +47,7 @@
Swap: [[ sizeFormat(status.swap.current) ]] / [[ sizeFormat(status.swap.total) ]]
@@ -60,7 +56,7 @@
{{ i18n "pages.index.hard"}}: [[ sizeFormat(status.disk.current) ]] / [[ sizeFormat(status.disk.total) ]]
@@ -84,16 +80,16 @@
-
[[ status.xray.version ]]
-
{{ i18n "pages.index.stopXray" }}
-
{{ i18n "pages.index.restartXray" }}
-
{{ i18n "pages.index.xraySwitch" }}
+
[[ status.xray.version ]]
+
{{ i18n "pages.index.stopXray" }}
+
{{ i18n "pages.index.restartXray" }}
+
{{ i18n "pages.index.xraySwitch" }}
{{ i18n "pages.index.operationHours" }}:
- [[ formatSecond(status.uptime) ]]
+ [[ formatSecond(status.uptime) ]]
{{ i18n "pages.index.operationHoursDesc" }}
@@ -176,7 +172,6 @@
versionModal.visible = false"
- :class="siderDrawer.isDarkTheme ? darkClass : ''"
ok-text='{{ i18n "confirm" }}' cancel-text='{{ i18n "cancel"}}'>
{{ i18n "pages.index.xraySwitchClick"}}
{{ i18n "pages.index.xraySwitchClickDesk"}}
@@ -318,7 +313,6 @@
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();
@@ -328,7 +322,7 @@
},
});
},
- //here add stop xray function
+ //here add stop xray function
async stopXrayService() {
this.loading(true);
const msg = await HttpUtil.post('server/stopXrayService');
@@ -337,7 +331,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