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-03-09 16:06:16 +0300
committerGitHub <noreply@github.com>2024-03-09 16:06:16 +0300
commitffa531f9cac29802af8778404679d6112b7a6b97 (patch)
treea6b3f7db19da353277a64a02ab78b766627e3168 /web/html/xui/common_sider.html
parent05deb89451b53b57b6ebe90f6b6df6a0b98bd156 (diff)
Minor Fixes (#1992)
autocomplete max - min for input-number
Diffstat (limited to 'web/html/xui/common_sider.html')
-rw-r--r--web/html/xui/common_sider.html26
1 files changed, 2 insertions, 24 deletions
diff --git a/web/html/xui/common_sider.html b/web/html/xui/common_sider.html
index 78b833b9..bc8f4608 100644
--- a/web/html/xui/common_sider.html
+++ b/web/html/xui/common_sider.html
@@ -24,18 +24,7 @@
{{define "commonSider"}}
<a-layout-sider :theme="themeSwitcher.currentTheme" id="sider" collapsible breakpoint="md" collapsed-width="0">
- <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>
- <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>
+ <theme-switch></theme-switch>
<a-menu :theme="themeSwitcher.currentTheme" mode="inline" :selected-keys="['{{ .request_uri }}']"
@click="({key}) => key.startsWith('http') ? window.open(key) : location.href = key">
{{template "menuItems" .}}
@@ -49,18 +38,7 @@
<div class="drawer-handle" @click="siderDrawer.change()" slot="handle">
<a-icon :type="siderDrawer.visible ? 'close' : 'menu-fold'"></a-icon>
</div>
- <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>
- <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>
+ <theme-switch></theme-switch>
<a-menu :theme="themeSwitcher.currentTheme" mode="inline" :selected-keys="['{{ .request_uri }}']"
@click="({key}) => key.startsWith('http') ? window.open(key) : location.href = key">
{{template "menuItems" .}}