X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/mod/data/templates
home
/
cbholdings
/
pasukulu
/
mod
/
data
/
templates
/
📁
..
📄
action_bar.mustache
(4.09 KB)
📄
defaulttemplate_addtemplate.mustache
(1.58 KB)
📄
defaulttemplate_asearchtemplate.mustache
(2.05 KB)
📄
defaulttemplate_listtemplate.mustache
(2.61 KB)
📄
defaulttemplate_rsstemplate.mustache
(1.48 KB)
📄
defaulttemplate_singletemplate.mustache
(2.67 KB)
📄
fields_action_bar.mustache
(2.87 KB)
📄
fields_footer.mustache
(1.13 KB)
📄
fields_mapping_body.mustache
(1.7 KB)
📄
fields_mapping_footer.mustache
(1.24 KB)
📄
fields_otherfields.mustache
(1.19 KB)
📄
preset_preview.mustache
(1.86 KB)
📄
presets.mustache
(4.03 KB)
📄
presets_action_bar.mustache
(2.64 KB)
📄
save_as_preset.mustache
(1.28 KB)
📄
template_editor.mustache
(4 KB)
📄
template_editor_resetmodal.mustache
(1.15 KB)
📄
template_editor_tools.mustache
(4.63 KB)
📄
templates_action_bar.mustache
(3.46 KB)
📄
view_action_bar.mustache
(3.55 KB)
📄
view_footer.mustache
(1.55 KB)
📄
view_noentries.mustache
(2.49 KB)
📄
zero_state.mustache
(3.23 KB)
Editing: presets_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 mod_data/presets_action_bar Actions bar at the top of the presets page in the database activity. Context variables required for this template: * actionsselect - The presets actions selector. * id - The database course module id (cmid). Example context (json): { "actionsselect": { "classes": "moodle-actionmenu", "instance": "1", "triggerrole": "button", "primary": { "attributes": [ {"name": "id", "value": "action-menu-1"}, {"name": "role", "value": "menu"} ], "items": [ { "attributes": [ {"name": "role", "value": "menuitem"} ], "rawhtml": "Actions" } ] }, "secondary": { "attributes": [ {"name": "id", "value": "action-menu-1-menu"}, {"name": "role", "value": "menuitem"} ], "items": [ { "rawhtml": "Import preset" }, { "rawhtml": "Export preset" } ] } }, "id" : 1 } }} <div class="container-fluid tertiary-navigation"> <div class="row"> <div class="col"> <h2>{{#str}}presets, mod_data{{/str}}</h2> </div> <div class="col-auto"> {{#actionsselect}} <div class='navitem mb-0 presetsactions'> {{>core/action_menu}} </div> {{/actionsselect}} </div> </div> </div> <hr/> {{#js}} require(['mod_data/saveaspreset', 'mod_data/importpresets'], (saveAsPreset, importPresets) => { saveAsPreset.init(); importPresets.init(); }); {{/js}}
Upload File
Create Folder