[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: add button conditionally
- From: Igor <igor.iptv@...>
- Date: Mon, 14 Oct 2013 15:36:02 +0200
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