Sindbad~EG File Manager
{{!
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 theme_adaptable/courseindextoggle
Adaptable Course Index toggle template.
Context variables required for this template:
* left - true if side post is on the left
* courseindex - true if there is a course index
Example context (json):
{
"courseindex": true,
"left": false
}
}}
{{#courseindex}}
<div class="drawer-toggles d-flex">
<div class="drawer-toggler drawer-{{#left}}right{{/left}}{{^left}}left{{/left}}-toggle open-nav d-print-none">
<button
class="btn icon-no-margin"
data-toggler="drawers"
data-action="toggle"
data-target="theme_adaptable-drawers-courseindex"
data-toggle="tooltip"
data-placement="{{#left}}left{{/left}}{{^left}}right{{/left}}"
title="{{#str}}opendrawerindex, core{{/str}}"
>
<span class="sr-only">{{#str}}opendrawerindex, core{{/str}}</span>
{{#pix}} t/index_drawer, moodle {{/pix}}
</button>
</div>
</div>
{{/courseindex}}
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists