Sha256: b2fdff2cf162e45603a8a5ce78870aeff9239bc84e0780b0aae34ac9a9a2b89c

Contents?: true

Size: 1.04 KB

Versions: 4

Compression:

Stored size: 1.04 KB

Contents

<%== view_title('Pending jobs', hr: false) %>

<%== partial 'jobs/tabs' %>

<% if @jobs.empty? && params.current_page <= 1 %>
  <%== partial 'jobs/no_jobs', locals: { type: 'pending' } %>
<% elsif @jobs.empty? %>
  <%== partial 'shared/no_paginated_data' %>
<% else %>
  <div class="container">
    <div class="row mb-5">
      <div class="col-sm-12">
        <table class="processes bg-white table table-hover table-bordered table-striped mb-0 align-middle">
          <thead>
            <tr class="align-middle">
              <th><%== sort_link('Process', :name) %></th>
              <th><%== sort_link(:topic) %></th>
              <th><%== sort_link(:consumer) %></th>
              <th><%== sort_link(:type) %></th>
              <th><%== sort_link('Created at', :updated_at, rev: true) %></th>
            </tr>
          </thead>
          <tbody>
            <%==
              each_partial(
                @jobs,
                'jobs/job'
              )
            %>
          </tbody>
        </table>
      </div>
    </div>
  </div>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
karafka-web-0.8.2 lib/karafka/web/ui/views/jobs/pending.erb
karafka-web-0.8.1 lib/karafka/web/ui/views/jobs/pending.erb
karafka-web-0.8.0 lib/karafka/web/ui/views/jobs/pending.erb
karafka-web-0.8.0.rc1 lib/karafka/web/ui/views/jobs/pending.erb