lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 14/10/2013 15:36, Igor wrote:
I use this file (https://dev.openwrt.org/attachment/ticket/12434/iface_status.2.htm) for
displaying signal strength on router with openwrt. In html code, before last line
"<%+cbi/valuefooter%>" I add line:
<table><input type="button" class="cbi-button cbi-button-up" value="<%:More info%>"
onclick="location.href='<%=luci.dispatcher.build_url("admin/network/minfo")%>'" /></table>

This page is for all interfaces (3g, wan, lan, ...) and button is displayed on all pages.
How to display button (More info) on 3g interface page only? Thanks

Looks like this question is more an OpenWRT question than a pure Lua one, so I suggest to look if there is an OpenWRT mailing list or forum and to ask there.

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --