luci-base: add client based view actions
authorJo-Philipp Wich <jo@mein.io>
Mon, 1 Apr 2019 13:38:00 +0000 (15:38 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sun, 7 Jul 2019 13:25:49 +0000 (15:25 +0200)
commit2beb9fa16fffc0cceea1d90c191309dfbcc307cc
treef2183466da7304a2793d6038417b5c4989c5737b
parent5b7924c8087b93037ae20e03f35bd0c7e9e06a05
luci-base: add client based view actions

Introduce a new view() target for CBI dispatch nodes, as long with the
required template and plumbing work in luci.js to allow requiring view
classes.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/luci.js
modules/luci-base/luasrc/dispatcher.lua
modules/luci-base/luasrc/view/view.htm [new file with mode: 0644]