libs/web: remove inline styles from network_netinfo widget

This commit is contained in:
Jo-Philipp Wich 2012-02-15 16:43:39 +00:00
parent 6a79dfc77e
commit 7c9dd3ab81

View file

@ -11,8 +11,7 @@
-%> -%>
<% if net then %> <% if net then %>
<div style="padding:0.5em"> <span class="ifacebadge"><%=net:name()%>:
<span style="background-color:#FFFFFF; border:1px solid #CCCCCC; padding:2px"><%=net:name()%>:
<% <%
local empty = true local empty = true
for _, iface in ipairs(net:get_interfaces() or { net:get_interface() }) do for _, iface in ipairs(net:get_interfaces() or { net:get_interface() }) do
@ -23,7 +22,6 @@
<% end end %> <% end end %>
<% if empty then %><em><%:(no interfaces attached)%></em><% end %> <% if empty then %><em><%:(no interfaces attached)%></em><% end %>
</span> </span>
</div>
<% end %> <% end %>
<%+cbi/valuefooter%> <%+cbi/valuefooter%>