Proyectos de Subversion Moodle

Rev

Rev 914 | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
912 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
{{!
918 ariadna 18
    @template theme_universe_child/courseindex/drawer
912 ariadna 19
 
20
    This template renders the course index drawer with the placeholder.
21
 
22
    The code from this file is just an stub as the final code will come from
23
    the new layouts for Moodle 4.0.
24
 
25
    Example context (json):
26
    {}
27
}}
28
<nav id="courseindex" class="courseindex">
29
    <div id="courseindex-content">
914 ariadna 30
        {{> theme_universe_child/courseindex/placeholders }}
912 ariadna 31
    </div>
32
</nav>
33
{{#js}}
918 ariadna 34
require(['core_courseformat/local/courseindex/drawer'], function(component) {
912 ariadna 35
    component.init('courseindex');
36
});
37
{{/js}}