summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-nlbwmon/htdocs
AgeCommit message (Collapse)Author
2021-03-01luci-app-nlbwmon: fix traffic numbers display in pie chart tooltipsJo-Philipp Wich
The pie chart tooltips used base 1000 to format traffic numbers while table cell values were formatted using base 1024. Use base 1024 for both to report the same values. Fixes: #4759 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-11-27treewide: transition div tables to actual table markupJo-Philipp Wich
Modern browsers allow decomposing table markup equally well as nested div constructs, therefor migrate our <div> table markup to actual <table> tags but keep the old table/tr/th/td CSS classes for now to allow for a smooth theme transition. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-05-02luci-app-nlbwmon: gracefully handle failing oui db downloadJo-Philipp Wich
Fixes: #3980 Fixes: fdce990b9 ("luci-app-nlbwmon: convert to client side JS") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-20luci-app-nlbwmon: convert to client side JSJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-04luci-app-nlbwmon: use legacy `L.dom` attributeJo-Philipp Wich
Until it is converted to a proper view, we need to use the legacy alias. Fixes: #3835 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-03treewide: import utility classes explicitlyJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-25luci-app-nlbw: simplify table CSSJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-02-15luci-app-nlbwmon: Fixed incorrect period parameter/displayJo-Philipp Wich
Switch from using the unreliable string data constructor syntax to a more explicit year / month / day variant and pass through the period value as-is in order to ensure that the proper start date is requested from the backend. This should fix issues with prevent the display of older data periods in the nlbwmon gui. Ref: https://github.com/jow-/nlbwmon/issues/25 Ref: https://github.com/openwrt/luci/pull/2496 Suggested-by: Aktanusa <chanam.geo@yahoo.com> [squashed commits, add a more thorough commit message] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-11luci-app-nlbwmon: rewrite display sectionJo-Philipp Wich
- Move CSS and JS code to external files - Use responsive table markup Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-31luci-app-nlbwmon: add missing charting libraryJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>