- @title = "Checks"
- @menu_title = "#{@project.name} #{@title}"

- content_for :sidebar, render("projects/sidebar")

- content_for :header do
  .float-right
    = link_to plus_or("New Check"), new_editor_project_check_path(@project), class: "btn btn-accent btn-shadow"
    .per-page= render "layouts/per_page", per_page: 40, object_count: @checks.total_count
  = @title

.dashboard-container.dashboard-table
  %table.table.table-striped.table-borderless.table-hover.table-sticky
    %col
    %col.d-none.d-sm-table-column
    %col.d-none.d-sm-table-column
    %col{ width: "1px" }
    %thead
      %tr
        %th Name
        %th.d-none.d-sm-table-cell.text-center Slice Engine
        %th.d-none.d-sm-table-cell.text-center Archived
        %th.text-center Actions

    %tbody
      - @checks.each do |check|
        %tr{ id: "check-#{check.id}-container" }
          = render "editor/checks/check_row", check: check

.center-horizontally= paginate @checks, theme: "bootstrap"

.center-horizontally
  .docs-learn-more
    Learn about
    = succeed "." do
      = link_to "checks", docs_checks_path

- @title = "Checks"
- @menu_title = "#{@project.name} #{@title}"

- content_for :sidebar, render("projects/sidebar")

- content_for :header do
  .float-right
    = link_to plus_or("New Check"), new_editor_project_check_path(@project), class: "btn btn-accent btn-shadow"
    .per-page= render "layouts/per_page", per_page: 40, object_count: @checks.total_count
  = @title

- if @checks.present?
  .dashboard-container.dashboard-table
    %table.table.table-striped.table-borderless.table-hover.table-sticky
      %col
      %col.d-none.d-sm-table-column
      %col.d-none.d-sm-table-column
      %col{ width: "1px" }
      %thead
        %tr
          %th Name
          %th.d-none.d-sm-table-cell.text-center Slice Engine
          %th.d-none.d-sm-table-cell.text-center Archived
          %th.text-center Actions

      %tbody
        - @checks.each do |check|
          %tr{ id: "check-#{check.id}-container" }
            = render "editor/checks/check_row", check: check

  .center-horizontally= paginate @checks, theme: "bootstrap"
- else
  .jumbotron.jumbotron-custom-text
    No checks found.

.center-horizontally
  .docs-learn-more
    Learn about
    = succeed "." do
      = link_to "checks", docs_checks_path

Update styling of blank index page
Update styling of blank index page
