summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-nlbwmon/htdocs
AgeCommit message (Collapse)Author
2024-03-21luci-app-nlbwmon: move chartjs to own packages luci-lib-chartjsFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-04-29luci-app-nlbwmon: fix row sortingJo-Philipp Wich
Add raw cell values to support proper numerical row sorting. Fixes: #6366 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2023-01-13luci-app-nlbwmon: validate date inputJo-Philipp Wich
Fixes: #6188 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-07-02luci-app-nlbwmon: Add translation context for Download/Upload termsAnton Kikin
Added a translation context for the terms 'Download' and 'Upload' used in this application. The reason is that these terms are translated differently in Russian depending on the context. If the terms are used in the sense of an action (download file or upload file) then the translations should be as follows: - Download = скачать - Upload = загрузить But if they are used in the context of a traffic counter (like in this application) the correct translations are: - Download = скачано - Upload = загружено A translation context has been added to all affected PO files to avoid breaking existing translations. The Russian translation in PO file is fixed to comply with the used context. Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2021-06-17luci-app-nlbwmon: showe force reload button even if data are availableFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-06-17luci-app-nlbwmon: adjused the display export pageFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-06-17luci-app-nlbwmon: change force reload html element to buttonFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-06-17luci-app-nlbwmon: add missing cbi-button class for database backupFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-06-17luci-app-nlbwmon: fix urlFlorian Eckert
When moving this application to the service section, the links were forgotten to be changed. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
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>