lua-users home
lua-l archive

add button conditionally

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


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="" /></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

AltStyle によって変換されたページ (->オリジナル) /