MDL-66893 grade: update rubric template for grader
[moodle.git] / mod / forum / templates / local / grades / grader.mustache
CommitLineData
bae67469
MM
1{{!
2 This file is part of Moodle - http://moodle.org/
3
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.
8
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.
13
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/>.
16}}
17{{!
18 @template mod_forum/local/grades/local/grader
19
20 Classes required for JS:
21 * TODO
22
23 Data attributes required for JS:
a62c68fb
MM
24 * data-first-userid="350"
25 * data-cmid="1337"
bae67469
MM
26
27 Context variables required for this template:
a62c68fb
MM
28 * userid: ID of the first user to jump to
29 * cmid: ID of the course module we want to grade
bae67469
MM
30
31 Example context (json):
32 {
a62c68fb
MM
33 "userid": 350,
34 "cmid": 1337
bae67469
MM
35 }
36}}
a62c68fb
MM
37<div class="container-fluid"
38 data-region="unified-grader"
39 {{#userid}}data-first-userid="{{userid}}"{{/userid}}
40 data-cmid="{{cmid}}"
41 >
bae67469
MM
42 <div class="row-fluid">
43 {{> mod_forum/local/grades/local/grader/navigation }}
44 </div>
45 <div class="row-fluid no-gutters">
46 {{> mod_forum/local/grades/local/grader/content }}
47 {{> mod_forum/local/grades/local/grader/grading }}
48 </div>
49</div>