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:
authorTara Rostami <132676256+TaraRostami@users.noreply.github.com>2024-02-28 14:05:01 +0300
committerGitHub <noreply@github.com>2024-02-28 14:05:01 +0300
commit836ee29b786fd3ab3958f0984e5b02e6a89976cf (patch)
tree1836b33075cfb63ec29b0c6568e95dfb9149e204 /web/html/xui/common_sider.html
parent806b57f9597d57c786c26472aa948fdee81ea7fa (diff)
Optimize Dark Theme & Ultra Dark (#1889)
--------- Co-authored-by: MHSanaei <ho3ein.sanaei@gmail.com> Co-authored-by: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'web/html/xui/common_sider.html')
-rw-r--r--web/html/xui/common_sider.html20
1 files changed, 14 insertions, 6 deletions
diff --git a/web/html/xui/common_sider.html b/web/html/xui/common_sider.html
index 13d5bd49..78b833b9 100644
--- a/web/html/xui/common_sider.html
+++ b/web/html/xui/common_sider.html
@@ -15,10 +15,6 @@
<a-icon type="tool"></a-icon>
<span><b>{{ i18n "menu.xray"}}</b></span>
</a-menu-item>
-<!--<a-menu-item key="{{ .base_path }}panel/clients">-->
-<!-- <a-icon type="laptop"></a-icon>-->
-<!-- <span>Client</span>-->
-<!--</a-menu-item>-->
<a-menu-item key="{{ .base_path }}logout">
<a-icon type="logout"></a-icon>
<span><b>{{ i18n "menu.logout"}}</b></span>
@@ -31,7 +27,13 @@
<a-menu :theme="themeSwitcher.currentTheme" mode="inline" selected-keys="">
<a-menu-item mode="inline">
<a-icon type="bulb" :theme="themeSwitcher.isDarkTheme ? 'filled' : 'outlined'"></a-icon>
- <theme-switch />
+ <theme-switch>
+ </theme-switch>
+ <a-checkbox v-if="themeSwitcher.isDarkTheme" style="padding-left: 1rem; vertical-align: middle;"
+ :checked="themeSwitcher.isUltra"
+ @click="themeSwitcher.toggleUltra()">
+ Ultra
+ </a-checkbox>
</a-menu-item>
</a-menu>
<a-menu :theme="themeSwitcher.currentTheme" mode="inline" :selected-keys="['{{ .request_uri }}']"
@@ -50,7 +52,13 @@
<a-menu :theme="themeSwitcher.currentTheme" mode="inline" selected-keys="">
<a-menu-item mode="inline">
<a-icon type="bulb" :theme="themeSwitcher.isDarkTheme ? 'filled' : 'outlined'"></a-icon>
- <theme-switch />
+ <theme-switch>
+ </theme-switch>
+ <a-checkbox v-if="themeSwitcher.isDarkTheme" style="padding-left: 1rem; vertical-align: middle;"
+ :checked="themeSwitcher.isUltra"
+ @click="themeSwitcher.toggleUltra()">
+ Ultra
+ </a-checkbox>
</a-menu-item>
</a-menu>
<a-menu :theme="themeSwitcher.currentTheme" mode="inline" :selected-keys="['{{ .request_uri }}']"