Sha256: 719cfe22fea9cce820a5fb71605869f4c673781639c0fc214b439e6cfcc3f644

Contents?: true

Size: 1.81 KB

Versions: 4

Compression:

Stored size: 1.81 KB

Contents

<div class="border-bottom">
  <h2 class="pt-3 pb-2"><%= t ".title" %></h2>
</div>

<div class="my-3 card">
  <div class="list-group list-group-flush text-nowrap" role="table">
    <header class="list-group-item bg-body-tertiary">
      <div class="row small text-muted text-uppercase align-items-center">
        <div class="col-12 col-lg-4"><%= t ".job_class" %></div>
        <div class="col-lg-2 d-none d-lg-block"><%= t ".executions" %></div>

        <div class="col-lg-2 d-none d-lg-block"><%= t ".average_duration" %></div>
        <div class="col-lg-2 d-none d-lg-block"><%= t ".minimum_duration" %></div>
        <div class="col-lg-2 d-none d-lg-block"><%= t ".maximum_duration" %></div>
      </div>
    </header>

    <% @performances.each do |performance| %>
      <div role="row" class="list-group-item py-3">
        <div class="row align-items-center">
          <div class="col-12 col-lg-4"><%= performance.job_class %></div>
          <div class="col-6 col-lg-2 text-wrap">
            <div class="d-lg-none small text-muted mt-1"><%= t ".executions" %></div>
            <%= performance.executions_count %>
          </div>

          <div class="col-6 col-lg-2 text-wrap">
            <div class="d-lg-none small text-muted mt-1"><%= t ".average_duration" %></div>
            <%= format_duration performance.avg_duration %>
          </div>
          <div class="col-6 col-lg-2 text-wrap">
            <div class="d-lg-none small text-muted mt-1"><%= t ".minimum_duration" %></div>
            <%= format_duration performance.min_duration %>
          </div>
          <div class="col-6 col-lg-2 text-wrap">
            <div class="d-lg-none small text-muted mt-1"><%= t ".maximum_duration" %></div>
            <%= format_duration performance.max_duration %>
          </div>
        </div>
      </div>
    <% end %>
  </div>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
good_job-4.0.3 app/views/good_job/performance/index.html.erb
good_job-4.0.2 app/views/good_job/performance/index.html.erb
good_job-4.0.1 app/views/good_job/performance/index.html.erb
good_job-4.0.0 app/views/good_job/performances/show.html.erb