Sha256: 2a7dc230dee8d133294c27199cbe7bfa123015f6efbb694a1cffe328ba287a3e

Contents?: true

Size: 1.46 KB

Versions: 3

Compression:

Stored size: 1.46 KB

Contents

<%== view_title('Running Jobs Overview', hr: false) %>

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

<% if @jobs.empty? && params.current_page <= 1 %>
  <%== partial 'jobs/no_jobs', locals: { type: 'running' } %>
<% elsif @jobs.empty? %>
  <%== partial 'shared/no_paginated_data' %>
<% else %>
  <div class="container">
    <div class="row mb-5">
      <div class="col-sm-12 table-responsive">
        <table class="processes bg-white table table-hover table-bordered table-striped mb-0 align-middle">
          <thead>
            <tr class="align-middle">
              <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('Started', :updated_at, rev: true) %></th>
            </tr>

            <tr class="align-middle">
              <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>
    </div>
  </div>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
karafka-web-0.9.1 lib/karafka/web/pro/ui/views/jobs/running.erb
karafka-web-0.9.0 lib/karafka/web/pro/ui/views/jobs/running.erb
karafka-web-0.9.0.rc3 lib/karafka/web/pro/ui/views/jobs/running.erb