{{!
    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 local_gamibot_manager/promptsmodal

    Template for the AI prompts view modal.

    Example context (json):
    {

    }
}}
{{< core/modal }}
    {{$title}}
        {{heading}}
    {{/title}}

    {{$body}}
        <div class="w-25 mb-2">
            <select class="form-control" data-local_gamibot_manager-prompts_view="timeselector">
                <option value="{{lastday}}">{{#str}}lastday, local_gamibot_manager{{/str}}</option>
                <option value="{{lastweek}}">{{#str}}lastweek, local_gamibot_manager{{/str}}</option>
                <option value="{{lastmonth}}">{{#str}}lastmonth, local_gamibot_manager{{/str}}</option>
                <option value="0">{{#str}}alltime, local_gamibot_manager{{/str}}</option>
            </select>
        </div>
        {{> local_gamibot_manager/promptsmodal_table }}
    {{/body}}

    {{$footer}}
        <button type="button" class="btn btn-primary" data-action="cancel">{{#str}}closebuttontitle, core{{/str}}</button>
    {{/footer}}
{{/ core/modal}}

