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

Version Path
oxidized-web-0.5.2 lib/oxidized/web/views/stats.haml
oxidized-web-0.5.1 lib/oxidized/web/views/stats.haml
oxidized-web-0.5.0 lib/oxidized/web/views/stats.haml
oxidized-web-0.4.0 lib/oxidized/web/views/stats.haml
oxidized-web-0.3.0 lib/oxidized/web/views/stats.haml
oxidized-web-0.2.0 lib/oxidized/web/views/stats.haml
oxidized-web-0.1.2 lib/oxidized/web/views/stats.haml
oxidized-web-0.1.1 lib/oxidized/web/views/stats.haml
oxidized-web-0.1.0 lib/oxidized/web/views/stats.haml
oxidized-web-0.0.3 lib/oxidized/web/views/stats.haml