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_boost/cover_image_selector
Context variables required for this template:
* accepttypes - The type of file accepted to be uploaded as cover image
Example context (json):
{
"accepttypes": "image/jpeg"
}
}}
<div id="snap-coverimagecontrol">
<label tabindex="0" class="btn btn-sm btn-file btn-secondary state-visible" for="snap-coverfiles"><span>{{#str}}changecoverimage, theme_snap{{/str}}</span>
<input tabindex="-1" id="snap-coverfiles" name="snap-coverfiles[]"/>
</label>
<div id="snap-changecoverimageconfirmation">
<button class="btn btn-sm btn-success ok">{{#str}}save, admin{{/str}}</button>
<button class="btn btn-sm btn-danger cancel">{{#str}}cancel, moodle{{/str}}</button>
</div>
</div>
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists