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: zero_state.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/zero_state Form containing all database presets displayed within a table. Context variables required for this template: * noitemsimgurl - The image url. * importpresetbutton stdClass - Import preset single button to be rendered * createfieldbutton stdClass - Create a field action menu to be rendered * usepresetbutton stdClass - Use a preset single button to be rendered Example context (json): { "noitemsimgurl": "https://moodlesite/theme/image.php/boost/mod_data/1535727318/nofields", "title": "Title", "importpresetbutton": { "id" : "id1", "method" : "get", "url" : "#", "primary" : false, "tooltip" : "This is a tooltip", "label" : "Button1", "attributes": [ { "name": "data-attribute", "value": "no" } ] }, "createfieldbutton": { "id" : "id2", "method" : "get", "url" : "#", "primary" : true, "tooltip" : "This is a tooltip", "label" : "Button2", "attributes": [ { "name": "data-attribute", "value": "yeah" } ] }, "usepresetbutton": { "id" : "id3", "method" : "get", "url" : "#", "primary" : false, "tooltip" : "This is a tooltip", "label" : "Button3", "attributes": [ { "name": "data-attribute", "value": "perhaps" } ] } } }} <div class="text-xs-center text-center mt-4" data-region="empty-message"> <img src="{{noitemsimgurl}}" alt="{{{ title }}}" role="presentation" style="height: 70px; width: 70px;" > <h5 class="h5 mt-3 mb-0">{{{ title }}}</h5> {{#intro}} <p class="mt-3 mb-0">{{{ intro }}}</p> {{/intro}} <div class="mt-5 mb-0 whitebutton" id="action_bar"> {{#createfieldbutton}} {{>core/action_menu}} {{/createfieldbutton}} {{#importpresetbutton}} {{>core/single_button}} {{/importpresetbutton}} {{#usepresetbutton}} {{>core/single_button}} {{/usepresetbutton}} </div> {{#js}} require(['mod_data/importpresets'], function(importPresetsModal) { importPresetsModal.init(); }); {{/js}} </div>
Upload File
Create Folder