lib/rails/generators/humdrum/layout/templates/views/bootstrap3/layouts/application/_header.html.erb in humdrum-rails-0.1.1 vs lib/rails/generators/humdrum/layout/templates/views/bootstrap3/layouts/application/_header.html.erb in humdrum-rails-0.1.2
- old
+ new
@@ -1,34 +1,19 @@
-<div class="navbar navbar-default">
- <div class="navbar-header">
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <%%= link_to raw("<%= application_name -%>"), root_path, :class=>"navbar-brand" %>
- </div>
- <div class="navbar-collapse collapse">
- <ul class="nav navbar-nav">
- <li class="active"><a href="#">Home</a></li>
- <li class="<%%= nav_class("Link 1") %>"><%%= link_to raw("Link 1"), "#" %></li>
- <li class="<%%= nav_class("Link 2") %>"><%%= link_to raw("Link 2"), "#" %></li>
- <li class="<%%= nav_class("Link 3") %>"><%%= link_to raw("Link 3"), "#" %></li>
- </ul>
- <ul class="nav navbar-nav navbar-right">
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">Joe Black <b class="caret"></b></a>
- <ul class="dropdown-menu">
- <li class="dropdown-header">Profile</li>
- <li><a href="#">Update Profile</a></li>
- <li><a href="#">Profile Settings</a></li>
- <li><a href="#">Notifications Settings</a></li>
- <li class="divider"></li>
- <li><a href="#">Logout</a></li>
- </ul>
- </li>
-
- </ul>
- </div><!--/.nav-collapse -->
+<div class="header">
+ <h3 class="text-muted pull-left"><%= application_name -%></h3>
+ <ul class="nav nav-pills pull-right">
+ <li><a href="#">About <%= application_name -%></a></li>
+ <li><a href="#">Contact Us</a></li>
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Joe Black <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li class="dropdown-header">Profile</li>
+ <li><a href="#">Update Profile</a></li>
+ <li><a href="#">Profile Settings</a></li>
+ <li><a href="#">Notifications Settings</a></li>
+ <li class="divider"></li>
+ <li><a href="#">Logout</a></li>
+ </ul>
+ </li>
+ </ul>
</div>
-
-
\ No newline at end of file
+<div class="cl visible-xs" style="border:1px solid #c1c1c1;margin-bottom:20px"></div>