modules/admin-full: remove inline style for inface boxes
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 15 Feb 2012 16:01:07 +0000 (16:01 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 15 Feb 2012 16:01:07 +0000 (16:01 +0000)
modules/admin-full/luasrc/view/admin_network/iface_overview.htm

index 6826d1ad30711bdc4d41196f797546632c8262c7..0e03b912b34fe8dff5a67309bc8308934f87609c 100644 (file)
@@ -210,11 +210,11 @@ $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; text-align:center; white-space:nowrap">
-                                                       <div style="border-bottom:1px solid #CCCCCC; padding:2px; background-color:<%=c%>" title="<%=pcdata(t)%>">
+                                               <div class="ifacebox">
+                                                       <div class="ifacebox-head" style="background-color:<%=c%>" title="<%=pcdata(t)%>">
                                                                <strong><%=net:upper()%></strong>
                                                        </div>
-                                                       <div style="padding:2px" id="<%=net%>-ifc-devices">
+                                                       <div class="ifacebox-body" id="<%=net%>-ifc-devices">
                                                                <img src="<%=resource%>/icons/ethernet_disabled.png" style="width:16px; height:16px" /><br />
                                                                <small>?</small>
                                                        </div>