[luci] LuCI view controller, and bmx6 luci moule
Jo-Philipp Wich
xm at subsignal.org
Sun Jun 5 21:54:48 CEST 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I wonder whether we couldn't just implement some pseudo categories like
this:
category({"admin", "network"}, "mesh-routing", 100)
The initial table specifies the path, the second argument the category
name and the third one a weight.
You could register the bmx6 modules like this then:
entry("@mesh-routing", ...)
Your "qmp" level controller could define its own "mesh-routing" category
with a higher prio to overwrite whatever admin-full offers:
category({"admin", "qmp"}, "mesh-routing", 200)
Its only a vague idea for now but I think that indirection is the way to
go - one only has to agree on suitable categories to stuff components
into, like "@network-config", "@network-status",
"@service-config", "@service-status" and so on...
~ Jow
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk3r3wgACgkQdputYINPTPNsIACgl8mY+Clpf9wS3ezYj10NnK7U
pREAnidKtw1Q8O6KNKb58yVxa2JAOOyB
=3Aw6
-----END PGP SIGNATURE-----
More information about the luci
mailing list