{{!
    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.

    Edwiser RemUI
    @package   theme_remui
    @copyright (c) 2020 WisdmLabs (https://wisdmlabs.com/)
    @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

}}
{{!
    @template theme_remui/activity_navigation

    Display the activity navigation for all activities in a course

    Context variables required for this template:

    Example context (json):
    {
        "formaction": "#"
    }
}}
{{! Leanring Program }}
<table id="wdm-lplist-table" class="table lp-table" style="min-width: 100%;">
    <thead>
        <tr>
            <th>
                <span class="checkbox-custom">
                    <input type="checkbox" name="selectAllCustom">
                    <label class="selectAllCustomReports"></label>
                </span>
            </th>
            <th>
                {{#str}} name , local_edwiserreports {{/str}}
            </th>
            <th>
                {{#str}} shortname , local_edwiserreports {{/str}}
            </th>
            <th>
                {{#str}} startdate , local_edwiserreports {{/str}}
            </th>
            <th>
                {{#str}} enddate , local_edwiserreports {{/str}}
            </th>
            <th>
                {{#str}} duration , local_edwiserreports {{/str}}
            </th>
        </tr>
    </thead>
    <tbody></tbody>
</table>
<a id="wdm-lpdetailedreport" class="btn btn-secondary mt-10 pull-right" style="display: none;">
    {{#str}} exportlpdetailedreport, local_edwiserreports {{/str}}
</a>
<form id="wdm-lpdetailedreport-form" action="{{formaction}}" target="_blank" class="hidden" method="post">
    <input type="hidden" name="filters"/>
    <input type="hidden" name="reporttype" value="lpdetailed"/>
    <input type="hidden" name="cohortid" value="{{cohortid}}"/>
</form>
{{#js}}
require(['local_edwiserreports/lpdetailedreport'], function() {
    /* eslint-disable no-undef */
    Breakpoints();
});
{{/js}}
