Commit graph

5 commits

Author SHA1 Message Date
Helge Mader
164e98c7d9 uci-app-vnstat2: refactoring
This is a huge change to the already existing vnstat2 LuCI module with some
improvements and some new features.

"Graphs Page":

  - Implementation of refreshing the graphs.

  - Only in the UCI configuration existing interfaces will be shown in any
    case. Before this change, all interfaces existing in the database were
    shown.

  - Introduced a button to clear the statistics for all interfaces (in fact
    this is removing and adding again the interfaces from/to the database).

    Before clearing the data a confirmation dialog is shown.

  - Show user hint if service is not running, so no updating of graphs.

  - "Error image" for a graph which can not be loaded

General:

  - Updated translations, added missing translations for ./po/de

  - Renamed the menu entry from "vnStat Traffic Monitor" to "Traffic Monitor" only

Signed-off-by: Helge Mader <ma@dev.tdt.de>
2022-02-03 13:48:10 +01:00
Jan Hoffmann
6037c8a847 luci-app-vnstat2: fix ACL rules, disable button on insufficient ACLs
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2020-04-24 18:43:03 +02:00
Jo-Philipp Wich
8f34e105c0 treewide: add ACL annotations to menu entries
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-17 12:40:31 +02:00
Jo-Philipp Wich
40c56ddd77 luci-app-vnstat2: fully convert to client side rendering
This converts the graph rendering to client side JavaScript and replaces
the route registration with declarative JSON.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-31 08:51:55 +01:00
Jan Hoffmann
1750433bc1 luci-app-vnstat2: add application
This adds an application for vnStat version 2.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2020-01-23 12:44:22 +01:00