Jo-Philipp Wich
3c4bc228a1
treewide: import utility classes explicitly
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-03 10:00:06 +02:00
Jo-Philipp Wich
3d96519592
luci-app-statistics: minor bugfixes in IRQ and OpenVPN plugin config
...
- Fix cfgvalue loading in IRQ selection
- Fix cfgbalue loading in OpenVPN status file selection
- Fix typo in OpenVPN config translation string
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-29 14:17:55 +02:00
Jo-Philipp Wich
6d17667524
luci-app-statistics: rework markup and CSS classes for easier styling
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-23 22:19:26 +01:00
Jo-Philipp Wich
12e1d9411d
luci-app-statistics: fix APC UPS graph rendering
...
Fixes : #3743
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-16 12:11:01 +01:00
Kevin Darbyshire-Bryant
7b52ff85a7
luci-app-statistics: conntrack: add percent usage graph
...
The existing graph shows a conntrack entry usage value but doesn't show
a conntrack table size figure so you don't know if you're close to
filling the table. Add a percent usage graph to show conntrack table
percent used.
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2020-03-02 10:04:01 +00:00
Jo-Philipp Wich
0c3ce36ea8
luci-app-statistics: cpufreq: re-add ExtraItems config
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-23 12:10:35 +01:00
Jo-Philipp Wich
72da3c4c55
luci-app-statistics: rearrange graph display
...
- Add a per-plugin overview tab that contains the (non-detail) graphs of
each plugin instance, similar to the old Lua based implementation
- Numerically order plugin instances starting with numbers
- Avoid multiple renderings of the same graphs
- Fix legend of tcpconns graphs
- Move cpufreq distribution and transition charts to detail tabs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-22 23:32:44 +01:00
Jo-Philipp Wich
d4a475163e
luci-app-statistics: clean and fix plugin configurations
...
- Remove redundant form flags
- Fix various default values
- Add some new collect options and remove options that do not exist anymore
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-22 23:26:49 +01:00
Jo-Philipp Wich
96dcae3a34
luci-app-statistics: use stable random seed for dynamic graph colors
...
Fixes : #3666
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-21 23:01:22 +01:00
Jo-Philipp Wich
27d63e7e71
luci-app-statistics: iptables.js: fix rule match expression
...
Fixes : #3658
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-21 08:57:29 +01:00
Jo-Philipp Wich
c16f91ccb9
luci-app-statistics: df.js: fix null access in configSummary()
...
Fixes : #3657
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-21 08:57:29 +01:00
Jo-Philipp Wich
756c894d70
luci-app-statistics: fix graph power/noise ordering
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-20 14:35:20 +01:00
Jo-Philipp Wich
4b1a43fc86
luci-app-statistics: fix data source ordering
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-20 13:48:20 +01:00
Jo-Philipp Wich
eec30a2b7d
luci-app-statistics: fix datasource selection in graph rendering
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-19 14:28:35 +01:00
Jo-Philipp Wich
56e77ab817
luci-app-statistics: auto-create missing plugin entries
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-14 12:11:00 +01:00
Jo-Philipp Wich
c71ae18671
luci-app-statistics: config ui tweaks
...
- Synchronize enabled checkboxes in overview and modals
- Auto-open modal if enabling plugin with extended config
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-14 11:39:28 +01:00
Jo-Philipp Wich
9680fdea9e
luci-app-statistics: convert graph rendering to client side js
...
This conversion requires cgi-io >= version 17 and uhttpd version >= 2020-02-12
to function properly.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-13 20:45:26 +01:00
Jo-Philipp Wich
e7d22dce50
luci-app-statistics: convert collectd configuration to client side views
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-12 11:59:41 +01:00