luci-app-filemanager: flexible width, dark mode, refinements
authorJoshua Criss <redacted>
Sun, 12 Apr 2026 14:49:21 +0000 (00:49 +1000)
committerPaul Donald <redacted>
Thu, 16 Apr 2026 23:31:41 +0000 (01:31 +0200)
commit357f9fb1f9a4097409ddedeb472f436f48681fbc
treeea7ea15ffd99e31edba804bcd0759b276cc6b7fe
parent5552cf27019cdfb202d3f78952b7604a2eec3689
luci-app-filemanager: flexible width, dark mode, refinements

Automatic width and height for the file-list,
automatic width for text editor, hex editor
and help window. Justification is that user
can adjust width using browser window and
allows responsive width to function.
Added support for dark mode, previously
was hard-coded for light mode and caused
a visual conflict with using bootstrap which
adapts to both modes. Minor fixes to buttons,
heading, nav bar, borders. Small style tidying.
Further tested across all luci-themes. Added
fallback CSS if a theme does not have dark
mode, and enclosed most open CSS classes
such as .selected, as it was affecting other
elements outside of the file manager.

Closes #8537.

Signed-off-by: Joshua Criss <redacted>
applications/luci-app-filemanager/htdocs/luci-static/resources/view/system/filemanager.js
applications/luci-app-filemanager/htdocs/luci-static/resources/view/system/filemanager/HexEditor.js
applications/luci-app-filemanager/htdocs/luci-static/resources/view/system/filemanager/md.js
applications/luci-app-filemanager/htdocs/luci-static/resources/view/system/filemanager/md_help.js
git clone https://git.99rst.org/PROJECT