I am new in Luci openwrt. I want to add a new page or new tab in openwrt Luci Web Interface . This is the existing WebUI Interface and i want to add a page1 marked as red text .
I can see all main pages in lib/lua/luci/controller/admin
path . like /usr/lib/lua/luci/controller/admin/status.lua
. it's view page code in /usr/lib/lua/luci/view/admin_status/syslog.htm
. This is fine . I understand.
These are my doubts :
Now i want to know how to add a new page in
lib/lua/luci/controller/admin
. Can i add like
lib/lua/luci/controller/admin/page1.lua
and it's view like
/usr/lib/lua/luci/view/admin_status/page1.htm
?
where can i get the main HTML page in Luci ?
What are the steps should i follow to add a new page in openwrt? Any suggestions ?
I solved by adding a new .lua code in /lua/luci/controller/admin