-__DATA__
-
-@@ index.html.ep
-% layout 'default';
-% title 'Gearman demo';
-
-<ul>
-<li><a href="/gearman.html#ping/127.0.0.1">Gearman</a> web interface
-<li><%= link_to 'CRM' => 'CRM.html' %> search with tabular output
-</ul>
-
-Gnuplot graphs:
-
-<ul>
-<li><a href="/gnuplot?sql=select start,ping_error,adsl_ok from poll">poll stats</a>
-<li><a href="/gnuplot?sql=select timestamp,snrtx,attntx,pwrtx,pwrrx,attnrx,snrrx from adsl where username='test36zg@h1snc'">adsl stat for single user</a>
-<li><a href="/gnuplot?sql=select timestamp,rtt from ping where ip << inet '10.17/16' order by timestamp desc limit 1000">ttl from 10.17 network</a>
-</ul>
-
-Low-level API tests:
-
-<%= link_to 'HTTP ping' => 'ping_http' %>
-<%= link_to 'Gearman ping' => 'ping_g' %>
-
-@@ ping.html.ep
-% layout 'default';
-pong: <tt><%= $pong %>
-
-@@ gnuplot.html.ep
-% layout 'default';
-<%= form_for gnuplot => begin %>
- <%= text_area 'sql', cols => 80 %>
- <%= submit_button 'execute' %>
-<% end %>
-% if ( $img ) {
-<img src="<%= $img %>">
-% }
-<pre><%= $gnuplot %></pre>
-
-@@ layouts/default.html.ep
-<!doctype html><html>
- <head><title><%= title %></title></head>
- <body><%= content %></body>
-</html>