Hey everyone, I have been developing a LuCI theme in a ubuntu build system (23.05) and I have a few problems. I have been following the LuCI Documentation.
How can I remove some options from the top bar? (whole menus, and some items from the sub-menu's)
And on a side-note, how do I make my theme selectable on menu makeconfig?
Assuming you have a github repo for your theme, add it as top entry to your feeds.default.conf
Clean your feeds.
Update and install feeds. You should find your theme under make menuconfig/nconfig.
I am developing my theme inside the buildsystem itself, it is located inside themes folder. I am compiling right now, so I will have to wait a while before attempting any new changes
Your themes template or JavaScript logic is responsible for rendering the menu so just don't render what you don't want. The render logic for the default bootstrap theme can be found in /www/luci-static/resources/menu-bootstrap.js.
If you did that within the feeds/... directory, you might need to refresh metadata and "install" the new package into the buildroot, so that it becomes selectable in menuconfig.