Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

42 lines (41 sloc) 2.042 kb
!!!
%html{ :lang => 'en' }
%head
%link{ :href => 'stylesheets/statistics.css', :media => 'screen', :rel => 'stylesheet', :type => 'text/css' }/
%script{ :src => 'javascripts/jquery-1.4.4.min.js', :type => 'text/javascript' }
%script{ :src => 'javascripts/jquery.sparkline-1.6.min.js', :type => 'text/javascript' }
%script{ :src => 'javascripts/d3/d3.min.js', :type => 'text/javascript' }
%script{ :src => 'javascripts/d3/d3.layout.min.js', :type => 'text/javascript' }
%script{ :src => 'javascripts/rickshaw.js', :type => 'text/javascript' }
%script{ :src => 'javascripts/graph.js', :type => 'text/javascript' }
%body
%h1 Clam: Picky Statistics Interface.
.actions
%button{ :href => '#', :onclick => 'javascript:updateStatistics();' } Update now
|
%input{ :type => "radio", :name => "updating", :onclick => 'javascript:stopUpdatingStatistics();' } Don't update
%input{ :type => "radio", :name => "updating", :onclick => 'javascript:updateStatisticsPeriodically(1);' } Every second
%input{ :type => "radio", :name => "updating", :onclick => 'javascript:updateStatisticsPeriodically(3);', :checked => 'checked' } Every 3 seconds
%input{ :type => "radio", :name => "updating", :onclick => 'javascript:updateStatisticsPeriodically(10);' } Every 10 seconds
%input{ :type => "radio", :name => "updating", :onclick => 'javascript:updateStatisticsPeriodically(30);'} Every 30 seconds
%input{ :type => "radio", :name => "updating", :onclick => 'javascript:updateStatisticsPeriodically(600);'} Every 5 minutes
#full_live_graph.stats
%h3 Full/Live
.graph
.legend
#results_graph.stats
%h3 Full Results
.graph
.legend
#speed_graph.stats
%h3 Full Performance
.graph
.legend
#offset_graph.stats
%h3 Full Offsets
.graph
.legend
%script{ :src => 'javascripts/statistics.js', :type => 'text/javascript' }
:javascript
updateStatistics();
updateStatisticsPeriodically(3);
Jump to Line
Something went wrong with that request. Please try again.