Sha256: 40ab9e05fe1638c7ac1f91d69e43123f1dc27e2c5005d4c454e8c858dc2d2f84

Contents?: true

Size: 1.23 KB

Versions: 3

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

3 entries across 3 versions & 1 rubygems

Version Path
atomic-sidekiq-1.2.0 web/views/in_flight.erb
atomic-sidekiq-1.1.4 web/views/in_flight.erb
atomic-sidekiq-1.1.3 web/views/in_flight.erb