lede/package/lean/luci-app-syncdial/luasrc/view/syncdial/redial_button.htm
Beginner 07ad9ff555
luci-app-syncdial: adapt LuCI style of luci-theme-openwrt-2020 (#6906)
Co-authored-by: zxlhhyccc <45259624+zxlhhyccc@users.noreply.github.com>
2021-05-31 18:42:08 +08:00

18 lines
603 B
HTML

<%+cbi/valueheader%>
<script type="text/javascript" src="<%=resource%>/cbi.js?v=git-17.110.13538-6360059"></script>
<script type="text/javascript">//<![CDATA[
function do_macvlan_redial()
{
XHR.get('<%=luci.dispatcher.build_url("admin", "network", "macvlan_redial")%>', null,
function(x, st)
{
window.location.href='<%=luci.dispatcher.build_url("admin", "network", "network")%>';
}
);
}
//]]></script>
<input class="btn cbi-button cbi-button-save" id="cbi-macvlan_rediag-<%=section%>-action" type="button" value="重新拨号" onclick="do_macvlan_redial()" />
<%+cbi/valuefooter%>