Licitator 1.0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
1.0 KiB

5 years ago
  1. {% block stat %}
  2. <div class="col-md-5 " style="background-color: #fff;margin:5px;width: 500px;">
  3. <div class="card card-body h-100 flex-fill info-box" >
  4. {% if stat.valor < 100 and '%' in stat.text %}
  5. <span class="info-box-icon" style="width:25%;font-size: xx-large !important;">{{stat.valor|number_format(0)}}%</span>
  6. {% else %}
  7. <span class="info-box-icon" style="width:25%;font-size: xx-large !important;">{{stat.valor}}</span>
  8. {% endif %}
  9. <div class="info-box-content" style="text-align: center; background-color: #fff;">
  10. <span class="info-box-number" >{{stat.text|trans({})}}</span>
  11. <!-- The progress section is optional -->
  12. {% if stat.valor < 100 and '%' in stat.text %}
  13. <div class="progress">
  14. <div class="progress-bar" style="width:{{stat.valor|number_format(0)}}%"></div>
  15. </div>
  16. {% endif %}
  17. </div><!-- /.info-box-content -->
  18. </p>
  19. </div>
  20. </div>
  21. {% endblock %}