luci-base: add markup, JS and CSS for new dropdown
authorJo-Philipp Wich <jo@mein.io>
Fri, 8 Jun 2018 05:29:44 +0000 (07:29 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 8 Jun 2018 06:14:36 +0000 (08:14 +0200)
commit9d4849072901b2a4bcf3a99492ade1e1cb54930d
tree1d5c5ab9d692a230989798eb7e9565f982d193d3
parent4cca96ef091857b6bfe839d7612da00745c530b6
luci-base: add markup, JS and CSS for new dropdown

This commit introduces the required code for a new, markup based dropdown
widget which can be used as a styleable alternative to select boxes or
radio/checkbox button groups.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/cbi.js
modules/luci-base/luasrc/cbi.lua
modules/luci-base/luasrc/view/cbi/dropdown.htm [new file with mode: 0644]
themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css
themes/luci-theme-material/htdocs/luci-static/material/css/style.css
themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css