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/>.
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):
28 "doctype": "<!DOCTYPE html>",
29 "page_title": "Test page",
30 "favicon": "favicon.ico",
31 "main_content": "<h1>Headings make html validators happier</h1>"
35 {{{ output.doctype }}}
36 <html {{{ output.htmlattributes }}}>
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">
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">
53 <div class="col-12 py-3">
54 {{{ output.page_heading }}}
58 <div id="page-content" class="row">
59 <section id="region-main" class="col-12">
60 {{{ output.main_content }}}
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 }}}
76 M.util.js_pending('theme_boost/loader');
77 require(['theme_boost/loader'], function() {
78 M.util.js_complete('theme_boost/loader');