{{!
    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 block_eledia_coursesearch/placeholders

    This template renders the loading placeholders for the eledia_coursesearch block.

    Example context (json):
    {}
}}
<div data-region="loading-placeholder-content" aria-hidden="true">
    {{#card}}
        <div class="card-grid row row-cols-1 row-cols-sm-2 row-cols-md-3 mx-0 flex-nowrap overflow-hidden" style="height: 13rem">
            <div class="col d-flex px-1">{{> core_course/placeholder-course }}</div>
            <div class="col d-flex px-1">{{> core_course/placeholder-course }}</div>
            <div class="col d-flex px-1">{{> core_course/placeholder-course }}</div>
        </div>
    {{/card}}
    {{#list}}
        <ul class="list-group">
            <li class="list-group-item course-listitem border-start-0 border-end-0 border-top-0 px-2 rounded-0">
                <div class="row">
                    <div class="col-md-2 d-flex align-items-center">
                        <div class="bg-pulse-grey card-img w-100" style="height: 1rem; width: 1rem;"></div>
                    </div>
                    <div class="col-md-10 d-flex flex-column">
                        <div class="bg-pulse-grey w-50" style="height: 1rem; margin: 0.5rem 0"></div>
                    </div>
                </div>
            </li>
            <li class="list-group-item course-listitem border-start-0 border-end-0 border-top-0 px-2 rounded-0">
                <div class="row">
                    <div class="col-md-2 d-flex align-items-center">
                        <div class="bg-pulse-grey card-img w-100" style="height: 1rem; width: 1rem;"></div>
                    </div>
                    <div class="col-md-10 d-flex flex-column">
                        <div class="bg-pulse-grey w-50" style="height: 1rem; margin: 0.5rem 0"></div>
                    </div>
                </div>
            </li>
            <li class="list-group-item course-listitem border-start-0 border-end-0 border-top-0 px-2 rounded-0">
                <div class="row">
                    <div class="col-md-2 d-flex align-items-center">
                        <div class="bg-pulse-grey card-img w-100" style="height: 1rem; width: 1rem;"></div>
                    </div>
                    <div class="col-md-10 d-flex flex-column">
                        <div class="bg-pulse-grey w-50" style="height: 1rem; margin: 0.5rem 0"></div>
                    </div>
                </div>
            </li>
            <li class="list-group-item course-listitem border-start-0 border-end-0 border-top-0 px-2 rounded-0">
                <div class="row">
                    <div class="col-md-2 d-flex align-items-center">
                        <div class="bg-pulse-grey card-img w-100" style="height: 1rem; width: 1rem;"></div>
                    </div>
                    <div class="col-md-10 d-flex flex-column">
                        <div class="bg-pulse-grey w-50" style="height: 1rem; margin: 0.5rem 0"></div>
                    </div>
                </div>
            </li>
        </ul>
    {{/list}}
    {{#summary}}
        <ul class="list-group">
            <li class="list-group-item course-listitem border-start-0 border-end-0 border-top-0 px-2 rounded-0">
                <div class="row">
                    <div class="col-md-2 d-flex align-items-center">
                        <div class="bg-pulse-grey card-img w-100" style="height: 1rem; width: 1rem;"></div>
                    </div>
                    <div class="col-md-10 d-flex flex-column">
                        <div class="bg-pulse-grey w-50" style="height: 1rem; margin: 0.5rem 0"></div>
                    </div>
                </div>
            </li>
            <li class="list-group-item course-listitem border-start-0 border-end-0 border-top-0 px-2 rounded-0">
                <div class="row">
                    <div class="col-md-2 d-flex align-items-center">
                        <div class="bg-pulse-grey card-img w-100" style="height: 1rem; width: 1rem;"></div>
                    </div>
                    <div class="col-md-10 d-flex flex-column">
                        <div class="bg-pulse-grey w-50" style="height: 1rem; margin: 0.5rem 0"></div>
                    </div>
                </div>
            </li>
            <li class="list-group-item course-listitem border-start-0 border-end-0 border-top-0 px-2 rounded-0">
                <div class="row">
                    <div class="col-md-2 d-flex align-items-center">
                        <div class="bg-pulse-grey card-img w-100" style="height: 1rem; width: 1rem;"></div>
                    </div>
                    <div class="col-md-10 d-flex flex-column">
                        <div class="bg-pulse-grey w-50" style="height: 1rem; margin: 0.5rem 0"></div>
                    </div>
                </div>
            </li>
            <li class="list-group-item course-listitem border-start-0 border-end-0 border-top-0 px-2 rounded-0">
                <div class="row">
                    <div class="col-md-2 d-flex align-items-center">
                        <div class="bg-pulse-grey card-img w-100" style="height: 1rem; width: 1rem;"></div>
                    </div>
                    <div class="col-md-10 d-flex flex-column">
                        <div class="bg-pulse-grey w-50" style="height: 1rem; margin: 0.5rem 0"></div>
                    </div>
                </div>
            </li>
        </ul>
    {{/summary}}
</div>
