1 |
efrain |
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_assign/grading_app
|
|
|
19 |
|
|
|
20 |
Actions panel at the bottom of the assignment grading UI.
|
|
|
21 |
|
|
|
22 |
Classes required for JS:
|
|
|
23 |
* Uses some bootstrap classes, but for visual appeal only.
|
|
|
24 |
|
|
|
25 |
Data attributes required for JS:
|
|
|
26 |
* data-region, data-first-userid, data-courseid, data-contextid, data-assignmentid
|
|
|
27 |
|
|
|
28 |
Context variables required for this template:
|
|
|
29 |
* see mod/assign/classes/output/grading_app.php
|
|
|
30 |
|
|
|
31 |
This template includes ajax functionality, so it cannot be shown in the template library.
|
|
|
32 |
}}
|
|
|
33 |
<div class="rui-grading-navigation-panel" data-region="grading-navigation-panel" data-first-userid="{{userid}}" data-courseid="{{courseid}}" data-showuseridentity="{{showuseridentity}}">
|
|
|
34 |
{{> mod_assign/grading_navigation }}
|
|
|
35 |
</div>
|
|
|
36 |
{{#showreview}}
|
|
|
37 |
<div class="rui-review-panel" data-region="review-panel">
|
|
|
38 |
<a href="#" class="rui-review-panel-toggle" data-region="review-panel-toggle">
|
|
|
39 |
<div class="collapse-icon">{{#pix}} t/expanded, core, {{#str}} collapsereviewpanel, mod_assign {{/str}} {{/pix}}</div>
|
|
|
40 |
<div class="expand-icon">
|
|
|
41 |
<div class="ltr-icon">{{#pix}} t/collapsed, core, {{#str}} expandreviewpanel, mod_assign {{/str}} {{/pix}}</div>
|
|
|
42 |
<div class="rtl-icon">{{#pix}} t/collapsed_rtl, core, {{#str}} expandreviewpanel, mod_assign {{/str}} {{/pix}}</div>
|
|
|
43 |
<div class="toggle-text">{{#str}} clickexpandreviewpanel, mod_assign {{/str}}</div>
|
|
|
44 |
</div>
|
|
|
45 |
</a>
|
|
|
46 |
<div clsas="rui-review-panel-content" data-region="review-panel-content">
|
|
|
47 |
<div class="rui-review-panel" data-region="review">
|
|
|
48 |
{{> mod_assign/review_panel }}
|
|
|
49 |
</div>
|
|
|
50 |
</div>
|
|
|
51 |
</div>
|
|
|
52 |
{{/showreview}}
|
|
|
53 |
<div data-region="grade-panel" {{^showreview}}class="fullwidth"{{/showreview}}>
|
|
|
54 |
<div data-region="grade" data-contextid="{{contextid}}" data-assignmentid="{{assignmentid}}">
|
|
|
55 |
{{> mod_assign/grading_panel }}
|
|
|
56 |
</div>
|
|
|
57 |
</div>
|
|
|
58 |
<div data-region="grade-actions-panel">
|
|
|
59 |
<div data-region="grade-actions" class="d-inline-flex justify-content-between flex-wrap w-100">
|
|
|
60 |
<div class="tool_usertours-resettourcontainer float-left"></div>
|
|
|
61 |
{{> mod_assign/grading_actions }}
|
|
|
62 |
</div>
|
|
|
63 |
</div>
|
|
|
64 |
<div data-region="overlay" class="rui-overlay moodle-has-zindex">
|
|
|
65 |
{{> mod_assign/grading_save_in_progress }}
|
|
|
66 |
</div>
|