Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
{{!This file is part of Moodle - http://moodle.org/Moodle is free software: you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe 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 ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with Moodle. If not, see <http://www.gnu.org/licenses/>.}}{{!@template theme_universe/progress-chart from block_myoverview in M3.5.This template renders a doughnut chart to show course progress.Example context (json):{"progress": "60"}}}<div class="course-progressbar-wrapper"><div class="d-inline-flex align-items-center justify-content-between w-100"><span class="rui-progress-count--text">{{#str}} completed, completion {{/str}} {{progress}}%</span><div class="rui-progress-count rui-progress-count--text"><span class="rui-progress-count-completed">{{progresscountc}}</span><span class="rui-progress-count-total"> / {{progresscounttotal}}</span></div></div><div class="w-100"><div class="progressbar-container w-100"><span id="{{id}}_status"></span><div class="rui-progress rui-progress--value-{{progress}}"><div id="{{id}}_bar" class="rui-progress-bar" role="progressbar" aria-valuenow="{{progress}}" aria-valuemin="0" aria-valuemax="100" style="width: {{progress}}%;" title="{{progress}}%" data-toggle="tooltip"></div></div></div></div></div>