{{!
    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 mod_minilesson/lessonbankcontrols

    TODO describe template lessonbankcontrols

    Example context (json):
    {
    }
}}

<div class="d-flex align-items-center justify-content-end mt-1 mb-1">
    <div class="countcontainer mr-auto"> {{lessonbankitemcount}} </div>
    <div class="d-flex align-items-center gap-1">
        <span>{{#str}}show{{/str}}</span>
        <select class="select custom-select form-control" id="menuperpageselection" name="perpageselection">
            {{#paginationoptions}}
                <option value="{{.}}">{{.}}</option>
            {{/paginationoptions}}
        </select>
        <span class="ml-1">{{#str}}perpage, mod_minilesson{{/str}}</span>
    </div>
    <div class="lessonbanklayoutbox align-items-center d-flex ml-3">
        <button class="btn listlayoutbtn"><i class="fa fa-list"></i></button>
        <button class="btn gridlayoutbtn active"><i class="fa fa-th-large"></i></button>
    </div>
</div>
<template id="mod_minilesson-spinner">
    <i class='icon fa fa-spinner fa-pulse fa-fw ' aria-hidden='true'></i>
</template>
<template id="mod_minilesson-preview-iframe">
    <iframe src="" style="width: 100%; height: 700px; border: none;" allow="microphone; camera; autoplay"></iframe>
</template>