diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-02-15 15:12:10 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-02-15 15:12:10 +0000 |
commit | 7bda8d6da3b4a931d5509a6bce0a38b36f23eefb (patch) | |
tree | a7fd9d52552a31d20a6daaa3f7901883bba36a27 /modules | |
parent | 4587911f077d91ee3779b3df19887d141a7f8239 (diff) |
modules/admin-full: use new button classes in iface overview template
Diffstat (limited to 'modules')
-rw-r--r-- | modules/admin-full/luasrc/view/admin_network/iface_overview.htm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/admin-full/luasrc/view/admin_network/iface_overview.htm b/modules/admin-full/luasrc/view/admin_network/iface_overview.htm index fc82acd7ff..6826d1ad30 100644 --- a/modules/admin-full/luasrc/view/admin_network/iface_overview.htm +++ b/modules/admin-full/luasrc/view/admin_network/iface_overview.htm @@ -210,7 +210,7 @@ $Id$ %> <tr class="cbi-section-table-row cbi-rowstyle-<%=i % 2 + 1%>"> <td class="cbi-value-field" style="padding:3px"> - <div style="background-color:#FFFFFF; border:1px solid #CCCCCC; margin:0 10px"> + <div style="background-color:#FFFFFF; border:1px solid #CCCCCC; margin:0 10px; text-align:center; white-space:nowrap"> <div style="border-bottom:1px solid #CCCCCC; padding:2px; background-color:<%=c%>" title="<%=pcdata(t)%>"> <strong><%=net:upper()%></strong> </div> @@ -224,10 +224,10 @@ $Id$ <em><%:Collecting data...%></em> </td> <td style="width:420px"> - <input type="button" class="cbi-button cbi-button-add" style="width:100px; background-image:url(<%=resource%>/cbi/reload.gif)" onclick="iface_shutdown('<%=net%>', true)" title="<%:Reconnect this interface%>" value="<%:Connect%>" /> - <input type="button" class="cbi-button cbi-button-add" style="width:100px; background-image:url(<%=resource%>/cbi/reset.gif)" onclick="iface_shutdown('<%=net%>', false)" title="<%:Shutdown this interface%>" value="<%:Stop%>" /> - <input type="button" class="cbi-button cbi-button-add" style="width:100px; background-image:url(<%=resource%>/cbi/edit.gif)" onclick="location.href='<%=luci.dispatcher.build_url("admin/network/network", net)%>'" title="<%:Edit this interface%>" value="<%:Edit%>" id="<%=net%>-ifc-edit" /> - <input type="button" class="cbi-button cbi-button-add" style="width:100px; background-image:url(<%=resource%>/cbi/remove.gif)" onclick="if (confirm('<%:Really delete this interface? The deletion cannot be undone!\nYou might lose access to this router if you are connected via this interface.%>')) location.href='<%=luci.dispatcher.build_url("admin/network/iface_delete", net)%>'" title="<%:Delete this interface%>" value="<%:Delete%>" /> + <input type="button" class="cbi-button cbi-button-reload" style="width:100px" onclick="iface_shutdown('<%=net%>', true)" title="<%:Reconnect this interface%>" value="<%:Connect%>" /> + <input type="button" class="cbi-button cbi-button-reset" style="width:100px" onclick="iface_shutdown('<%=net%>', false)" title="<%:Shutdown this interface%>" value="<%:Stop%>" /> + <input type="button" class="cbi-button cbi-button-edit" style="width:100px" onclick="location.href='<%=luci.dispatcher.build_url("admin/network/network", net)%>'" title="<%:Edit this interface%>" value="<%:Edit%>" id="<%=net%>-ifc-edit" /> + <input type="button" class="cbi-button cbi-button-remove" style="width:100px" onclick="if (confirm('<%:Really delete this interface? The deletion cannot be undone!\nYou might lose access to this router if you are connected via this interface.%>')) location.href='<%=luci.dispatcher.build_url("admin/network/iface_delete", net)%>'" title="<%:Delete this interface%>" value="<%:Delete%>" /> </td> </tr> <% end %> |