MDL-55074 theme_boost: Navigation and blocks
[moodle.git] / theme / boost / templates / secure.mustache
CommitLineData
536f0460
DW
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>
9
10<body {{{ output.body_attributes }}}>
11
12{{{ output.standard_top_of_body_html }}}
13
7dbd1f95 14<header class="navbar navbar-full navbar-light bg-faded navbar-static-top moodle-has-zindex">
428de3dc 15 <div class="container">
4c9a20e8
BR
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>
b71c82ad 19
4c9a20e8
BR
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>
536f0460 28
4c9a20e8
BR
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>
536f0460 40 </div>
4c9a20e8 41 </div>
536f0460
DW
42</header>
43
428de3dc 44<div id="page" class="container">
536f0460
DW
45 {{{ output.full_header }}}
46
47 <div id="page-content" class="row">
99061152 48 <div id="region-main-box" class="col-xs-12">
536f0460 49 <div class="row">
99061152 50 <section id="region-main" class="col-xs-12">
536f0460
DW
51 {{{ output.main_content }}}
52 </section>
536f0460
DW
53 </div>
54 </div>
536f0460
DW
55 </div>
56
57 {{{ output.standard_end_of_body_html }}}
58
59</div>
60</body>
61</html>
d2645a6a 62{{#js}}
2ede86d7 63require(['theme_boost/loader'], function() {});
d2645a6a 64{{/js}}