Proyectos de Subversion Moodle

Rev

Rev 654 | Rev 748 | Ir a la última revisión | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
654 ariadna 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
 
747 ariadna 35
    <div class="rui-login-lang-wrapper">{{{ output.render_lang_menu_login }}}
36
        <img class="pl-3" src="{{{ config.wwwroot }}}/theme/universe_child/pix/login_bg.png" />
37
    </div>
654 ariadna 38
 
39
    <div id="page-login" class="container-fluid p-0 {{#output.render_lang_menu_login}}rui-multilang{{/output.render_lang_menu_login}}">
40
        <div id="page-content" class="row no-gutters">
41
            <div id="region-main-box" class="col-12">
42
                <section id="region-main" aria-label="{{#str}}content{{/str}}">
43
                    <div class="login-wrapper">
44
                        <div class="login-container">
45
                            {{{ output.main_content }}}
46
                        </div>
47
                    </div>
48
                </section>
49
            </div>
50
        </div>
51
    </div>
52
 
53
    {{{ output.standard_after_main_region_html }}}
54
    {{{ output.standard_end_of_body_html }}}
55
</body>
56
 
57
</html>
58
{{#js}}
59
    M.util.js_pending('theme_universe/loader');
60
    require(['theme_universe/loader'], function() {
61
    M.util.js_complete('theme_universe/loader');
62
    });
63
{{/js}}