MDL-55074 theme_boost: Navigation and blocks
[moodle.git] / theme / boost / templates / secure.mustache
1 {{{ output.doctype }}}
2 <html {{{ output.htmlattributes }}}>
3 <head>
4     <title>{{ output.page_title }}</title>
5     <link rel="shortcut icon" href="{{{ output.favicon }}}" />
6     {{{ output.standard_head_html }}}
7     <meta name="viewport" content="width=device-width, initial-scale=1.0">
8 </head>
10 <body {{{ output.body_attributes }}}>
12 {{{ output.standard_top_of_body_html }}}
14 <header class="navbar navbar-full navbar-light bg-faded navbar-static-top moodle-has-zindex">
15     <div class="container">
16         <div class="clearfix">
17             <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>
18         </div>
20         <a role="banner" href="{{{ config.wwwroot }}}" class="navbar-brand">
21             {{# output.should_display_navbar_logo }}
22                 <div class="logo">
23                     <img src="{{output.get_compact_logo_url}}" alt={{#quote}}{{sitename}}{{/quote}}>
24                 </div>
25             {{/ output.should_display_navbar_logo }}
26             <div class="site-name">{{{ sitename }}}</div>
27         </a>
29         <div class="collapse navbar-toggleable-xs" id="bd-main-nav">
30             <nav class="nav navbar-nav">
31                 <!-- search_box -->
32                 {{{ output.search_box }}}
33                 <!-- custom_menu -->
34                 {{{ output.custom_menu }}}
35                 <!-- page_heading_menu -->
36                 {{{ output.page_heading_menu }}}
37                 <!-- login info -->
38                 {{{ output.login_info }}}
39             </nav>
40         </div>
41     </div>
42 </header>
44 <div id="page" class="container">
45     {{{ output.full_header }}}
47     <div id="page-content" class="row">
48         <div id="region-main-box" class="col-xs-12">
49             <div class="row">
50                 <section id="region-main" class="col-xs-12">
51                     {{{ output.main_content }}}
52                 </section>
53             </div>
54         </div>
55     </div>
57     {{{ output.standard_end_of_body_html }}}
59 </div>
60 </body>
61 </html>
62 {{#js}}
63 require(['theme_boost/loader'], function() {});
64 {{/js}}