tracking.html 726 B

1234567891011121314
  1. {% assign blocks = include.blocks | default: 30 %}
  2. <div class="tracking{% if include.squares %} tracking-squares{% endif %}">
  3. {% for i in (1..blocks) %}
  4. {% if i == 5 or i == 18 %}
  5. <div class="tracking-block bg-danger" data-bs-toggle="tooltip" data-bs-placement="top" title="Downtime"></div>
  6. {% elsif i == 22 or i == 23 %}
  7. <div class="tracking-block" data-bs-toggle="tooltip" data-bs-placement="top" title="No data"></div>
  8. {% elsif i == 14 %}
  9. <div class="tracking-block bg-warning" data-bs-toggle="tooltip" data-bs-placement="top" title="Big load"></div>
  10. {% else %}
  11. <div class="tracking-block bg-success" data-bs-toggle="tooltip" data-bs-placement="top" title="Operational"></div>
  12. {% endif %}
  13. {% endfor %}
  14. </div>