widgets: add a re-useable filtered logread view
authorKarl Palsson <karlp@etactica.com>
Mon, 18 Oct 2021 13:04:00 +0000 (13:04 +0000)
committerPaul Donald <newtwen@gmail.com>
Sun, 17 Mar 2024 00:02:19 +0000 (01:02 +0100)
commitc5a65a839713ab7ac70e6a6b5a7331593f67a9a0
treeb0638283a3ae449f006011dbea8fd706c3b92a9e
parent97ebdcbddb9cad76dc551086fcb887e55886a069
widgets: add a re-useable filtered logread view

Multiple apps introduced their own implementation of a syslog view,
filtered for just their own application logs.  Pull that out as a shared
view.  Some of these had _minor_ style differences, which has been
"standardized" now.  A full "widget" conversion would allow more end app
tuning of that, but is not implemented.

Signed-off-by: Karl Palsson <karlp@etactica.com>
app-nextdns: fix Logs title

Minor typo, introduced in 625abbf (convert simple controllers to
menu.json)

Signed-off-by: Karl Palsson <karlp@etactica.com>
luci-base: implement shared log reader view

Closes #5452

Signed-off-by: Paul Donald <newtwen@gmail.com>
applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/logread.js
applications/luci-app-banip/htdocs/luci-static/resources/view/banip/processing_log.js
applications/luci-app-nextdns/htdocs/luci-static/resources/view/nextdns/logread.js
applications/luci-app-nextdns/root/usr/share/luci/menu.d/luci-app-nextdns.json
applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/logread.js
modules/luci-base/htdocs/luci-static/resources/tools/views.js [new file with mode: 0644]