Sha256: 4bad27999195afb526e5577283a5fe6c707689d7e8c122c58027b4fe382a5e05

Contents?: true

Size: 1.23 KB

Versions: 1

Compression:

Stored size: 1.23 KB

Contents

<header class="row">
  <div class="col-sm-6">
    <h3><%= t("In-flight") %></h3>
  </div>
  <div class="col-sm-4">
    <%= erb :_paging, locals: { url: "#{root_path}in-flight" } %>
  </div>
</header>

<div class="table_container">
  <table class="inflight table table-hover table-bordered table-striped table-white">
    <thead>
      <th><%= t("Total In-flight") %></th>
      <th><%= t("Estimated Lost") %></th>
    </thead>
      <tr>
        <td><%= number_with_delimiter(@total_size) %> </td>
        <td><%= number_with_delimiter(@total_size - workers.size) %> </td>
      </tr>
  </table>
</div>

<div class="table_container">
  <table class="inflight table table-hover table-bordered table-striped table-white">
    <thead>
      <th><%= t("Job") %></th>
      <th><%= t("Args") %></th>
      <th><%= t("Queue") %></th>
      <th><%= t("Expires at") %></th>
    </thead>
    <% @jobs.each do |job| %>
      <tr>
        <td><%= h job["class"] %> </td>
        <td><%= h job["args"] %> </td>
        <td>
          <a href="<%= root_path %>queues/<%= CGI.escape(job["queue"]) %>"><%= h job["queue"] %></a>
        </td>
        <td>
          <%= relative_time(Time.at(job["expire_at"]))  %>
        </td>
      </tr>
    <% end %>
  </table>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
atomic-sidekiq-1.1.2 web/views/in_flight.erb