You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

63 lines
2.4 KiB

{{!
This file is part of Moodle - http://moodle.org/
Moodle is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Moodle is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
}}
{{!
@template format_tiles/above_tiles
Example context (json):
{
"isediting": "0",
"section_zero_show": "1",
"is_multi_section": "1",
"has_filter_buttons": "1",
"fiternumberedbuttons": [{
"id": 12345,
"buttonnum": 2,
"sections": [3,4,5],
"title": "3-5"
}]
}
}}
{{^isediting}}{{#usingjsnav}}
<div id="abovetiles">
<div id="headerabovetiles" class="headerabovetiles" aria-hidden="true">
{{#is_multi_section}}
{{#has_filter_buttons}}
<div id="filterbuttons">
<span id="filterintro">
{{#pix}}filter, format_tiles{{/pix}}
</span>
{{#fiternumberedbuttons}}
{{> format_tiles/filterbutton}}
{{/fiternumberedbuttons}}
{{#fiteroutcomebuttons}}
{{> format_tiles/filterbutton}}
{{/fiteroutcomebuttons}}
<div id="filterbutton-all" class="filterbutton" data-buttonid="all" data-sections="[all]">
{{#str}}all, format_tiles{{/str}}
</div>
</div>
{{/has_filter_buttons}}
{{#overall_progress_indicator}}
{{> format_tiles/progress}}
{{/overall_progress_indicator}}
{{/is_multi_section}}
{{^isediting}}{{#section_zero_show}}
<div class="buttonhidesec0 open" id="buttonhidesec0"></div>
{{/section_zero_show}}{{/isediting}}
</div>
</div>
{{/usingjsnav}}{{/isediting}}