diff options
| author | Shishkevich D. <135337715+shishkevichd@users.noreply.github.com> | 2025-03-24 14:19:27 +0300 |
|---|---|---|
| committer | Shishkevich D. <135337715+shishkevichd@users.noreply.github.com> | 2025-03-24 14:19:27 +0300 |
| commit | 3ea05d30c14cea2e245234a232671560d40c4737 (patch) | |
| tree | 8f8634992d09ed20079721168d0c959e1eee22f5 /web/html/xui/settings.html | |
| parent | 40ebf2902eae6b87c8fa2f7239f7a0dd10e26260 (diff) | |
chore: transforming a common sidebar into a separate component
- also added saving collapsed state
Diffstat (limited to 'web/html/xui/settings.html')
| -rw-r--r-- | web/html/xui/settings.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/html/xui/settings.html b/web/html/xui/settings.html index 1bf5dab8..336a44c3 100644 --- a/web/html/xui/settings.html +++ b/web/html/xui/settings.html @@ -70,7 +70,7 @@ </style> <body> <a-layout id="app" v-cloak :class="themeSwitcher.currentTheme"> - {{ template "commonSider" . }} + <a-sidebar></a-sidebar> <a-layout id="content-layout"> <a-layout-content> <a-spin :spinning="spinning" :delay="500" tip='{{ i18n "loading"}}'> @@ -131,6 +131,7 @@ </a-layout> {{template "js" .}} <script src="{{ .base_path }}assets/js/model/setting.js?{{ .cur_ver }}"></script> +{{template "component/aSidebar" .}} {{template "component/aThemeSwitch" .}} {{template "component/aPasswordInput" .}} {{template "component/aSettingListItem" .}} @@ -139,7 +140,6 @@ delimiters: ['[[', ']]'], el: '#app', data: { - siderDrawer, themeSwitcher, spinning: false, changeSecret: false, |
