feat: Replace sidebar menu logo and update configuration settings layout

This commit is contained in:
Altahir Hassan 2026-01-07 01:04:27 +04:00
parent 3a4691d3be
commit d3623bf5f7
4 changed files with 11 additions and 25 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

View File

@ -116,7 +116,7 @@ export class SidebarMenu extends Component {
} }
// Load sidebar menu icon URL // Load sidebar menu icon URL
this.state.sidebarMenuIconUrl = result.sidebar_icon_url || '/odex_sidebar_backend_theme2/static/src/img/logo1.png'; this.state.sidebarMenuIconUrl = result.sidebar_icon_url || '/odex_sidebar_backend_theme2/static/src/img/logo.webp';
} catch (error) { } catch (error) {
console.error('Error loading sidebar setting:', error); console.error('Error loading sidebar setting:', error);

View File

@ -9,31 +9,17 @@
<app data-string="Odex Sidebar Menu" string="Odex Sidebar Menu" <app data-string="Odex Sidebar Menu" string="Odex Sidebar Menu"
name="odex_sidebar_backend_theme2"> name="odex_sidebar_backend_theme2">
<block title="Odex Sidebar Menu" name="odex_sidebar_settings_block"> <block title="Odex Sidebar Menu" name="odex_sidebar_settings_block">
<setting> <setting help="Enable or disable the sidebar menu in the backend interface">
<div class="content-group">
<div class="row mt16">
<label for="sidebar_menu_enable" />
<div class="text-muted">
Enable or disable the sidebar menu in the backend
interface
</div>
<field name="sidebar_menu_enable" /> <field name="sidebar_menu_enable" />
</div> </setting>
<div class="row mt16"> <setting help="Enable or disable the top navigation bar menu section in the backend interface">
<label for="disable_nav_menu_section" />
<div class="text-muted">
Enable or disable the top navigation bar menu section
in the backend interface
</div>
<field name="disable_nav_menu_section" /> <field name="disable_nav_menu_section" />
</div> </setting>
<setting>
<div class="row mt16"> <group>
<label for="sidebar_menu_icon" />
<field name="sidebar_menu_icon" widget="image" <field name="sidebar_menu_icon" widget="image"
options="{'size': [128, 128]}"/> options="{'size': [128, 128]}"/>
</div> </group>
</div>
</setting> </setting>
</block> </block>
</app> </app>