Sha256: 7575e47dc2dab8f89c3f41ba8037156b08ad5d567514c0dcf9cbfe893381c092

Contents?: true

Size: 968 Bytes

Versions: 2

Compression:

Stored size: 968 Bytes

Contents

<h3><%= t('Queues') %></h3>

<div class="table_container">
  <table class="queues table table-hover table-bordered table-striped table-white">
    <thead>
      <th><%= t('Queue') %></th>
      <th><%= t('Size') %></th>
      <th><%= t('Actions') %></th>
    </thead>
    <% @queues.each do |queue| %>
      <tr>
        <td>
          <a href="<%= root_path %>queues/<%= queue.name %>"><%= queue.name %></a>
          <% if queue.paused? %>
            <span class="label label-danger"><%= t('Paused') %></span>
          <% end %>
        </td>
        <td><%= number_with_delimiter(queue.size) %> </td>
        <td width="20%">
          <form action="<%=root_path %>queues/<%= queue.name %>" method="post">
            <input class="btn btn-danger btn-xs" type="submit" name="delete" value="<%= t('Delete') %>" data-confirm="<%= t('AreYouSureDeleteQueue', :queue => h(queue.name)) %>" />
          </form>
        </td>
      </tr>
    <% end %>
  </table>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sidekiq-3.4.1 web/views/queues.erb
sidekiq-3.4.0 web/views/queues.erb