Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1441 ariadna 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_sticky_footer
19
 
20
    Sticky footer template for the assignment grading page.
21
 
22
    Example context (json):
23
    {
24
        "perpage": "<label>Show<select name='perpage' class='form-select'><option value='-1'>All</select></label>",
25
        "pagingbar": "<nav class='pagination pagination-centered justify-content-center'><ul class='mt-1 pagination '><li class='page-item active'><a href='#' class='page-link'><span>1</span></a></li></ul></nav>",
26
        "hassubmit": true,
27
        "sendstudentnotifications": true
28
    }
29
}}
30
<div class="col-auto">
31
    {{#perpage}}
32
        {{{.}}}
33
    {{/perpage}}
34
</div>
35
<div class="col">
36
    {{#pagingbar}}
37
        {{{.}}}
38
    {{/pagingbar}}
39
</div>
40
<div class="col-auto">
41
    {{#hassubmit}}
42
        <div class="d-flex align-items-center" data-region="quick-grading-save">
43
            <div class="me-4">
44
                <input type="hidden" name="sendstudentnotifications" value="0" {{#sendstudentnotifications}}disabled{{/sendstudentnotifications}}>
45
                <input type="checkbox" id="send-student-notifications-{{uniqid}}" name="sendstudentnotifications" {{#sendstudentnotifications}}checked="checked"{{/sendstudentnotifications}}>
46
                <label for="send-student-notifications-{{uniqid}}" class="m-0">{{#str}} notifystudents, mod_assign {{/str}}</label>
47
            </div>
48
            <button type="submit" class="btn btn-primary">
49
                {{#str}}save{{/str}}
50
            </button>
51
        </div>
52
    {{/hassubmit}}
53
</div>