luci-theme-openwrt: rework menu rendering
authorJo-Philipp Wich <jo@mein.io>
Wed, 15 Apr 2020 20:43:05 +0000 (22:43 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 16 Apr 2020 11:30:35 +0000 (13:30 +0200)
commit48269ade6163c34f348632bf225e2c6649b0a9c1
treeeca7d47024e40b46363239a66588bc1d0a30bbc6
parenta1aa0af102cb522613d376d843b0d066a1639926
luci-theme-openwrt: rework menu rendering

Utilize the LuCI.ui.menu class to load, traverse and cache the menu tree
in the local session store.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
themes/luci-theme-openwrt/htdocs/luci-static/resources/menu-openwrt.js [new file with mode: 0644]
themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/footer.htm
themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/header.htm