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
    @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
}}
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>
43
 
44
<body {{{ output.body_attributes }}}>
45
{{> core/local/toast/wrapper}}
46
 
47
<div id="page-wrapper">
48
 
49
    {{{ output.standard_top_of_body_html }}}
50
 
51
    <div id="page" class="container pb-3">
52
 
53
        <div class="row">
54
            <div class="col-12 py-3">
55
                {{{ output.page_heading }}}
56
            </div>
57
        </div>
58
 
59
        <div id="page-content" class="row">
60
            <section id="region-main" class="col-12" aria-label="{{#str}}content{{/str}}">
61
                {{{ output.main_content }}}
62
            </section>
63
        </div>
64
 
65
    </div>
66
    {{> theme_boost/footer }}
67
</div>
68
 
69
</body>
70
</html>
71
{{#js}}
72
M.util.js_pending('theme_boost/loader');
73
require(['theme_boost/loader'], function() {
74
  M.util.js_complete('theme_boost/loader');
75
});
76
{{/js}}