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
    Example context (json):
19
    {
20
        "output": {
21
            "doctype": "<!DOCTYPE html>",
22
            "page_title": "Login page",
23
            "favicon": "favicon.ico",
24
            "main_content": "<h1>Headers keep HTML validators happy</h1>"
25
        }
26
    }
27
}}
28
{{> theme_universe/head }}
29
 
30
<body {{{ bodyattributes }}}>
31
    {{> core/local/toast/wrapper}}
32
 
33
    {{{ output.standard_top_of_body_html }}}
34
 
35
    <div class="rui-login-lang-wrapper">{{{ output.render_lang_menu_login }}}</div>
36
 
37
    <div id="page-login" class="container-fluid p-0 {{#output.render_lang_menu_login}}rui-multilang{{/output.render_lang_menu_login}}">
38
        <div id="page-content" class="row no-gutters">
39
            <div id="region-main-box" class="col-12">
40
                <section id="region-main" aria-label="{{#str}}content{{/str}}">
41
                    <div class="login-wrapper">
42
                        <div class="login-container">
43
                            {{{ output.main_content }}}
44
                        </div>
45
                    </div>
46
                </section>
47
            </div>
48
        </div>
49
    </div>
50
 
51
    {{{ output.standard_after_main_region_html }}}
52
    {{{ output.standard_end_of_body_html }}}
53
</body>
54
 
55
</html>
56
{{#js}}
57
    M.util.js_pending('theme_universe/loader');
58
    require(['theme_universe/loader'], function() {
59
    M.util.js_complete('theme_universe/loader');
60
    });
61
{{/js}}