Sha256: d2f4872500bfd5ea61fc7b1ac6abd8677901dc193efb032f6b7657bd4d3924c0

Contents?: true

Size: 848 Bytes

Versions: 2

Compression:

Stored size: 848 Bytes

Contents

%h2 Queues
.t8 The queue job count only shows jobs that are either waiting for processing or being processed

%br

%table
  %tr
    %th Name
    %th Jobs
    %th  
  - kthxbye.queues.each do |queue|
    %tr
      %td
        %a{:href => "/queues/#{queue}"}
          %b #{queue} 
      %td
        = Kthxbye.size(queue)
      %td
        %form{:action => "/queues/#{queue}/remove", :style => "display:inline", :method => "post" }
          %input{:type => "submit", :class => "awesome button small", :value => "Remove Queue"}
  %tr{:style => "background-color:#F4A8AA"}
    %td 
      %a{:href => "/failed"}
        %b Failed
    %td= Kthxbye::Failure.count
    %td
      %form{:action => "/failed/clear", :style => "display:inline", :method => "post" }
        %input{:type => "submit", :class => "awesome button small", :value => "Clear"}


Version data entries

2 entries across 2 versions & 1 rubygems

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