luci-base: rework CBI footer template
authorJo-Philipp Wich <jo@mein.io>
Wed, 18 Jul 2018 09:46:46 +0000 (11:46 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 18 Jul 2018 10:05:05 +0000 (12:05 +0200)
commitc09e1545608c9db5d9a81f7275528a6fc0a79505
treebfc28b41eb089ea9c6f4d0c7d7264b4e74a298ea
parentf1fb7122e3a29aac2374c189e0fe90ba45f41cd2
luci-base: rework CBI footer template

- Make sure that hitting enter in the form hits the CBI save action and not
  apply or cancel
- Hide action panel if no actions are available
- CLeanup code

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/luasrc/view/cbi/footer.htm