X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/grade/report/grader/templates/search
home
/
cbholdings
/
pasukulu
/
grade
/
report
/
grader
/
templates
/
search
/
📁
..
📄
options.php
(1.96 KB)
📄
resultitem.mustache
(2.61 KB)
📄
resultset.mustache
(3.12 KB)
📄
searchinput.mustache
(1.94 KB)
Editing: searchinput.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 gradereport_grader/search/searchinput Wrapping template for search input. Context variables required for this template: * currentvalue - If the user has already searched, set the value to that. * courseid - The id of the course to search within the report of. Example context (json): { "currentvalue": "bar", "courseid": 2, "resetlink": "grade/report/grader/index.php?id=2" } }} <span class="d-none" data-region="courseid" data-courseid="{{courseid}}" aria-hidden="true"></span> {{#currentvalue}} {{< core/search_input_auto }} {{$label}}{{#str}} searchusers, core_grades {{/str}}{{/label}} {{$value}}{{{currentvalue}}}{{/value}} {{/ core/search_input_auto }} <a class="ml-2 btn btn-link border-0" href="{{resetlink}}" data-action="resetpage" role="link" aria-label="{{#str}}clearsearch, gradereport_grader{{/str}}"> {{#str}}clear{{/str}} </a> {{/currentvalue}} {{^currentvalue}} {{< core/search_input_auto }} {{$label}}{{#str}} searchusers, core_grades {{/str}}{{/label}} {{$placeholder}}{{#str}} searchusers, core_grades {{/str}}{{/placeholder}} {{/ core/search_input_auto }} {{/currentvalue}}
Upload File
Create Folder