Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 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
    Context variables required for this template:
19
    * sitename - The name of the site
20
    * output - The core renderer for the page
21
    * bodyattributes - attributes for the body tag as a string of html attributes
22
 
23
    Example context (json):
24
    {
25
        "sitename": "Moodle",
26
        "output": {
27
            "doctype": "<!DOCTYPE html>",
28
            "page_title": "Test page",
29
            "favicon": "favicon.ico",
30
            "main_content": "<h1>Headings make html validators happier</h1>"
31
         },
32
         "bodyattributes":""
33
    }
34
}}
35
{{> theme_monocolor/head }}
36
 
37
<body {{{ bodyattributes }}}>
38
{{> core/local/toast/wrapper}}
39
 
40
<div id="page-wrapper" class="d-print-block">
41
 
42
    {{{ output.standard_top_of_body_html }}}
43
 
44
    <div id="page" class="container-fluid d-print-block">
45
        <div id="page-content" class="row pb-3 d-print-block">
46
            <div id="region-main-box" class="col-12">
47
                <section id="region-main" aria-label="{{#str}}content{{/str}}">
48
                    {{{ output.course_content_header }}}
49
                    {{#headercontent}}
50
                        {{> core/activity_header }}
51
                    {{/headercontent}}
52
                    <div class="wrapper-bg">{{{ output.main_content }}}</div>
53
                    {{{ output.activity_navigation }}}
54
                    {{{ output.course_content_footer }}}
55
                </section>
56
            </div>
57
        </div>
58
    </div>
59
 
60
    {{{ output.standard_after_main_region_html }}}
61
 
62
</div>
63
{{{ output.standard_end_of_body_html }}}
64
</body>
65
</html>
66
{{#js}}
67
M.util.js_pending('theme_monocolor/loader');
68
require(['theme_monocolor/loader'], function() {
69
    M.util.js_complete('theme_monocolor/loader');
70
});
71
{{/js}}