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

Tools

<%= label_tag 'Select PING IP','Select Device',:class => 'col-md-3 selectdevice'%>
<%= select_tag "mac_id" ,content_tag(:option,'Select',:value=>"")+options_for_select(@mac.map{|r| [r[0],r[1],{'data-version' => r[2]} ] }),:class => 'form-control ping_mac','data-validation' => 'required ap-version-check'%>
<%= label_tag 'DNS TO PING','IP Address / HOST',:class => 'col-md-3'%>
<%= text_field_tag "ping_data" ,'',:class => 'form-control ping_data','data-validation' => 'required'%>

<%= label_tag ''%>
<%= button_tag 'PING','data-button-type'=>'ping_start',:class => 'start'%> <%= button_tag 'TRACE ROUTE','data-button-type'=>'trace_start',:class => 'start ns_start'%> <%= button_tag 'STOP','data-button-type'=>'ping_stop',:class => 'stop'%><%= button_tag 'CLEAR','data-button-type'=>'.ping_stat',:class => 'clear'%>

You can view the response of PING Statistic here:
<%= label_tag 'Select PING IP','Select Device',:class => 'col-md-3 selectdevice'%>
<%= select_tag "mac_id" ,content_tag(:option,'Select',:value=>"")+options_for_select(@mac.map{|r| [r[0],r[1],{'data-version' => r[2]} ] }),:class => 'form-control ping_mac','data-validation' => 'required ap-version-check'%>
<%= label_tag 'DNS TO PING','HOST',:class => 'col-md-3 selectdevice'%>
<%= text_field_tag "ping_data" ,'',:class => 'form-control ping_data','data-validation' => 'required'%>

<%= label_tag ''%>
<%= button_tag 'NS LOOKUP','data-button-type'=>'dns_lookup',:class => 'start'%> <%= button_tag 'STOP','data-button-type'=>'ping_stop',:class => 'stop'%><%= button_tag 'CLEAR','data-button-type'=>'.dns_stat',:class => 'clear'%>

You can view the response of DNS Lookup here:
<%= label_tag 'Select PING IP','Select Device',:class => 'pull-left marg-top-five'%>
<%= select_tag "mac_id" ,content_tag(:option,'Select',:value=>"")+options_for_select(@mac.map{|r| [r[0],r[1],{'data-version' => r[2]} ] }),:class => 'form-control cap_mac','data-validation' => 'required ap-version-check'%>
<%= label_tag '','Send Packets To',:class => 'pull-left marg-top-five'%>
<%= select_tag "show_type" ,options_for_select([['File','File']]),:class => 'form-control'%>

<%= label_tag "",'Capture_________________________________________________________',:class => 'col-md-12'%>
<%= select_tag "wireless" ,options_for_select([['ALL','all']]),:class => 'form-control wireless',:style => 'padding-left: 0px'%>
<%= label_tag "",'Filter_________________________________________________________',:class => 'col-md-12 no-padding'%>
<%= select_tag "proto" ,options_for_select([['ALL',''],['TCP','tcp'],['UDP','udp'],['ICMP','icmp']]),:class => 'form-control cp_proto'%>

<%= text_field_tag "host" ,'',:class => 'form-control','data-validation' => 'required ip'%>
<%= select_tag "host_op" ,options_for_select([['ALL',''],['SOURCE','src'],['DESTINATION','dst']]),:class => 'form-control cp_host'%>

<%= text_field_tag "mac_filter" ,'',:class => 'form-control' ,'data-validation' => 'required mac_id'%>
<%= select_tag "mac_op" ,options_for_select([['ALL','host'],['SOURCE','src'],['DESTINATION','dst']]),:class => 'form-control mac_op'%>

<%= text_field_tag "port" ,'',:class => 'form-control' ,'data-validation' => 'required port'%>
<%= select_tag "port_op" ,options_for_select([['ALL',''],['SOURCE','src'],['DESTINATION','dst']]),:class => 'form-control cp_port'%>

<%= label_tag ''%>
<%= button_tag 'Start',:class => 'pcap_start', :onclick=>"$('.pcap_form').submit()"%> <%= button_tag 'STOP','data-button-type'=>'ping_stop',:class => 'pcap_stop'%> <%= button_tag "".html_safe, :class => 'download_pcap'%>

<% if false %>
You can view the response of PACKET CAPTURE here:
<% end %>
<%= label_tag 'Select PING IP','Select Device',:class => 'col-md-3 selectdevice'%>
<%= select_tag "mac_id" ,content_tag(:option,'Select',:value=>"")+options_for_select(@mac.map{|r| [r[0],r[1],{'data-version' => r[2]} ] }),:class => 'form-control ping_mac','data-validation' => 'required ap-version-check'%>

<%= label_tag ''%>
<%= button_tag 'Show','data-button-type'=>'ns_look_start',:class => 'start'%> <%= button_tag 'CLEAR','data-button-type'=>'.arp_stat',:class => 'clear'%>

<%= label_tag 'Select PING IP','Select Device',:class => 'col-md-3 selectdevice'%>
<%= select_tag "mac_id" ,content_tag(:option,'Select',:value=>"")+options_for_select(@mac.map{|r| [r[0],r[1],{'data-version' => r[2]} ] }),:class => 'form-control ping_mac','data-validation' => 'required ap-version-check'%>

<%= label_tag ''%>
<%= button_tag 'Show','data-button-type'=>'speed_test_start',:class => 'start'%> <%= button_tag 'CLEAR','data-button-type'=>'.speed_test_stat',:class => 'clear'%>

You can view the response of Speedtest here:
<%= label_tag 'Select PING IP','Select Device',:class => 'col-md-3 selectdevice'%>
<%= select_tag "mac_id" ,content_tag(:option,'Select',:value=>"")+options_for_select(@mac.map{|r| [r[0],r[1],{'data-version' => r[2]} ] }),:class => 'form-control ping_mac','data-validation' => 'required ap-version-check'%>
pserialio
<%= text_field_tag "ping_data" ,'',:id => 'at_cmd', :class => "form-control", 'data-validation' => 'required'%>

<%= label_tag ''%>
<%= button_tag 'SEND','data-button-type'=>'at_cmd_start',:class => 'start'%> <%= button_tag 'CLEAR','data-button-type'=>'.at_cmd_start',:class => 'clear'%>

You can view the response of AT command here:
<%= label_tag 'Select PING IP','Select Device',:class => 'col-md-3 selectdevice'%>
<%= select_tag "mac_id" ,content_tag(:option,'Select',:value=>"")+options_for_select(@mac.map{|r| [r[0],r[1],{'data-version' => r[2]} ] }),:class => 'form-control ping_mac','data-validation' => 'required ap-version-check'%>
<%= label_tag 'band_id', 'Band', :class => 'col-md-2 selectband' %>
<%= select_tag "band_id", options_for_select([['2.4 GHz', 'band2'], ['5 GHz', 'band5']]), :class => 'form-control band_id', 'data-validation' => 'required' %>

<%= label_tag ''%>
<%= button_tag 'Show','data-button-type'=>'wifi_scan',:class => 'start'%> <%= button_tag 'CLEAR','data-button-type'=>'.wifi_scan_clear',:class => 'clear'%>

<% end %> <%= render :partial => "monitoring/top_bar" %>