X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fmisc%2Fping.html;fp=httemplate%2Fmisc%2Fping.html;h=4f0360e8b2ab2e75526a4eeb73cc7fa333114509;hp=0000000000000000000000000000000000000000;hb=9ecb64360568b205334ae23e1051249cb56491b6;hpb=49fbd7cc643b1c474d9a6777dac512a24504a99d diff --git a/httemplate/misc/ping.html b/httemplate/misc/ping.html new file mode 100644 index 000000000..4f0360e8b --- /dev/null +++ b/httemplate/misc/ping.html @@ -0,0 +1,102 @@ +<% include('/elements/header-popup.html', "Ping $ip" ) %> + +<% include('/elements/xmlhttp.html', + 'url' => $p. 'misc/xmlhttp-ping.html', + 'subs' => [ 'ping' ], + ) +%> + +%# + + +<%ntable("#cccccc", 2)%> + + + Status + Checking... + + + Packet loss + + + + Latency + + + + Packets + + + + + +
+
+ +
+ + + +<%init> + +my($query) = $cgi->keywords; +$query =~ /^([\d\.]+)$/ or die 'Illegal IP'; +my $ip = $1; + +