<div class="navbar navbar-fixed-top">
    <div class="navbar-inner">
      <div class="container">
        <%= link_to 'Alaveteli', main_url('/'), :class => "brand" %>
        <div class="nav-collapse">
          <ul class="nav">
            <li><%= link_to 'Summary', admin_url("") %></li>
            <li><%= link_to 'Timeline', admin_url("timeline") %></li>
            <li><%= link_to 'Stats', admin_url("stats") %></li>
            <li><%= link_to 'Debug', admin_url("debug") %></li>
            <li><%= link_to 'Authorities', admin_url("body/list") %></li>
            <li><%= link_to 'Requests', admin_url("request/list") %></li>
            <li><%= link_to 'Users', admin_url("user/list") %></li>
            <li><%= link_to 'Tracks', admin_url("track/list") %></li>
            <li><%= link_to 'Log out', signout_path %></li>
          </ul>
        </div>
      </div>
    </div>
</div>

<div class="navbar navbar-fixed-top navbar-inverse admin">
    <div class="navbar-inner">
      <div class="container">
        <%= link_to 'Alaveteli', main_url('/'), :class => "brand" %>
        <div class="nav-collapse">
          <ul class="nav">
            <li><%= link_to 'Summary', admin_url("") %></li>
            <li><%= link_to 'Timeline', admin_url("timeline") %></li>
            <li><%= link_to 'Stats', admin_url("stats") %></li>
            <li><%= link_to 'Debug', admin_url("debug") %></li>
            <li><%= link_to 'Authorities', admin_url("body/list") %></li>
            <li><%= link_to 'Requests', admin_url("request/list") %></li>
            <li><%= link_to 'Users', admin_url("user/list") %></li>
            <li><%= link_to 'Tracks', admin_url("track/list") %></li>
            <li><%= link_to 'Log out', signout_path %></li>
          </ul>
        </div>
      </div>
    </div>
</div>

Add navbar-inverse class to the admin navbar - the bootstrap default is now a white background. Add admin class in order to apply styles from the admin stylesheet even when the navbar is being shown to an admin user using the front end (so no admin class will be applied to the body element).
Add navbar-inverse class to the admin navbar - the bootstrap default is now a white background. Add admin class in order to apply styles from the admin stylesheet even when the navbar is being shown to an admin user using the front end (so no admin class will be applied to the body element).
