2 This file is part of Moodle - http://moodle.org/
4 Moodle is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
9 Moodle is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with Moodle. If not, see <http://www.gnu.org/licenses/>.
18 @template core_h5p/h5ptoolsoverview
20 Example context (json):
25 "tool_description": "h5ptasks_description",
26 "link": "https://example.com/admin/tool/task/scheduledtasks.php",
28 "status_class": "bade bg-success text-white",
29 "status_action": "<a href=\"admin/tool/task/schedule_task.php?task=core_task_h5p_get_content_types_task\">Run now</a>"
33 "tool_description": "h5ptasks_description",
34 "link": "https://example.com/admin/filters.php",
36 "status_class": "bade bg-danger text-white"
42 <table class="admintable generaltable" id="h5ptools">
45 <th>{{#str}} feature, h5p {{/str}}</th>
46 <th class="text-center">{{#str}} status, h5p {{/str}}</th>
47 <th>{{#str}} description, h5p {{/str}}</th>
53 <td><a href="{{{ link }}}" title="{{#str}} settings {{/str}}">{{{ tool }}}</a></td>
54 <td class="text-center">
55 <div class="{{{ status_class }}}">{{{ status }}}</div>
56 {{#status_action}}<div>{{{ status_action }}}</div>{{/status_action}}
58 <td>{{{ tool_description }}}</td>