<header class="navbar navbar-fixed-top navbar-inverse">
  <div class="container">
    <%= link_to 'Smoca', root_path, id: 'logo' %>
    <nav>
      <ul class="nav navbar-nav navbar-right">
        <li><%= link_to 'Dashboard', dashboard_path %></li>
        <li><%= link_to 'Run', new_smoca_build_path %></li>
        <li><%= link_to 'All Builds', smoca_build_index_path %></li>

        <% if logged_in? %>
          <!--<li><%= link_to 'Manage', manage_path %></li>-->

          <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <%= current_user.uid %> <b class="caret"></b>
            </a>
            <ul class="dropdown-menu">
              <li><%= link_to 'Log Out', logout_path, method: :delete %></li>
            </ul>
          </li>
        <% else %>
          <li><%= link_to 'Log In', login_path %></li>
        <% end %>
      </ul>
    </nav>
  </div>
</header>
