Sha256: 482b700a3d6ae719d186824f738e5896a868a1486f172503c99f7ad334f8e741

Contents?: true

Size: 1.93 KB

Versions: 41

Compression:

Stored size: 1.93 KB

Contents

<div class="navbar navbar-default navbar-fixed-top">
  <div class="container-fluid">
    <div class="navbar-header" data-navbar="static">
      <button type="button" class="navbar-toggle collapsed" data-toggle="navbar-menu" data-target="#navbar-menu">
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <div class="navbar-toggle collapsed navbar-livereload">
        <%= erb :_poll_link %>
        <% if Sidekiq::Web.app_url %>
          <a class="btn btn-inverse" href="<%= Sidekiq::Web.app_url %>"><%= t('BackToApp') %></a>
        <% end %>
      </div>
      <a class="navbar-brand" href="<%= root_path %>">
        <%= Sidekiq::NAME %>
        <%= erb :_status %>
      </a>
    </div>

    <div class="collapse navbar-collapse" id="navbar-menu">
      <ul class="nav navbar-nav" data-navbar="static">
        <% 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' : '' %>" data-navbar="custom-tab">
            <a href="<%= root_path %><%= url %>"><%= t(title) %></a>
          </li>
        <% end %>

        <li class="navbar-livereload">
          <div class="poll-wrapper">
            <%= erb :_poll_link %>
            <% if Sidekiq::Web.app_url %>
              <a class="btn btn-inverse" href="<%= Sidekiq::Web.app_url %>"><%= t('BackToApp') %></a>
            <% end %>
          </div>
        </li>
      </ul>
    </div>
  </div>
</div>

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
sidekiq-7.3.6 web/views/_nav.erb
sidekiq-7.3.5 web/views/_nav.erb
sidekiq-7.3.4 web/views/_nav.erb
sidekiq-7.3.3 web/views/_nav.erb
sidekiq-7.3.2 web/views/_nav.erb
sidekiq-7.3.1 web/views/_nav.erb
sidekiq-7.3.0 web/views/_nav.erb
sidekiq-7.2.4 web/views/_nav.erb
sidekiq-7.2.3 web/views/_nav.erb
sidekiq-7.2.2 web/views/_nav.erb
sidekiq-7.2.1 web/views/_nav.erb
sidekiq-7.2.0 web/views/_nav.erb
sidekiq-6.5.12 web/views/_nav.erb
sidekiq-7.1.6 web/views/_nav.erb
sidekiq-6.5.11 web/views/_nav.erb
sidekiq-7.1.5 web/views/_nav.erb
sidekiq-6.5.10 web/views/_nav.erb
sidekiq-7.1.4 web/views/_nav.erb
sidekiq-7.1.3 web/views/_nav.erb
sidekiq-7.1.2 web/views/_nav.erb