app/views/shared/_header_navbar.html.erb in blacklight-4.9.0 vs app/views/shared/_header_navbar.html.erb in blacklight-5.0.0.pre1
- old
+ new
@@ -1,25 +1,25 @@
-<div id="header-navbar-fixed-top" class="navbar navbar-fixed-top">
- <div class="navbar-inner">
- <div class="container">
- <div class="row">
- <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </a>
-<div class="span3">
- <%= link_to application_name, root_path, :class => "brand" %>
- </div>
- <div class="span6 clearfix" id="searchbar">
- <%= render_search_bar %>
- </div>
+<div id="header-navbar" class="navbar navbar-default navbar-static-top navbar-inverse" role="navigation">
+ <div class="container">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#user-util-collapse">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <%= link_to application_name, root_path, class: "navbar-brand" %>
+ </div>
- <div class="span3 nav-collapse">
- <%= render :partial=>'/user_util_links' %>
-
- </div>
-
- </div>
- </div>
- </div>
+ <div class="collapse navbar-collapse" id="user-util-collapse">
+ <%= render :partial=>'/user_util_links' %>
+ </div>
+ </div>
</div>
+
+<div id="search-navbar" class="navbar navbar-default navbar-static-top" role="navigation">
+ <div class="container">
+ <div class="navbar-header">
+ <%= render_search_bar %>
+ </div>
+ </div>
+</div>
\ No newline at end of file