1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/web/views/retries.slim
2012-07-17 22:14:15 -07:00

31 lines
977 B
Text

h1 Retries
- if @retries.size > 0
== slim :_paging, :locals => { :url => "#{root_path}retries" }
form action="#{root_path}retries" method="post"
table class="table table-striped table-bordered"
tr
th
input type="checkbox" class="check_all"
th Next Retry
th Retry Count
th Queue
th Worker
th Args
- @retries.each do |(msg, score)|
tr
td
input type='checkbox' name='score[]' value='#{score}'
td
a href="#{root_path}retries/#{score}"== relative_time(Time.at(score))
td= msg['retry_count']
td
a href="#{root_path}queues/#{msg['queue']}" #{msg['queue']}
td= msg['class']
td= display_args(msg['args'])
input.btn.btn-primary type="submit" name="retry" value="Retry Now"
input.btn.btn-danger type="submit" name="delete" value="Delete"
- else
p No retries found.
a href="#{root_path}" Back