Jo-Philipp Wich
0ad54e4a7c
luci-mod-status: disable DSL status if not present
...
Fixes : #5465
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-10-28 14:46:27 +02:00
Jo-Philipp Wich
b5464a3e60
Merge pull request #5374 from Ansuel/fix-wifi
...
luci-mod-status: some improvement to wifi status
2021-09-22 13:00:00 +02:00
Paul Dee
2890d1842a
luci-mod-status: Add Target Platform (e.g. ath79/ipq806x/etc)
...
revealed under:
ubus call system board
board.release.target
Useful reminder for what to download
Signed-off-by: Paul Dee <systemcrash@users.noreply.github.com>
2021-09-20 11:08:21 -10:00
Ansuel Smith
085c4a08f5
luci-mod-status: fix wrong logic for maclist adding feature
...
Currently any new entry added to the black/whitelist deletes the
others. Fix this and improve the rule apply by firstly disconnect
the wifi client.
Fixes : #5343
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2021-09-18 16:27:00 +02:00
Ansuel Smith
2a97d5533c
luci-mod-status: cosmetic fix for isWPSEnabled in wifi status
...
Drop isWPSEnabled table as it's really not needed and can directly
included in the network table.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2021-09-18 16:17:27 +02:00
Fritz D. Ansel
61425793a7
status: make buffered conditional
...
when buffered could not be read, there is
just a questionmark (on e8450 non-ubi)
Signed-off-by: Fritz D. Ansel <fdansel@yandex.ru>
2021-08-11 09:25:48 +02:00
Jo-Philipp Wich
a6d957d6f5
luci-mod-status: disable "Set static" lease action on readonly view
...
Fixes: f6b6a12927
("luci-mod-status: add support for one-click static lease")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-07-07 17:15:37 +02:00
Jo-Philipp Wich
e3357deb7d
luci-mod-status: don't set '-' hostname when creating static lease
...
Fixes : #5153
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-30 17:26:07 +02:00
Jo-Philipp Wich
88b9d84388
treewide: consolidate {IPv4,IPv6,MAC} {address,gateway} spellings
...
- Turn IPv4-Address into IPv4 address
- Turn IPv4-Gateway into IPv4 gateway
- Turn IPv6-Address into IPv6 address
- Turn IPv6-Gateway into IPv6 gateway
- Turn MAC-Address into MAC address
Also remove related duplicate translation entries.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-07 12:48:08 +02:00
Andre Heider
8051510732
luci-mod-status: use the new ubus dsl metrics
...
This is significantly faster.
Signed-off-by: Andre Heider <a.heider@gmail.com>
Tested-by: Martin Schiller <ms@dev.tdt.de>
2021-01-26 07:10:19 +01:00
Giovanni Giacobbi
af422b1924
treewide: removed trailing whitespaces and extra newlines in 'modules'
...
Signed-off-by: Giovanni Giacobbi <giovanni@giacobbi.net>
2021-01-20 17:48:16 +02:00
Ansuel Smith
277ffef8ae
luci-mod-status: fix WPS button to wrong interface
...
Reset the WPS_button variable to correctly add the button to the enabled interface.
Fixes : #4625
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-12-05 23:16:57 +01:00
Andre Heider
150e080682
luci-mod-status: use raw dsl values and format them ourselves
...
Currently lantiq_dsl.sh performs these formats expensively in a shell
script. Use the raw values so the preformatted onces can be removed to
cut down the runtime or the script.
Signed-off-by: Andre Heider <a.heider@gmail.com>
2020-12-04 12:47:51 +01:00
Jo-Philipp Wich
03c77dafe3
treewide: transition div tables to actual table markup
...
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-11-27 21:36:40 +01:00
Ansuel Smith
ef94c52680
luci-mod-status: add support for add device to wifi black/whitelist
...
Add support for one-click add device to wifi black/whitelist in the status page. If the black/whitelist feature is enabled a combobox is displayed with the disconnect option.
Device already added will display only the disconnect button.
Fixes : #3675
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-10-30 21:46:31 +01:00
Jo-Philipp Wich
ff36d0eb5d
Merge pull request #4499 from Ansuel/clicklease
...
luci-mod-status: add support for one-click static lease
2020-10-30 21:24:24 +01:00
Ansuel Smith
6cf849bcf6
luci-mod-status: add WPS control for wifi info
...
Add a way to trigger and get the WPS Push Button status from the webui if supported.
Fixes : #1072
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-10-17 17:47:50 +02:00
Ansuel Smith
f6b6a12927
luci-mod-status: add support for one-click static lease
...
Introduce a button in the status lease table to quickly add an host as static.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-10-10 13:59:39 +02:00
Jo-Philipp Wich
2dbd9ff245
luci-mod-status: hide DHCP and assoclist on insufficient ACLs
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-18 23:25:22 +02:00
Jo-Philipp Wich
17770e49eb
luci-mod-status: assoclist: hide wifi disconnect on insufficient ACLs
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16 15:32:32 +02:00
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
04c73f1613
luci-mod-network, luci-mod-status: allow assoclist wrapping
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit a600ebb5fe14b13cb53669eb73b86f66cc699e94)
2020-03-24 22:14:18 +01:00
Jo-Philipp Wich
be62595c5b
luci-mod-status: tag DHCP lease tables with dedicated CSS classes
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-23 22:02:30 +01:00
Jo-Philipp Wich
e26b6c8c14
luci-mod-status: adjust assoclist markup for easier styling
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-23 22:01:53 +01:00
Howard Su
d09f3b64b2
luci-base: Show used memory instead of Free
...
This makes sure solid/blue bar shows the used memory.
Signed-off-by: Howard Su <howard0su@gmail.com>
2020-03-01 08:52:07 +08:00
Jo-Philipp Wich
4efc7cbbda
luci-mod-status: hide DHCP status if dnsmasq/odhcpd aren't present
...
Fixes : #3674
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-23 21:13:53 +01:00
Jo-Philipp Wich
2cad20e7ea
luci-mod-network, luci-mod-status: harmonize wifi signal indicators
...
Fixes : #3636
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-17 09:50:36 +01:00
Balázs Úr
8b47bb8411
luci-base: fix typos
...
Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
2019-12-20 16:48:51 +01:00
Balázs Úr
d0bc86bcc3
luci-base: fix typos
...
Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
2019-12-17 11:41:00 +01:00
Jo-Philipp Wich
b03ee4a097
luci-mod-status: display secondary lease IPv6 addresses if available
...
Ref: https://forum.openwrt.org/t/luci-not-showing-2nd-ipv6-address/48271
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-14 13:47:25 +01:00
Jo-Philipp Wich
80c9b6fee0
luci-mod-status: fix free swap calculation
...
Fixes : #3295
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-14 09:30: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
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
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