Sha256: afe0f12054478c60a3d71d4568bdef55c13eac33761f3ef7fd5fcf03ef27e314

Contents?: true

Size: 1.37 KB

Versions: 6

Compression:

Stored size: 1.37 KB

Contents

<header class="row">
  <div class="col-sm-5">
    <h3>Grouped jobs</h3>
  </div>
</header>

<div class="container">
  <div class="row">
    <div class="col-sm-12">
      <% if true %>
      <table class="table table-striped table-bordered table-white" style="width: 100%; margin: 0; table-layout:fixed;">
        <thead>
          <th style="width: 50%">Worker</th>
          <th style="width: 30%">Queue</th>
          <th style="width: 10%">Count</th>
          <th style="width: 30%">Last execution time</th>
          <th style="width: 30%">Next enqueue</th>
          <th style="width: 10%">Actions</th>
        </thead>
        <% @batches.each do |batch| %>
        <tr>
          <td><%= batch.worker_class %></td>
          <td><%= batch.queue %></td>
          <td><%= batch.size %></td>
          <td><%= batch.last_execution_time || "&ndash;"%></td>
          <td><%= batch.next_execution_time || "&ndash;"%></td>
          <td>
            <form action="<%= "#{root_path}grouping/#{batch.name}/delete" %>" method="post">
              <input class="btn btn-danger btn-xs" type="submit" name="delete" value="Delete" data-confirm="Are you sure you want to delete this batch?" />
            </form>
          </td>
        </tr>
        <% end %>
      </table>
      <% else %>
      <div class="alert alert-success">No recurring jobs found.</div>
      <% end %>
    </div>
  </div>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sidekiq-grouping-1.0.6 lib/sidekiq/grouping/views/index.erb
sidekiq-grouping-1.0.4 lib/sidekiq/grouping/views/index.erb
sidekiq-grouping-1.0.3 lib/sidekiq/grouping/views/index.erb
sidekiq-grouping-1.0.2 lib/sidekiq/grouping/views/index.erb
sidekiq-grouping-1.0.1 lib/sidekiq/grouping/views/index.erb
sidekiq-grouping-0.0.6 lib/sidekiq/grouping/views/index.erb