Commit graph

18 commits

Author SHA1 Message Date
Jo-Philipp Wich
95bfb3f363 luci-mod-status: fix graph rendering with XHTML themes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-12 11:51:49 +01:00
Jo-Philipp Wich
6ee6123061 luci-mod-status: remove inline CSS hacks from wifi status
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-08 15:59:40 +01:00
Jo-Philipp Wich
9fac447bc8 luci-mod-status: 60_wifi.js: use new network.js functions for wifi status
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-07 12:12:15 +01:00
Jo-Philipp Wich
861ec9e821 luci-mod-status: fix stray "null" in wifi assoclist status view
Fixes: #3272
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-07 08:29:35 +01:00
Jo-Philipp Wich
b27b5cfb51 luci-mod-status: 10_system.js: fix local time display
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-05 22:15:01 +01:00
Jo-Philipp Wich
86f492173d treewide: require ui.js explicitly
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03 21:55:50 +01:00
Jo-Philipp Wich
b2a46e131b luci-mod-status: move processes.js to correct directory
Fixes: a43b1c646 ("luci-base, luci-mod-status: convert process status to client side view")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03 21:18:36 +01:00
Jo-Philipp Wich
a43b1c6468 luci-base, luci-mod-status: convert process status to client side view
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03 20:07:58 +01:00
Jo-Philipp Wich
8de9b69b1a luci-mod-status: 60_wifi.js: fix channel and bitrate display
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03 18:12:28 +01:00
Jo-Philipp Wich
cfb5af89e1 luci-base, luci-mod-status: convert realtime stats to client side views
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03 17:56:58 +01:00
Zachary Cook
b436eb0545 luci-mod-status: use available and cached memory for progress bars
Fixes: #1148

Uses available and cached memory from /proc/meminfo via procd, and carefully
handles the cases where they are nil or zero, so as to not require specific
linux or procd versions to function

MemAvailable is a better estimate than free + buffered/cached, see:
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=34e431b0

Also adds a new progressbar that shows cached memory if not nil

Signed-off-by: Zachary Cook <zachcook1991@gmail.com>
2019-11-02 17:35:15 -04:00
Jo-Philipp Wich
c85af3d761 luci-mod-status: reimplement index status page as client side view
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-01 12:03:33 +01:00
Martin Schiller
5c4a5525c5 luci-mod-status: xDSL Status: use new var names dsl.errors_fecs_*
This is part of the FECS counter fix.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2019-08-26 12:03:07 +02:00
Jo-Philipp Wich
b5895e7c63 luci-mod-status: show all interface addresses on index page
Insteado f displaying only the primary/delegated address, display all
configured IP addresses in the upstream interface boxes, similar to
the interface overview page.

Fixes: #2757
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-10 07:15:02 +02:00
Claudio Marelli
97da884240 luci-mod-status: convert bytes into KB / MB / GB on progress bar
Currently on the system status page the the memory usage is shown in kB
only. If you have a system with 1 GB of Ram its hard to read the large
numbers. This automatically formats the byte numbers more human readable
into KB / MB / GB.

Submitted-by: Claudio Marelli <camarelli@gmx.net>
[squash commits, rewrap commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-04-08 09:13:50 +02:00
Jo-Philipp Wich
83df3eb6c7 luci-mod-status: iptables.js: fix parsing IP addresses in rules
Rework the regexp pattern to allow both IP addresses without mask
and IPv6 addresses with netmask instead of CIDR notation.

Fixes: #2495, #2530
Fixes: f6bfac211 ("luci-mod-status: rework iptables status page")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-02-12 07:57:35 +01:00
Jo-Philipp Wich
6a0c1d1ab6 luci-mod-status: move index and iptables page JS code into external files
Also adjust the Bootstrap and OpenWrt themes accordingly

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22 13:07:33 +01:00
Daniel F. Dickinson
58d97b5e27 modules: Split luci-mod-full
Move some common elements to luci-base, and otherwise make three
packages out of status, system, and network.  They were mostly
separated already, but there were some shared elements between
status and network that are now in luci-base.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2018-09-19 20:08:19 +02:00