[luci] Blank page with LuCI

Jo-Philipp Wich xm at subsignal.org
Mo Aug 11 15:40:11 CEST 2008


You have to "register" your theme in contrib/package/luci/Makefile so that
the OpenWrt buildroot picks it up and displays it in menuconf.

The entries you have to add would look like:

define Package/luci-theme-mytheme
   $(call Package/luci/thtemplate)
   TITLE:=MyTheme
endef

define Package/luci-theme-mytheme/install
         $(call Package/luci/install/template,$(1),themes/mytheme)
endef

...

ifneq ($(CONFIG_PACKAGE_luci-theme-mytheme),)
         PKG_SELECTED_MODULES+=themes/mytheme
endif

...

$(eval $(call BuildPackage,luci-theme-mytheme))


Just look in the makefile how the both other themes are included and copy-paste
the entries as needed.


Greetings,
JoW


More information about the luci mailing list