<%if @location_networks.blank?%> <%= render :partial => 'shared/no_network_msg' %> <%else%> <%= render :partial => "/shared/device_details" %>

Network devices

<% network_radio_profile = @current_network.associated_radio_profile %> <%@routers.each do |x|%> <%# image = x.location_network.network_ssids.last.is_enabled rescue "false" %> <% last_hb = x.find_last_hb %> <% channels = router_channel_nummber x, network_radio_profile %> <%end%>
MAC Address Serial Firmware Version Last HB on Activated On Channel Connected Clients Tags
2.4 GHz
5 GHz
2.4 GHz
5 GHz
VLAN
<%= @inventory_up_list.include?(x.mac_id) ? 'up' : 'down' %>   <%mac = ap_info(x)%> <%= mac[0] %>
<%= mac[1] if mac[1].present? %>
<%= x.router_serial_number || '-' %> <%= last_hb["version"] %> <% if @hardware_parts[x.hardware_part_id] -%>
(<%= @hardware_parts[x.hardware_part_id] %>) <% end -%>
" data-last-hb="<%= last_hb["hb"] %>">- <%=format_date(x.created_at,:default)%><%= channels['2.4'] || '-' %> <%= channels['5'] || '-' %> <%= @clients_up_list[x.mac_id][1] || 0 rescue 0 %> <%= @clients_up_list[x.mac_id][2] || 0 rescue 0 %> <%= @clients_up_list[x.mac_id][nil] || 0 rescue 0 %> <% x.tag_list.each do |y| %> <%= link_to y, {:controller=>:inventory,:action=>:showing_tag, :id=>y, :type=>"tag_list"}, :class => "label label-info" %> <% end %>
<% end -%>
<%= render :partial => "monitoring/top_bar" %>