Sha256: ba95afba30a967adc04afe5f2c7536ba160e1720349129b152dff64f83de5bfb

Contents?: true

Size: 1.37 KB

Versions: 5

Compression:

Stored size: 1.37 KB

Contents

<%== view_title(@topic.topic_name, hr: false) %>

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

<div class="container">
  <div class="row">
    <div class="col-lg-12">
      <% if @limited %>
        <%== partial 'topics/distribution/limited' %>
      <% end %>

      <% if @aggregated.sum.zero? %>
        <%== partial 'topics/distribution/empty_partitions' %>
      <% else %>
        <% if @active_partitions.size >= 2 %>
          <%== partial 'topics/distribution/chart' %>
        <% end %>

        <div id="refreshable" class="mt-4">
          <%== partial 'topics/distribution/badges' %>

          <div class="table-responsive">
            <table class="bg-white table table-hover table-bordered table-striped mt-4 mb-4">
              <thead>
                <tr class="align-middle">
                  <th><%== sort_link(:partition_id) %></th>
                  <th><%== sort_link('Estimated count', :count) %></th>
                  <th><%== sort_link('Total share', :share) %></th>
                  <th><%== sort_link(:diff) %></th>
                </tr>
              </thead>
              <tbody>
                <%==
                  each_partial(
                    @distribution,
                    'topics/distribution/partition'
                  )
                %>
              </tbody>
            </table>
          </div>
        </div>
      <% end %>

    </div>
  </div>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
karafka-web-0.9.1 lib/karafka/web/pro/ui/views/topics/distribution.erb
karafka-web-0.9.0 lib/karafka/web/pro/ui/views/topics/distribution.erb
karafka-web-0.9.0.rc3 lib/karafka/web/pro/ui/views/topics/distribution.erb
karafka-web-0.9.0.rc2 lib/karafka/web/pro/ui/views/topics/distribution.erb
karafka-web-0.9.0.rc1 lib/karafka/web/pro/ui/views/topics/distribution.erb