Status
Select the port to View the Status
<%= content_tag :div, '', id: 'num_of_wans', data: { source: @wans } %> <%= content_tag :div, '', id: 'port_count', data: { source: @port_count } %> <% if @port_count %> <% end %>
<% @port_count.times do |i,j| %>
<% if (@wans > 0 && i <= @wans - 1) %> <% nw_type="WAN" %> <% else %> <% nw_type="LAN" %> <% end %> <%# if (i > 0) %>

<%= nw_type%>

<%= i %>

<%# else %> <%# end %>
<% end %>
Name:

-

Network type:

-

Port Number:

0

Sent Packets:

-

Received Packets:

-

Speed:

-

Status:

-

Duplex:

-