Sha256: 32fe5aa265b6f33d12067ae4a8a9b6db85653fbdd59832495d075531a2f967ba

Contents?: true

Size: 1.24 KB

Versions: 8

Compression:

Stored size: 1.24 KB

Contents

<% view_title 'Pending Jobs' %>

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

<div class="col-span-12">
  <% 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="data-table-wrapper">
      <table class="data-table">
        <thead>
          <tr>
            <th rowspan="2"><%== sort_link('Process', :id) %></th>
            <th rowspan="2"><%== sort_link(:topic) %></th>
            <th rowspan="2"><%== sort_link(:consumer) %></th>
            <th rowspan="2"><%== sort_link(:type) %></th>
            <th rowspan="2"><%== sort_link(:messages) %></th>
            <th colspan="3" class="text-center">Offsets</th>
            <th rowspan="2"><%== sort_link('Created', :updated_at, rev: true) %></th>
          </tr>

          <tr>
            <th><%== sort_link(:first_offset) %></th>
            <th><%== sort_link(:last_offset) %></th>
            <th><%== sort_link(:committed_offset) %></th>
          </tr>
        </thead>
        <tbody>
          <%==
            each_partial(
              @jobs,
              'jobs/job'
            )
          %>
        </tbody>
      </table>
    </div>
  <% end %>
</div>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
karafka-web-0.10.4 lib/karafka/web/pro/ui/views/jobs/pending.erb
karafka-web-0.10.3 lib/karafka/web/pro/ui/views/jobs/pending.erb
karafka-web-0.10.2 lib/karafka/web/pro/ui/views/jobs/pending.erb
karafka-web-0.10.1 lib/karafka/web/pro/ui/views/jobs/pending.erb
karafka-web-0.10.0 lib/karafka/web/pro/ui/views/jobs/pending.erb
karafka-web-0.10.0.rc2 lib/karafka/web/pro/ui/views/jobs/pending.erb
karafka-web-0.10.0.rc1 lib/karafka/web/pro/ui/views/jobs/pending.erb
karafka-web-0.10.0.beta1 lib/karafka/web/pro/ui/views/jobs/pending.erb