mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-02 15:39:57 +00:00
This update introduces full JavaScript-based nested submenu handling for the Apps menu, enabling reliable click-based toggling without interference from Bootstrap’s native dropdown logic. Submenus now expand to the left via custom CSS and no longer require dropstart or data-bs-toggle attributes. Changes include: - Add javascript feature flag and enable inline eval in CSP - Add javascript.js implementing custom submenu toggle logic - Add CSS rules for left-expanding nested dropdown menus - Replace hardcoded headline with LITTLEJS_HEADLINE variable - Modernize “Play” → “Start” labels in cards - Remove unused/legacy examples from examples.yml (commented out, not deleted) - Cleanup nav_top.html.j2 to remove conflicting Bootstrap attributes Conversation reference: https://chatgpt.com/share/6928b4c7-19ec-800f-a087-9af304ef4ed9
37 lines
842 B
YAML
37 lines
842 B
YAML
features:
|
|
css: true
|
|
matomo: true
|
|
desktop: true
|
|
logout: false
|
|
javascript: true
|
|
|
|
server:
|
|
csp:
|
|
whitelist:
|
|
script-src-elem:
|
|
- "https://cdnjs.cloudflare.com"
|
|
- "https://cdn.jsdelivr.net"
|
|
style-src-elem:
|
|
- "https://cdn.jsdelivr.net"
|
|
- "https://cdnjs.cloudflare.com"
|
|
font-src:
|
|
- "https://cdnjs.cloudflare.com"
|
|
- "data:"
|
|
connect-src:
|
|
- "https://cdn.jsdelivr.net"
|
|
frame-src:
|
|
- "https://littlejs.{{ PRIMARY_DOMAIN }}"
|
|
flags:
|
|
style-src-attr:
|
|
unsafe-inline: true
|
|
script-src-elem:
|
|
unsafe-inline: true
|
|
unsafe-eval: true
|
|
script-src-attr:
|
|
unsafe-inline: true
|
|
unsafe-eval: true
|
|
domains:
|
|
canonical:
|
|
- "littlejs.{{ PRIMARY_DOMAIN }}"
|
|
aliases: []
|