fd69d9f2846a927efaad4e2326bceb0d104dee91
[moodle.git] / theme / noname / 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-light bg-faded navbar-static-top moodle-has-zindex">
15     <div class="container-fluid">
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-fluid">
45     {{{ output.full_header }}}
47     <div id="page-content" class="row">
48         <div id="region-main-box" class="col-md-9">
49             <div class="row">
50                 <section id="region-main" class="col-md-8 push-md-4 col-lg-9 push-lg-3">
51                     {{{ output.main_content }}}
52                 </section>
53                 {{{ sidepreblocks }}}
54             </div>
55         </div>
56         {{{ sidepostblocks }}}
57     </div>
59     {{{ output.standard_end_of_body_html }}}
61 </div>
62 </body>
63 </html>
64 {{#js}}
65 require(['theme_noname/loader'], function() {});
66 {{/js}}