Changeset 7558
- Timestamp:
- 09/25/11 12:59:21 (20 months ago)
- Location:
- luci/trunk/libs/web/luasrc/view/cbi
- Files:
-
- 3 modified
-
network_ifacelist.htm (modified) (1 diff)
-
network_netinfo.htm (modified) (1 diff)
-
network_netlist.htm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
luci/trunk/libs/web/luasrc/view/cbi/network_ifacelist.htm
r7552 r7558 26 26 if n then 27 27 local i 28 for _, i in ipairs(n: is_bridge() and n:get_interfaces() or { n:get_interface() }) do28 for _, i in ipairs(n:get_interfaces() or { n:get_interface() }) do 29 29 checked[i:name()] = true 30 30 end -
luci/trunk/libs/web/luasrc/view/cbi/network_netinfo.htm
r7552 r7558 16 16 <% 17 17 local empty = true 18 for _, iface in ipairs(net: is_bridge() and net:get_interfaces() or { net:get_interface() }) do18 for _, iface in ipairs(net:get_interfaces() or { net:get_interface() }) do 19 19 if not iface:is_bridge() then 20 20 empty = false -
luci/trunk/libs/web/luasrc/view/cbi/network_netlist.htm
r7552 r7558 37 37 empty = false 38 38 %> 39 <img<%=attr("title", pcdata(iface:get_i18n()))%> style="width:16px; height:16px; vertical-align:middle" src="<%=resource%>/icons/<%=iface:type()%><%=iface:is_up() and "" or "_disabled"%>.png" />39 <img<%=attr("title", iface:get_i18n())%> style="width:16px; height:16px; vertical-align:middle" src="<%=resource%>/icons/<%=iface:type()%><%=iface:is_up() and "" or "_disabled"%>.png" /> 40 40 <% end end %> 41 41 <% if empty then %><em><%:(no interfaces attached)%></em><% end %>
