Sha256: 2ec89c3e76c6f137328008fc8601dc2eb6fd106ec254e2fdeccb317a79b967ac

Contents?: true

Size: 883 Bytes

Versions: 2

Compression:

Stored size: 883 Bytes

Contents

%h2 Failures
%p
  %table
    %tr
      %th Job ID
      %th Error
      %th Attempts
      %th Backtrace
      %th Time
      %th  
    - Kthxbye::Failure.all.each do |f|
      %tr
        %td #{f['job']}
        %td #{f['error']}
        %td #{Kthxbye::Failure.fails_for_job(f['job'])}
        %td 
          %a{:href => "/view_backtrace?id=#{f['job']}"}
            View Backtrace
        %td #{f['time']}
        %td{:style => "white-space:nowrap;"}
          %form{:action => "/failed/#{f['job']}/rerun", :method => "post", :style => "display:inline"}
            %input{:class => "awesome button small", :value => "Retry", :type => "submit"}
          %span.spacer
            |
          %form{:action => "/failed/#{f['job']}/clear", :method => "post", :style => "display:inline"}
            %input{:class => "awesome button small", :value => "Clear", :type => "submit"}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kthxbye-1.3.2 lib/kthxbye/web_interface/views/failed.haml
kthxbye-1.3.0 lib/kthxbye/web_interface/views/failed.haml