Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How Do I Install This to OpenWRT Luci? #1

Open
bxbrenden opened this issue Jan 8, 2022 · 2 comments
Open

How Do I Install This to OpenWRT Luci? #1

bxbrenden opened this issue Jan 8, 2022 · 2 comments

Comments

@bxbrenden
Copy link

This may sound like a stupid question, but there aren't a lot of words explaining the installation instructions,so here goes:

What does Install directly with Stylus actually mean in practice? When I click the supplied link, it just loads plaintext markup language which is presumably written in Stylus.

But how do I actually place that onto my OpenWRT router / the Luci GUI so that it persistently loads it instead of its own stylesheets? Sorry if I missed something, but searching didn't yield many results.

@teohhanhui
Copy link
Owner

It's meant to be used with the Stylus extension. This is client-side only, i.e. style override in your web browser. It's not for server-side use, i.e. modification on your OpenWRT router.

@teohhanhui
Copy link
Owner

teohhanhui commented Jan 8, 2022

If you're looking for a server-side solution, you'd have to use the master branch of OpenWRT, e.g. OpenWRT snapshots. This code has already been upstreamed: openwrt/luci#5366 (and further improved since then)

EDIT: Apparently it was backported to the openwrt-21.02 branch, so I expect it should be available in the next release (21.02.2)?

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

No branches or pull requests

2 participants