Sha256: ada1b5b048b562caedadac4f243214250eff9ba2060fb7a756a08bcc2d9b65dd
Contents?: true
Size: 1.83 KB
Versions: 3
Compression:
Stored size: 1.83 KB
Contents
<nav class="navbar navbar-inverse" role="navigation"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="/"><%= title %></a> </div> <div> <ul class="nav navbar-nav"> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Adapters <b class="caret"></b></a> <ul class="dropdown-menu"> <li role="presentation" class="dropdown-header">Available</li> <% available_adapters.each do |link, name| %> <li><a href=<%= link %>><%= name %></a></li> <% end %> <li role="presentation" class="dropdown-header">Under Development</li> <% developing_adapters.each do |link, name| %> <li><a href=<%= link %>><%= name %></a></li> <% end %> </ul> </li> </ul> <a class="btn btn-link navbar-btn navbar-right" href=<%= current_user ? "/logout" : "/login" %> role="button"> <%= current_user ? "Logout" : "Login" %> </a> <% if current_user %> <ul class="nav navbar-nav navbar-right side-padded"> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Welcome, <%= current_user %> <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="#">Settings</a></li> </ul> </li> </ul> <% else %> <p class="navbar-text navbar-right side-padded">Welcome, stranger!</p> <% end %> </div> </div> </nav>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
teamster-0.7.0 | content/views/navbar.erb |
teamster-0.6.1 | content/views/navbar.erb |
teamster-0.6.0 | content/views/navbar.erb |