[luci] Adding a page to luci

Nguyễn Hồng Quân ng.hong.quan at gmail.com
Wed Jan 9 02:19:03 CET 2013


Hello,

You can see my mod as a reference https://github.com/hongquan/KikiAuth
I started from this doc:
http://luci.subsignal.org/trac/wiki/Documentation/ModulesHowTo
then http://luci.subsignal.org/trac/wiki/Documentation/CBI
...

Hope you see it helpful.

***********************************************
* Nguyễn Hồng Quân                            *
* Y!M: ng_hquan_vn                            *
* Identi.ca: hongquan                         *
***********************************************


2013/1/9 Frank Parker <mr.frank.parker at gmail.com>

> If someone here is willing to walk me through the steps required to
> customize my luci interface, I would be happy to document it.  Seems useful
> since this is a common newbie question.
>
> My mod would be adding a single page with a single textbox that gets saved
> to /etc/config/myapp
>
> So for example, under System I would like to add a new tab called "MyApp"
> that displays a page with a single textbox.  The value in the textbox gets
> saved to /etc/config/myapp.  That's it.
>
> For bonus points, I also need a single button on the same page that will
> run a local script when clicked.
>
> On OpenWrt Backfire 10.03.1, I am hunting around in /usr/lib/lua/luci/*
> but not having much luck.
>
> Anyone?
>
> _______________________________________________
> luci mailing list
> luci at lists.subsignal.org
> https://lists.subsignal.org/mailman/listinfo/luci
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsignal.org/pipermail/luci/attachments/20130109/a76ec3c0/attachment.html>


More information about the luci mailing list