Current Path : /home/ncdcgo/ele.ncdc.go.ug/grade/templates/ |
Current File : /home/ncdcgo/ele.ncdc.go.ug/grade/templates/manage_outcomes_action_bar.mustache |
{{! This file is part of Moodle - http://moodle.org/ Moodle is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Moodle is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Moodle. If not, see <http://www.gnu.org/licenses/>. }} {{! @template core_grades/manage_outcomes_action_bar Actions bar for the manage outcomes page. Context variables required for this template: * backbutton - The data object containing the required properties to render the 'back' button. * addoutcomebutton - The data object containing the required properties to render the 'add a new outcome' button. * importoutcomesbutton - The data object containing the required properties to render the 'import outcomes' button. * exportoutcomesbutton - The data object containing the required properties to render the 'export outcomes' button. Example context (json): { "backbutton": { "id": "single_button12345", "method" : "get", "classes": "singlebutton", "formid": null, "url" : "#", "primary" : false, "tooltip" : null, "label" : "Back", "attributes": [] }, "addoutcomebutton": { "id": "single_button13245", "method" : "get", "classes": "singlebutton", "formid": null, "url" : "#", "primary" : true, "tooltip" : null, "label" : "Add a new outcome", "attributes": [] }, "importoutcomesbutton": { "id": "single_button14325", "method" : "get", "classes": "singlebutton", "formid": null, "url" : "#", "primary" : false, "tooltip" : null, "label" : "Import outcomes", "attributes": [] }, "exportoutcomesbutton": { "id": "single_button15245", "method" : "get", "classes": "singlebutton", "formid": null, "url" : "#", "primary" : false, "tooltip" : null, "label" : "Export all outcomes", "attributes": [] } } }} <div class="container-fluid tertiary-navigation"> <div class="row"> {{#backbutton}} <div class="navitem"> {{>core/single_button}} </div> {{/backbutton}} {{#addoutcomebutton}} <div class="navitem"> {{>core/single_button}} </div> {{/addoutcomebutton}} <div class="ml-auto d-flex"> {{#importoutcomesbutton}} <div class="navitem"> {{>core/single_button}} </div> {{/importoutcomesbutton}} {{#exportoutcomesbutton}} <div class="navitem"> {{>core/single_button}} </div> {{/exportoutcomesbutton}} </div> </div> </div>