Browse Source

update theme-switch

Hamidreza Ghavami 1 year ago
parent
commit
4c0e391597
2 changed files with 3 additions and 3 deletions
  1. 1 1
      web/html/login.html
  2. 2 2
      web/html/xui/common_sider.html

+ 1 - 1
web/html/login.html

@@ -96,7 +96,7 @@
                         </a-form-item>
                         <a-form-item>
                             <a-row justify="center" class="centered">
-                                <theme-switch></theme-switch>
+                                <theme-switch />
                             </a-row>
                         </a-form-item>
                     </a-form>

+ 2 - 2
web/html/xui/common_sider.html

@@ -27,7 +27,7 @@
     <a-menu :theme="themeSwitcher.currentTheme" mode="inline" selected-keys="">
         <a-menu-item mode="inline">
             <a-icon type="bg-colors"></a-icon>
-            <theme-switch></theme-switch>
+            <theme-switch />
         </a-menu-item>
     </a-menu>
     <a-menu :theme="themeSwitcher.currentTheme" mode="inline" :selected-keys="['{{ .request_uri }}']"
@@ -46,7 +46,7 @@
     <a-menu :theme="themeSwitcher.currentTheme" mode="inline" selected-keys="">
         <a-menu-item mode="inline">
             <a-icon type="bg-colors"></a-icon>
-            <theme-switch></theme-switch>
+            <theme-switch />
         </a-menu-item>
     </a-menu>
     <a-menu :theme="themeSwitcher.currentTheme" mode="inline" :selected-keys="['{{ .request_uri }}']"