luci-base: ui.js: implement addNotification() helper
authorJo-Philipp Wich <jo@mein.io>
Wed, 11 Sep 2019 07:22:13 +0000 (09:22 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 11 Sep 2019 07:22:13 +0000 (09:22 +0200)
commit94a9f600d35e7c2b7697afef134ee3454b8064b0
treecdb22296e7ea3092428ee79d5d6effb068623a48
parentfd40efdf4da6322fef9e3b02e713c914bc8ad530
luci-base: ui.js: implement addNotification() helper

The L.ui.addNotification() function pushes a dismissable banner message to
the top of the view.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/ui.js