From 3ea05d30c14cea2e245234a232671560d40c4737 Mon Sep 17 00:00:00 2001
From: "Shishkevich D." <135337715+shishkevichd@users.noreply.github.com>
Date: Mon, 24 Mar 2025 11:19:27 +0000
Subject: chore: transforming a common sidebar into a separate component - also
added saving collapsed state
---
web/html/xui/common_sider.html | 55 ------------------------------------------
1 file changed, 55 deletions(-)
delete mode 100644 web/html/xui/common_sider.html
(limited to 'web/html/xui/common_sider.html')
diff --git a/web/html/xui/common_sider.html b/web/html/xui/common_sider.html
deleted file mode 100644
index 97114c15..00000000
--- a/web/html/xui/common_sider.html
+++ /dev/null
@@ -1,55 +0,0 @@
-{{define "menuItems"}}
-
-
- {{ i18n "menu.dashboard"}}
-
-
-
- {{ i18n "menu.inbounds"}}
-
-
-
- {{ i18n "menu.settings"}}
-
-
-
- {{ i18n "menu.xray"}}
-
-
-
- {{ i18n "menu.logout"}}
-
-{{end}}
-
-
-{{define "commonSider"}}
-
-
- key.startsWith('http') ? window.open(key) : location.href = key">
- {{template "menuItems" .}}
-
-
-
-
-
- key.startsWith('http') ? window.open(key) : location.href = key">
- {{template "menuItems" .}}
-
-
-
-{{end}}
--
cgit v1.2.3