ubuntuluaopenwrtluci

How to add new pages in OpenWRT Luci Web Interface?


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 .

enter image description here

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 :

What are the steps should i follow to add a new page in openwrt? Any suggestions ?


Solution

  • I solved by adding a new .lua code in /lua/luci/controller/admin