[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
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_actions 19 20 Actions panel at the bottom of the assignment grading UI. 21 22 Classes required for JS: 23 * none 24 25 Data attributes required for JS: 26 * data-region 27 28 Context variables required for this template: 29 * see mod/assign/classes/output/grading_app.php 30 31 Example context (json): 32 This template is initially hidden, and is only displayed after the current user info has been loaded. 33 }} 34 <form data-region="grading-actions-form" class="hide"> 35 <label>{{#str}}sendstudentnotifications, mod_assign{{/str}} 36 <input type="checkbox" name="sendstudentnotifications" 37 {{#defaultsendnotifications}}checked="checked"{{/defaultsendnotifications}} /> 38 </label> 39 <button type="submit" class="btn btn-primary" name="savechanges">{{#str}}savechanges{{/str}}</button> 40 <button type="submit" class="btn" name="resetbutton">{{#str}}reset{{/str}}</button> 41 </form> 42 {{#showreview}} 43 <div class="btn-toolbar collapse-buttons"> 44 <div class="btn-group"> 45 <button class="btn collapse-review-panel">{{#pix}} layout-expand-right, mod_assign, {{#str}} collapsereviewpanel, mod_assign {{/str}} {{/pix}}</button> 46 <button class="btn collapse-none active">{{#pix}} layout-default, mod_assign, {{#str}} defaultlayout, mod_assign {{/str}} {{/pix}}</button> 47 <button class="btn collapse-grade-panel">{{#pix}} layout-expand-left, mod_assign, {{#str}} collapsegradepanel, mod_assign {{/str}} {{/pix}}</button> 48 </div> 49 </div> 50 {{/showreview}} 51 {{#js}} 52 require(['mod_assign/grading_actions'], function(GradingActions) { 53 new GradingActions('[data-region="grade-actions"]'); 54 }); 55 {{/js}}
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |