moodle/grade/templates/export_publish_action_bar.mustache

47 lines
1.6 KiB
Plaintext

{{!
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/export_publish_action_bar
Actions bar for the gradebook publish export page.
Context variables required for this template:
* backbutton - The data object containing the required properties to render the 'back' button.
Example context (json):
{
"backbutton": {
"id": "single_button12345",
"method" : "get",
"classes": "singlebutton",
"formid": null,
"url" : "#",
"primary" : false,
"tooltip" : null,
"label" : "Back",
"attributes": []
}
}
}}
<div class="container-fluid tertiary-navigation full-width-bottom-border">
<div class="row">
{{#backbutton}}
<div class="navitem">
{{>core/single_button}}
</div>
<div class="navitem-divider"></div>
{{/backbutton}}
</div>
</div>