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/scheduled.slim

31 lines
952 B
Text
Raw Normal View History

2012-09-30 14:57:51 +02:00
header.row
.span5
h3 Scheduled Jobs
.span4
- if @scheduled.size > 0
== slim :_paging, :locals => { :url => "#{root_path}scheduled" }
- if @scheduled.size > 0
2012-07-17 22:14:15 -07:00
form action="#{root_path}scheduled" method="post"
2012-10-29 14:50:21 -06:00
table class="table table-striped table-bordered table-white"
2012-09-30 14:57:51 +02:00
thead
th width="20px"
input type="checkbox" class="check_all"
2012-09-30 14:57:51 +02:00
th width="25%" When
th width="10%" Queue
th Worker
th Args
- @scheduled.each do |msg, score|
tr
td
input type='checkbox' name='key[]' value='#{job_params(msg, score)}'
td== relative_time(Time.at(score))
td
a href="#{root_path}queues/#{msg['queue']}" #{msg['queue']}
td= msg['class']
td= display_args(msg['args'])
2012-10-29 14:50:21 -06:00
input.btn.btn-danger.pull-right type="submit" name="delete" value="Delete"
- else
2012-10-29 14:50:21 -06:00
.alert.alert-success No scheduled jobs were found