Sha256: a1fc9c7b526e61209ae3d55ac21e7034b811ab185c2951eb1b5e51eece233d6d
Contents?: true
Size: 1.13 KB
Versions: 7
Compression:
Stored size: 1.13 KB
Contents
<h1>Pending jobs on <span class='hl'><%= params[:id] %></span></h1> <%= form_tag(clear_queue_path(params[:id]), :method => :put) do %> <%= submit_tag "Clear Pending Jobs", :class => 'btn btn-danger', :data => { :confirm => "Are you absolutely sure? This cannot be undone." } %> <% end %> <%= form_tag(queue_path(params[:id]), :method => :delete, :class => 'remove-queue') do %> <%= submit_tag "Remove Queue", :class => 'btn btn-danger', :data => { :confirm => "Are you absolutely sure? This cannot be undone." } %> <% end %> <p class="sub">Showing <%= queue_start_at %> to <%= queue_end_at %> of <b><%= queue_size %></b> jobs</p> <table class="table table-bordered jobs"> <tr> <th>Class</th> <th>Args</th> </tr> <% queue_jobs.each do |job| %> <tr> <td class='class'><%= job['class'] %></td> <td class='args'><%=h job['args'].inspect %></td> </tr> <% end %> <% if queue_jobs.empty? %> <tr> <td class='no-data' colspan='2'>There are no pending jobs in this queue</td> </tr> <% end %> </table> <%= pagination :start => queue_start_at, :total => queue_size %>
Version data entries
7 entries across 7 versions & 2 rubygems