MDL-67154 theme_boost: fixing firefox printing
[moodle.git] / theme / boost / templates / columns1.mustache
CommitLineData
d8cfd611
DW
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/columns1
19
20 Boost 1 column layout template.
21
22 Context variables required for this template:
23 * sitename - The name of the site
24 * output - The core renderer for the page
25 * bodyattributes - attributes for the body tag as a string of html attributes
d8cfd611
DW
26
27 Example context (json):
28 {
29 "sitename": "Moodle",
310808b7
DP
30 "output": {
31 "doctype": "<!DOCTYPE html>",
32 "page_title": "Test page",
33 "favicon": "favicon.ico",
34 "main_content": "<h1>Headings make html validators happier</h1>"
35 },
36 "bodyattributes":""
d8cfd611
DW
37 }
38}}
3ec69c2e 39{{> theme_boost/head }}
536f0460 40
99061152 41<body {{{ bodyattributes }}}>
224ea04e 42{{> core/local/toast/wrapper}}
536f0460 43
e06f9a83 44<div id="page-wrapper" class="d-print-block">
536f0460 45
2668487e 46 {{{ output.standard_top_of_body_html }}}
b71c82ad 47
e06f9a83
FR
48 <div id="page" class="container-fluid d-print-block">
49 <div id="page-content" class="row pb-3 d-print-block">
3ec69c2e 50 <div id="region-main-box" class="col-12">
9df03b19 51 <section id="region-main" aria-label="{{#str}}content{{/str}}">
bf45d7eb
BB
52 {{{ output.course_content_header }}}
53 {{{ output.main_content }}}
54 {{{ output.activity_navigation }}}
55 {{{ output.course_content_footer }}}
99061152 56 </section>
1ecc3daf 57 </div>
536f0460
DW
58 </div>
59 </div>
c75559cf
RW
60
61 {{{ output.standard_after_main_region_html }}}
62
126e1b24 63</div>
0a58ec24 64{{{ output.standard_end_of_body_html }}}
536f0460 65</body>
d2645a6a
DW
66</html>
67{{#js}}
5034f0a1
AN
68M.util.js_pending('theme_boost/loader');
69require(['theme_boost/loader'], function() {
70 M.util.js_complete('theme_boost/loader');
71});
d2645a6a 72{{/js}}