15 行
694B

  1. {% macro infoboxprogressbar(title, number, color, icon, percentage, description) %}
  2. <div class="info-box bg-{{ color }}">
  3. <span class="info-box-icon"><i class="{{ icon }}"></i></span>
  4. <div class="info-box-content">
  5. <span class="info-box-text">{{ title }}</span>
  6. <span class="info-box-number">{{ number }}</span>
  7. <!-- The progress section is optional -->
  8. <div class="progress">
  9. <div class="progress-bar" style="width: {{ percentage }}%"></div>
  10. </div>
  11. <span class="progress-description">{{ description }}</span>
  12. </div>
  13. <!-- /.info-box-content -->
  14. </div>
  15. {% endmacro %}