Sha256: 755a646fbb36cf0626bdfc4fae61c4e24aed0b328f3b4fa7066f863745999aab

Contents?: true

Size: 1.85 KB

Versions: 27

Compression:

Stored size: 1.85 KB

Contents

<header class="row">
  <div class="col-sm-5">
    <h3><%= t('ScheduledJobs') %></h3>
  </div>
  <% if @scheduled.size > 0 && @total_size > @count %>
    <div class="col-sm-4">
      <%= erb :_paging, locals: { url: "#{root_path}scheduled" } %>
    </div>
  <% end %>
  <%= filtering('scheduled') %>
</header>

<% if @scheduled.size > 0 %>

  <form action="<%= root_path %>scheduled" method="post">
    <%= csrf_tag %>
    <div class="table_container">
      <table class="table table-striped table-bordered table-white">
        <thead>
          <tr>
            <th class="checkbox-column">
              <input type="checkbox" class="check_all" />
            </th>
            <th><%= t('When') %></th>
            <th><%= t('Queue') %></th>
            <th><%= t('Job') %></th>
            <th><%= t('Arguments') %></th>
          </tr>
        </thead>
        <% @scheduled.each do |entry| %>
          <tr>
            <td>
              <input type='checkbox' name='key[]' value='<%= job_params(entry.item, entry.score) %>' />
            </td>
            <td>
               <a href="<%= root_path %>scheduled/<%= job_params(entry.item, entry.score) %>"><%= relative_time(entry.at) %></a>
            </td>
            <td>
              <a href="<%= root_path %>queues/<%= entry.queue %>"><%= entry.queue %></a>
            </td>
            <td><%= entry.display_class %></td>
            <td>
               <div class="args"><%= display_args(entry.display_args) %></div>
            </td>
          </tr>
        <% end %>
      </table>
    </div>
    <input class="btn btn-danger pull-right flip" type="submit" name="delete" value="<%= t('Delete') %>" />
    <input class="btn btn-danger pull-right flip" type="submit" name="add_to_queue" value="<%= t('AddToQueue') %>" />
  </form>
<% else %>
  <div class="alert alert-success"><%= t('NoScheduledFound') %></div>
<% end %>

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
sidekiq-5.2.10 web/views/scheduled.erb
sidekiq-5.2.9 web/views/scheduled.erb
sidekiq-5.2.8 web/views/scheduled.erb
sidekiq_cleaner-5.3.8 cleaner/views/scheduled.erb
sidekiq-6.0.0 web/views/scheduled.erb
sidekiq_cleaner-5.3.6 cleaner/views/scheduled.erb
sidekiq-6.0.0.pre1 web/views/scheduled.erb
sidekiq-5.2.7 web/views/scheduled.erb
sidekiq-5.2.6 web/views/scheduled.erb
sidekiq-5.2.5 web/views/scheduled.erb
sidekiq-5.2.4 web/views/scheduled.erb
sidekiq-5.2.3 web/views/scheduled.erb
sidekiq-5.2.2 web/views/scheduled.erb
sidekiq-5.2.1 web/views/scheduled.erb
sidekiq-5.2.0 web/views/scheduled.erb
sidekiq-5.1.3 web/views/scheduled.erb
sidekiq-5.1.2 web/views/scheduled.erb
sidekiq-5.1.1 web/views/scheduled.erb
sidekiq-5.1.0 web/views/scheduled.erb
sidekiq-5.0.5 web/views/scheduled.erb