Sha256: 3c1e3386a7cf8397575712daf6f1f36aab925969e343c153a872317ba0041b23
Contents?: true
Size: 612 Bytes
Versions: 10
Compression:
Stored size: 612 Bytes
Contents
%html !=haml :head %body %h1 no success in a day %table{:id=>'statsTable', :class=>'center tablesorter'} %thead %tr %th Name %th Last success %tbody -@data.select do |node,stats| - not stats[:success] or (stats[:success].last[:end] < Time.now.utc-60*60*24) - end.map do |node,stats| - last = stats[:success] - last = last.last[:end] if last - last ||= 'never' %tr %td= node %td= last :javascript $(function(){ $("#statsTable").tablesorter(); });
Version data entries
10 entries across 10 versions & 1 rubygems