luci-mod-status: add support to show/hide index cards
authorChristian Marangi <[email protected]>
Tue, 21 Nov 2023 20:54:10 +0000 (21:54 +0100)
committerPaul Donald <[email protected]>
Thu, 2 Oct 2025 13:11:51 +0000 (15:11 +0200)
commit788e47034becc7806485b40dbef9774a14f8ea9d
tree335526241c45510f17f54b0e9c6460e7f6984583
parent874752bcc44530da80f22ea152b200dcf424afa0
luci-mod-status: add support to show/hide index cards

Add support to show/hide index cards. A card's state is saved using the
browser localstorage and its state is restored on page reload/relogin.

Rework the pool function to check and skip loading of hidden cards.

Rework themes to address new button position.

Signed-off-by: Christian Marangi <[email protected]>
[ changed tabs in CSS ]
Signed-off-by: Paul Donald <[email protected]>
modules/luci-mod-status/htdocs/luci-static/resources/view/status/index.js
themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css
themes/luci-theme-material/htdocs/luci-static/material/cascade.css
themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css
themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css