MDL-63028 Theme boost: fix footer maintenance page
[moodle.git] / theme / boost / templates / maintenance.mustache
CommitLineData
310808b7
DP
1{{!
2 This file is part of Moodle - http://moodle.org/
3
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.
8
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.
13
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/>.
16}}
17{{!
18 @template theme_boost/maintenance
19
20 Boost maintenance layout template.
21
22 Context variables required for this template:
23 * output - The core renderer for the page
24
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 }
34}}
536f0460
DW
35{{{ output.doctype }}}
36<html {{{ output.htmlattributes }}}>
37<head>
6eb6c5fd 38 <title>{{{ output.page_title }}}</title>
536f0460
DW
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>
43
44<body {{{ output.body_attributes }}}>
45
2668487e 46<div id="page-wrapper">
536f0460 47
2668487e 48 {{{ output.standard_top_of_body_html }}}
536f0460 49
4a5ceb21 50 <div id="page" class="container pb-3">
ff274ab0
FM
51
52 <div class="row">
3ec69c2e 53 <div class="col-12 py-3">
ff274ab0
FM
54 {{{ output.page_heading }}}
55 </div>
56 </div>
2668487e
FM
57
58 <div id="page-content" class="row">
3ec69c2e 59 <section id="region-main" class="col-12">
8b590de0 60 {{{ output.main_content }}}
61 </section>
536f0460 62 </div>
536f0460 63
2668487e 64 </div>
4a5ceb21
BB
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>
536f0460 71</div>
2668487e 72
536f0460 73</body>
d2645a6a
DW
74</html>
75{{#js}}
310808b7 76require(['theme_boost/loader']);
d2645a6a 77{{/js}}