Proyectos de Subversion Moodle

Rev

Autoría | Ultima modificación | Ver Log |

{{!
    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/local/process_monitor/monitor

    Template to render the global reactive debug panel.

    Classes required for JS:
    * none

    Data attributes required for JS:
    * none

    Example context (json):
    {
        "title": "Some title"
    }
}}
<div
    id="process-monitor-{{uniqid}}"
    class="popover-process-monitor d-none shadow"
>
    <div class="modal-header " data-region="header">
        <h5 class="modal-title" data-region="title">
            {{#title}} {{title}} {{/title}}
            {{^title}} {{#str}} progress, core {{/str}} {{/title}}
        </h5>
        <button
            type="button"
            class="close"
            data-action="hide"
            aria-label="{{#str}}closebuttontitle, core{{/str}}"
        >
            <span aria-hidden="true">×</span>
        </button>
    </div>
    <div data-for="process-list" class="process-list"></div>
</div>
{{#js}}
require(['core/local/process_monitor/monitor'], function(component) {
    component.init('#process-monitor-{{uniqid}}');
});
{{/js}}