course_summary.html.twig 629 B

12345678910111213141516171819202122232425262728
  1. {% extends "@ChamiloTheme/Layout/layout_one_col.html.twig" %}
  2. {% block content %}
  3. {% autoescape false %}
  4. <div class="summary-legend">
  5. {{ table }}
  6. </div>
  7. <script>
  8. $(function() {
  9. $('.easypiechart-blue').easyPieChart({
  10. scaleColor: false,
  11. barColor: '#30a5ff',
  12. lineWidth:8,
  13. trackColor: '#f2f2f2'
  14. });
  15. });
  16. $(function() {
  17. $('.easypiechart-red').easyPieChart({
  18. scaleColor: false,
  19. barColor: '#f9243f',
  20. lineWidth:8,
  21. trackColor: '#f2f2f2'
  22. });
  23. });
  24. </script>
  25. {% endautoescape %}
  26. {% endblock %}