- index.html: fix title and typo, add missing #error div - config.json: replace project-specific keys with generic api_url - core/menu.js: remove Voltalis mock data, leave commented usage pattern - dashboard.js: move logic to init(), Custom Element is a plain shell - dashboard.css: add real styles, remove placeholder comment - manifest.json: drop unused version field - config.yml: fix web/vendor comment → sources/vendor Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
10 lines
392 B
JavaScript
10 lines
392 B
JavaScript
// Dynamic menu loader — injects children into named groups in the side-nav.
|
|
// Imported non-blocking from index.html — does not delay routing.
|
|
//
|
|
// Example: populate a group declared in config.yml.
|
|
//
|
|
// const nav = document.querySelector('side-nav')
|
|
// await nav.ready
|
|
// nav.setGroupChildren('Mon Groupe', [
|
|
// { label: 'Item A', href: '#/item-a', icon: 'folder' },
|
|
// ])
|