luci-theme-bootstrap: rework menu rendering
authorJo-Philipp Wich <jo@mein.io>
Wed, 15 Apr 2020 20:46:25 +0000 (22:46 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 16 Apr 2020 11:30:35 +0000 (13:30 +0200)
commit1ac8df2614336b34109375e62f201cf6bac46734
tree0f1352c5f4f827e38fb654d701b69dbfebdcfa15
parent48269ade6163c34f348632bf225e2c6649b0a9c1
luci-theme-bootstrap: 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-bootstrap/htdocs/luci-static/bootstrap/cascade.css
themes/luci-theme-bootstrap/htdocs/luci-static/resources/menu-bootstrap.js [new file with mode: 0644]
themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/footer.htm
themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm
themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/json-menu.htm [deleted file]