MDL-55802 theme_noname: Navbar is responsive and better styled
[moodle.git] / theme / noname / templates / columns2.mustache
index 72586da..6c614c0 100644 (file)
 
     {{{ output.standard_top_of_body_html }}}
 
-    <header role="banner" class="navbar navbar-light bg-faded navbar-static-top moodle-has-zindex">
-        <div class="clearfix">
-            <button class="navbar-toggler pull-xs-right hidden-sm-up" data-toggle="collapse" data-target="#bd-main-mav">☰<span class="sr-only">{{#str}}expand{{/str}}</span></button>
-        </div>
-
-        <a href="{{{ config.wwwroot }}}" class="navbar-brand">
-            {{# output.should_display_navbar_logo }}
-                <div class="logo">
-                    <img src="{{output.get_compact_logo_url}}" alt={{#quote}}{{sitename}}{{/quote}}>
-                </div>
-            {{/ output.should_display_navbar_logo }}
-            <div class="site-name">{{{ sitename }}}</div>
-        </a>
-
-        <!-- user_menu -->
-        {{{ output.user_menu }}}
-
-        <div class="collapse navbar-toggleable-xs" id="bd-main-nav">
-            <nav class="nav navbar-nav">
-                <!-- search_box -->
-                {{{ output.search_box }}}
-                <!-- custom_menu -->
-                {{{ output.custom_menu }}}
-                <!-- page_heading_menu -->
-                {{{ output.page_heading_menu }}}
-            </div>
-        </nav>
-    </header>
+    {{>theme_noname/header}}
 
     <div id="page" class="container-fluid">
         {{{ output.full_header }}}