Sha256: 5fe05374ae5a5945d82290d1d62582777fbc6ac8d554fb9187485493a5d4b4f0

Contents?: true

Size: 839 Bytes

Versions: 5

Compression:

Stored size: 839 Bytes

Contents

<% content_for(:content) do %>
  <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>
  
  <%= yield %>

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

<%= render template: "layouts/panoptic/application" %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
panoptic-0.5.0 app/views/layouts/panoptic/jobs.html.erb
panoptic-0.4.2 app/views/layouts/panoptic/jobs.html.erb
panoptic-0.4.1 app/views/layouts/panoptic/jobs.html.erb
panoptic-0.4.0 app/views/layouts/panoptic/jobs.html.erb
panoptic-0.3.0 app/views/layouts/panoptic/jobs.html.erb