1 |
efrain |
1 |
{{!
|
|
|
2 |
This file is part of Moodle - http://moodle.org/
|
|
|
3 |
Moodle is free software: you can redistribute it and/or modify
|
|
|
4 |
it under the terms of the GNU General Public License as published by
|
|
|
5 |
the Free Software Foundation, either version 3 of the License, or
|
|
|
6 |
(at your option) any later version.
|
|
|
7 |
Moodle is distributed in the hope that it will be useful,
|
|
|
8 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
9 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
10 |
GNU General Public License for more details.
|
|
|
11 |
You should have received a copy of the GNU General Public License
|
|
|
12 |
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
|
|
13 |
}}
|
|
|
14 |
{{!
|
|
|
15 |
@template gradereport_singleview/bulkinsert
|
|
|
16 |
Template for the bulk insert grades modal.
|
|
|
17 |
|
|
|
18 |
Example context (json):
|
|
|
19 |
{
|
|
|
20 |
"name": "bulksinsertmodal",
|
|
|
21 |
"id": "bulksinsertmodal"
|
|
|
22 |
}
|
|
|
23 |
}}
|
|
|
24 |
<form>
|
|
|
25 |
<div class="alert alert-warning">
|
|
|
26 |
{{#str}}unsavedataalert, gradereport_singleview{{/str}}
|
|
|
27 |
<span class="sr-only">{{#str}}unsaveddatawarning, gradereport_singleview{{/str}}</span>
|
|
|
28 |
<div class="form-check form-check-inline">
|
|
|
29 |
<input class="form-check-input" type="checkbox" value="1" id="override">
|
|
|
30 |
<label class="form-check-label" for="override">
|
|
|
31 |
{{#str}}unsavedataconfirm, gradereport_singleview{{/str}}
|
|
|
32 |
</label>
|
|
|
33 |
</div>
|
|
|
34 |
</div>
|
|
|
35 |
<div class="formdata dimmed_text">
|
|
|
36 |
{{#str}}bulkchoice, gradereport_singleview{{/str}}
|
|
|
37 |
<div class="pt-3 px-3" role="radiogroup">
|
|
|
38 |
<label class="form-check">
|
|
|
39 |
<input class="form-check-input" type="radio" name="bulkinsert" value="all" disabled/>
|
|
|
40 |
{{#str}}all_grades, gradereport_singleview{{/str}}
|
|
|
41 |
</label>
|
|
|
42 |
<label class="form-check">
|
|
|
43 |
<input class="form-check-input" type="radio" name="bulkinsert" value="blanks" disabled/>
|
|
|
44 |
{{#str}}blanks, gradereport_singleview{{/str}}
|
|
|
45 |
</label>
|
|
|
46 |
</div>
|
|
|
47 |
<p class ="font-weight-bold">
|
|
|
48 |
{{#str}}bulkinsertvalue, gradereport_singleview{{/str}}
|
|
|
49 |
</p>
|
|
|
50 |
<label for="{{name}}" class="sr-only">{{#str}}bulkinsertvalue, gradereport_singleview{{/str}}</label>
|
|
|
51 |
<input type="text" name="{{name}}" id="{{id}}" value="0" class="form-control text-ltr" disabled {{#readonly}}readonly{{/readonly}}>
|
|
|
52 |
</div>
|
|
|
53 |
|
|
|
54 |
</form>
|