Sha256: b9e9054d29fc5485e8f58a9dbdc906d15236239f4ce18723f9a281830fff4c17

Contents?: true

Size: 1000 Bytes

Versions: 10

Compression:

Stored size: 1000 Bytes

Contents

<nav class="navbar navbar-expand-lg bg-body-tertiary">
  <div class="container-fluid">
    <%= link_to "Panoptic", root_path, class: "navbar-brand" %>
    <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
      <span class="navbar-toggler-icon"></span>
    </button>
    <div class="collapse navbar-collapse" id="navbarNav">
      <ul class="navbar-nav">
        <li class="nav-item">
          <%= link_to "Processes", root_path, class: class_names("nav-link", "active": current_page?(root_path)) %>
        </li>

        <li class="nav-item">
          <%= link_to "Queues", queues_path, class: class_names("nav-link", "active": current_page?(queues_path)) %>
        </li>

        <li class="nav-item">
          <%= link_to "Jobs", jobs_path, class: class_names("nav-link", "active": current_page?(jobs_path)) %>
        </li>
      </ul>
    </div>
  </div>
</nav>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
panoptic-0.5.0 app/views/panoptic/shared/_navbar.html.erb
panoptic-0.4.2 app/views/panoptic/shared/_navbar.html.erb
panoptic-0.4.1 app/views/shared/_navbar.html.erb
panoptic-0.4.0 app/views/shared/_navbar.html.erb
panoptic-0.3.0 app/views/shared/_navbar.html.erb
panoptic-0.2.0 app/views/shared/_navbar.html.erb
panoptic-0.1.3 app/views/shared/_navbar.html.erb
panoptic-0.1.2 app/views/shared/_navbar.html.erb
panoptic-0.1.1 app/views/shared/_navbar.html.erb
panoptic-0.1.0 app/views/shared/_navbar.html.erb