weekly release 3.6.6+
[moodle.git] / theme / boost / templates / maintenance.mustache
blob594315ca21f995cde90b7fd53b30a5c51ca4d075
1 {{!
2     This file is part of Moodle - http://moodle.org/
4     Moodle is free software: you can redistribute it and/or modify
5     it under the terms of the GNU General Public License as published by
6     the Free Software Foundation, either version 3 of the License, or
7     (at your option) any later version.
9     Moodle is distributed in the hope that it will be useful,
10     but WITHOUT ANY WARRANTY; without even the implied warranty of
11     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12     GNU General Public License for more details.
14     You should have received a copy of the GNU General Public License
15     along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
17 {{!
18     @template theme_boost/maintenance
20     Boost maintenance layout template.
22     Context variables required for this template:
23     * output - The core renderer for the page
25     Example context (json):
26     {
27         "output": {
28             "doctype": "<!DOCTYPE html>",
29             "page_title": "Test page",
30             "favicon": "favicon.ico",
31             "main_content": "<h1>Headings make html validators happier</h1>"
32          }
33     }
35 {{{ output.doctype }}}
36 <html {{{ output.htmlattributes }}}>
37 <head>
38     <title>{{{ output.page_title }}}</title>
39     <link rel="shortcut icon" href="{{{ output.favicon }}}" />
40     {{{ output.standard_head_html }}}
41     <meta name="viewport" content="width=device-width, initial-scale=1.0">
42 </head>
44 <body {{{ output.body_attributes }}}>
46 <div id="page-wrapper">
48     {{{ output.standard_top_of_body_html }}}
50     <div id="page" class="container pb-3">
52         <div class="row">
53             <div class="col-12 py-3">
54                 {{{ output.page_heading }}}
55             </div>
56         </div>
58         <div id="page-content" class="row">
59             <section id="region-main" class="col-12">
60                 {{{ output.main_content }}}
61             </section>
62         </div>
64     </div>
65     <footer id="page-footer" class="py-3 bg-dark text-light">
66         <div class="container">
67             {{{ output.standard_footer_html }}}
68             {{{ output.standard_end_of_body_html }}}
69         </div>
70     </footer>
71 </div>
73 </body>
74 </html>
75 {{#js}}
76 M.util.js_pending('theme_boost/loader');
77 require(['theme_boost/loader'], function() {
78   M.util.js_complete('theme_boost/loader');
79 });
80 {{/js}}