Skip to content

treewide: themes: empty data-page on overview workaround#8553

Open
owlsy wants to merge 1 commit intoopenwrt:masterfrom
owlsy:luci-status-overview-css-alt
Open

treewide: themes: empty data-page on overview workaround#8553
owlsy wants to merge 1 commit intoopenwrt:masterfrom
owlsy:luci-status-overview-css-alt

Conversation

@owlsy
Copy link
Copy Markdown
Contributor

@owlsy owlsy commented Apr 14, 2026

Pull Request details

Description

At the moment, targeting CSS to the Status > Overview page isn't possible due to LuCI handling the data-page attribute with an empty data-page in HTML on log in, or if the hostname is clicked in the header (#8534). The only way to have the CSS applied if is the user manually clicks on 'Overview' in the navbar, or by visiting /cgi-bin/luci/admin/status/overview instead of /cgi-bin/luci/.

As a workaround, all existing CSS targeting this page has been modified to supply styling to this page, without it affecting the other pages. The only caveat here is the uniform spacing to the white boxes used for showing content applied for luci-theme-material, but is only a minor spacing change. This uniform spacing was going to only be applied to the Overview page, but will now be applied site-wide.

Maintainer (Preferred)

Pinging @systemcrash and @hnyman, due to previously approved PR merges I created based on themes.


Tested on

OpenWrt version: OpenWrt 25.12.2 (r32802-f505120278)
LuCI version: LuCI openwrt-25.12 branch (26.101.22673~0c81d2d)
Web browser: Safari Version 26.5 (21624.2.2)


Checklist

  • This PR is not from my main or master branch 💩, but a separate branch. ✅
  • Each commit has a valid ✒️ Signed-off-by: <my@email.address> row (via git commit --signoff).
  • Each commit and PR title has a valid 📝 <package name>: title first line subject for packages.

At the moment, targeting CSS to the Status >
Overview page isn't possible due to LuCI
handling the data-page attribute with an
empty data-page in HTML on log in, or if the
hostname is clicked in the header (openwrt#8534).
As a workaround, all existing CSS trying to
target this page has been modified to best
supply styling to this page, without it
affecting the other pages.

Signed-off-by: Joshua Criss <owlsy@outlook.com.au>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant