Sha256: cec60ae0e6df2bc6055242776c9e98a5909a2dd8956ae0ab3710339d10b9af64

Contents?: true

Size: 1.4 KB

Versions: 3

Compression:

Stored size: 1.4 KB

Contents

<header class="row">
  <div class="col-sm-5">
    <h3>Merged 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: 25%">Worker</th>
          <th style="width: 15%">Queue</th>
          <th style="width: 10%">Count</th>
          <th style="width: 20%">All Args</th>
          <th style="width: 20%">Execution time</th>
          <th style="width: 10%">Actions</th>
        </thead>
        <% @merges.each do |merge| %>
        <tr>
          <td><%= merge.worker_class %></td>
          <td><%= merge.queue %></td>
          <td><%= merge.size %></td>
          <td><%= merge.all_args %></td>
          <td><%= merge.execution_time || "&ndash;"%></td>
          <td>
            <form action="<%= "#{root_path}merges/#{URI.encode_www_form_component merge.full_merge_key}/delete" %>" method="post">
              <%= csrf_tag %>
              <input class="btn btn-danger btn-xs" type="submit" name="delete" value="Delete" data-confirm="Are you sure you want to delete this merge?" />
            </form>
          </td>
        </tr>
        <% end %>
      </table>
      <% else %>
      <div class="alert alert-success">No recurring jobs found.</div>
      <% end %>
    </div>
  </div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sidekiq-merger-0.1.0 lib/sidekiq/merger/views/index.erb
sidekiq-merger-0.0.12 lib/sidekiq/merger/views/index.erb
sidekiq-merger-0.0.11 lib/sidekiq/merger/views/index.erb