git.archive.openwrt.org Git - project/luci.git/atom - applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm history Lua Configuration Interface (mirror) http://git.archive.openwrt.org?p=project/luci.git https://github.com/openwrt/luci static/git-favicon.png static/git-logo.png 2017-08-07T07:56:30Z gitweb luci-app-nlbw: make display template XHTML compliant 2017-08-07T07:56:30Z Jo-Philipp Wich jo@mein.io Jo-Philipp Wich jo@mein.io 2017-08-07T07:56:30Z http://git.archive.openwrt.org?p=project/luci.git;a=commitdiff;h=1fdad2616da0709eb6b34a729fd7af34b66fb496
luci-app-nlbw: make display template XHTML compliant

This allows proper rendering in OpenWrt theme. Fixes #1284.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
  • [D] applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm
luci-app-nlbwmon: always fetch latest data 2017-08-01T11:51:45Z Jo-Philipp Wich jo@mein.io Jo-Philipp Wich jo@mein.io 2017-08-01T11:51:45Z http://git.archive.openwrt.org?p=project/luci.git;a=commitdiff;h=e276df205163425d43f7be04bd513569b26ad5b9
luci-app-nlbwmon: always fetch latest data

When displaying the most current accounting period, pass an empty timestamp
to the backend in order to query the current in-memory data instead of the
latest committed values.

This ensures that the dashboard always renders the most current data in its
default view.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
  • [D] applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm
luci-app-nlbwmon: remove version marker from javascripts 2017-07-31T17:32:02Z Jo-Philipp Wich jo@mein.io Jo-Philipp Wich jo@mein.io 2017-07-31T17:32:02Z http://git.archive.openwrt.org?p=project/luci.git;a=commitdiff;h=6f9b75cc427be57a1a05373312013ce30fa31b6b
luci-app-nlbwmon: remove version marker from javascripts

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
  • [D] applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm
luci-app-nlbwmon: improve initial view 2017-07-31T17:11:51Z Jo-Philipp Wich jo@mein.io Jo-Philipp Wich jo@mein.io 2017-07-31T17:11:51Z http://git.archive.openwrt.org?p=project/luci.git;a=commitdiff;h=3722aa02861d53d356a73a1ddc4fc2a2cd610617
luci-app-nlbwmon: improve initial view

Make sure that placeholder pie charts are rendered, display a hint about
yet missing data in the tables and offer a link to force-commit ("Reload")
the data.

Also fix some mixed white space, an imbalanced dom operation and sync
translation template.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
  • [D] applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm
luci-app-nlbwmon: new package 2017-07-28T13:57:44Z Jo-Philipp Wich jo@mein.io Jo-Philipp Wich jo@mein.io 2017-07-28T13:57:44Z http://git.archive.openwrt.org?p=project/luci.git;a=commitdiff;h=0fe93fc3a3c9402a5d0af4415ed140df20f14953
luci-app-nlbwmon: new package

This commit introduces luci-app-nlbwmon, a frontend for nlbwmon, the
lightweight NetLink BandWidth Montor.

The nlbwmon daemon gathers per-host traffic statistics by querying netlink
accounting data. Due to this approach, the executable is very small and does
not rely on libpcap and CPU intensive raw sockets to monitor traffic.

Depends on PR https://github.com/openwrt/packages/pull/4646

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
  • [D] applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm