Sha256: 0a4636eeba6a2c65ae382f8762056bf133685db74960db64e27a04dc54f46b33

Contents?: true

Size: 1.15 KB

Versions: 1

Compression:

Stored size: 1.15 KB

Contents

header.row
  .span5
    h3 = t('ScheduledJobs')
  .span4
    - if @scheduled.size > 0
      == slim :_paging, :locals => { :url => "#{root_path}scheduled" }

- if @scheduled.size > 0

  form action="#{root_path}scheduled" method="post"
    table class="table table-striped table-bordered table-white"
      thead
        th width="20px"
          input type="checkbox" class="check_all"
        th width="25%" = t('When')
        th width="10%" = t('Queue')
        th = t('Worker')
        th = t('Arguments')
      - @scheduled.each do |msg, score|
        tr
          td
            input type='checkbox' name='key[]' value='#{job_params(msg, score)}'
          td
             a href="#{root_path}scheduled/#{job_params(msg, score)}"== relative_time(Time.at(score))
          td
            a href="#{root_path}queues/#{msg['queue']}" #{msg['queue']}
          td= msg['class']
          td
             div.args=display_args(msg['args'])
    input.btn.btn-danger.pull-right type="submit" name="delete" value="#{t('Delete')}"
    input.btn.btn-danger.pull-right type="submit" name="add_to_queue" value="#{t('AddToQueue')}"
- else
  .alert.alert-success = t('NoScheduledFound')

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sidekiq-2.13.1 web/views/scheduled.slim