Sindbad~EG File Manager

Current Path : /var/www/html/bnf.sumar.com.py/course/format/grid/templates/local/content/
Upload File :
Current File : /var/www/html/bnf.sumar.com.py/course/format/grid/templates/local/content/sectionselector.mustache

{{!
    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_grid/local/content/sectionselector

    Displays the course section navigation.

    Example context (json):
    {
        "hasnext": true,
        "hasprevious": true,
        "nextname": "Section 8",
        "nexturl": "#",
        "previousname": "Section 6",
        "previousurl": "#",
        "rtl": false,
        "selector": "<select><option>Section 4</option></select>"
    }
}}
<div class="section-navigation mdl-bottom gd-selection-selector-container">
    <div class="gd-selection-selector-item prevsection">
        {{#hasprevious}}
        <a href="{{{previousurl}}}"{{#previoushidden}} class="dimmed_text"{{/previoushidden}}>
            <span class="fa-regular {{^rtl}}fa-circle-left{{/rtl}}{{#rtl}}fa-circle-right{{/rtl}} mr-1"></span>{{{previousname}}}
        </a>
        {{/hasprevious}}
    </div>
    <div class="gd-selection-selector-item jumpto">
        {{{selector}}}
    </div>
    <div class="gd-selection-selector-item nextsection">
        {{#hasnext}}
        <a href="{{{nexturl}}}"{{#nexthidden}} class="dimmed_text"{{/nexthidden}}>
            {{{nextname}}}<span class="fa-regular {{^rtl}}fa-circle-right{{/rtl}}{{#rtl}}fa-circle-left{{/rtl}} ml-1"></span>
        </a>
        {{/hasnext}}
    </div>
</div>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists