Sha256: d800645785c0b4eeed39894887267c9511c88d2acc27080f4aefaa0038a45715

Contents?: true

Size: 984 Bytes

Versions: 21

Compression:

Stored size: 984 Bytes

Contents

<div class="navbar-inner">
  <div class="container">
    <a class="navbar-brand" href="<%= root_path %>">
      <%= Sidekiq::NAME %>
      <%= erb :_status %>
    </a>
    <ul class="nav navbar-nav">
      <% Sidekiq::Web.default_tabs.each do |title, url| %>
        <% if url == '' %>
          <li class="<%= current_path == url ? 'active' : '' %>">
            <a href="<%= root_path %><%= url %>"><%= t(title) %></a>
          </li>
        <% else %>
          <li class="<%= current_path.start_with?(url) ? 'active' : '' %>">
            <a href="<%= root_path %><%= url %>"><%= t(title) %></a>
          </li>
        <% end %>
      <% end %>
      <% Sidekiq::Web.custom_tabs.each do |title, url| %>
        <li class="<%= current_path.start_with?(url) ? 'active' : '' %>">
          <a href="<%= root_path %><%= url %>"><%= t(title) %></a>
        </li>
      <% end %>
    </ul>

    <div class="poll-wrapper pull-right">
      <%= erb :_poll %>
    </div>
  </div>
</div>

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
sidekiq-2.16.0 web/views/_nav.erb