Sha256: 7e979c721c42d36e24ef8d591e694b6b4916feec68a60e4c53774d43f6e9e67b
Contents?: true
Size: 927 Bytes
Versions: 2
Compression:
Stored size: 927 Bytes
Contents
<h1>Pending jobs on <span class='hl'><%= params[:id] %></span></h1> <%= 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
resque-web-0.0.6 | app/views/resque_web/queues/show.html.erb |
resque-web-0.0.5 | app/views/resque_web/queues/show.html.erb |