AutorÃa | Ultima modificación | Ver Log |
{{!This file is part of Moodle - http://moodle.org/Moodle is free software: you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe 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 ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with Moodle. If not, see <http://www.gnu.org/licenses/>.}}{{!@template theme_universe/settings-customfonts-filelistBoost Union settingsfilelist layout template.Context variables required for this template:* files - Array of filesExample context (json):{"files": [{"fileicon": "<img class='icon ' alt='Image (JPEG)' title='Image (JPEG)' src='/theme/image.php/boost_union/core/1666077095/f/jpeg-64'>","filename": "foo.jpg","filetype": "image/jpeg","filesize": "38.5 KB","fileurlpersistent": "http://localhost/pluginfile.php/1/theme_universe/additionalresources/0/foo.jpg","fileurlrevisioned": "http://localhost/pluginfile.php/1/theme_universe/additionalresources/1666077095/foo.jpg"}]}}}<ul class="list-group mt-5 mb-3 settings-customfonts-filelist">{{#files}}<li class="list-group-item"><h6>{{filename}}</h6><pre><code>@font-face {font-family: 'changeme';src: url("{{fileurlpersistent}}") format('changeme');font-weight: changeme;font-style: changeme;}</code></pre></li>{{/files}}</ul>