Sha256: 0f80c60cdc789e1a2c1c9336247958f3f6d9691c1a020521db454bf821507c67

Contents?: true

Size: 1018 Bytes

Versions: 1

Compression:

Stored size: 1018 Bytes

Contents

<h1>Jobs</h1>

<ul class="nav nav-underline">
  <li class="nav-item">
    <%= link_to "All", jobs_path, class: class_names("nav-link", "active": current_page?(jobs_path)) %>
  </li>
  <li class="nav-item">
    <%= link_to "Scheduled", scheduled_jobs_path, class: class_names("nav-link", "active": current_page?(scheduled_jobs_path)) %>
  </li>
  <li class="nav-item">
    <%= link_to "Failed", failed_jobs_path, class: class_names("nav-link", "active": current_page?(failed_jobs_path)) %>
  </li>
</ul>

<div class="d-flex justify-content-end">
  <%== pagy_info(@pagy)  %> 
</div>

<table class="table">
  <thead>
    <tr>
      <th scope="col">#</th>
      <th scope="col">Class</th>
      <th scope="col">Queue</th>
      <th scope="col">Scheduled</th>
      <th scope="col">Finished</th>
    </tr>
  </thead>

  <tbody>
    <%= render partial: "panoptic/jobs/job", collection: @jobs %>  
  </tbody>
</table>

<div class="d-flex justify-content-center">
  <%== pagy_bootstrap_nav(@pagy) if @pagy.pages > 1 %>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
panoptic-0.2.0 app/views/panoptic/jobs/index.html.erb