1
0
Fork 0
mirror of https://github.com/endofunky/sidetiq.git synced 2022-11-09 13:53:30 -05:00
endofunky--sidetiq/lib/sidetiq/views/sidetiq.slim
2013-02-01 18:27:27 +00:00

23 lines
673 B
Text

header.row
.span5
h3 Recurring Jobs
- if @schedules.length > 0
table class="table table-striped table-bordered table-white" style="width: 100%; margin: 0; table-layout:fixed;"
thead
th style="width: 50%" Worker
th style="width: 20%" Queue
th style="width: 20%" Next Run
th style="width: 10%" Actions
- @schedules.each do |worker, schedule|
tr
td
= worker.name
td= worker.get_sidekiq_options['queue']
td
== relative_time(schedule.next_occurrence(@time))
td
a href="#{root_path}sidetiq/#{worker.name}" Details
- else
.alert.alert-success No recurring jobs found.