order-statistics.html 838 B

1234567891011121314151617181920212223242526272829
  1. <div class="card">
  2. <div class="card-body">
  3. <div>Total orders</div>
  4. <div class="d-flex align-items-baseline mb-3">
  5. <div class="h1 mb-0 me-2">2,137</div>
  6. <div class="me-auto">{% include ui/trending.html value=7 %}</div>
  7. </div>
  8. {% include ui/progress.html values="40,15,25,15,5" class="mb-4" %}
  9. <ul class="list-unstyled">
  10. {% for item in site.data.orders %}
  11. <li class="row g-2 align-items-center mb-2">
  12. <div class="col-auto"><span class="legend bg-{{ item.color }}"></span></div>
  13. <div class="col">
  14. {{ item.title }}
  15. <div class="fs-6 text-secondary">{{ item.subtitle }}</div>
  16. </div>
  17. <div class="col-auto small text-secondary"><strong class="text-body">{{ forloop.index | random_number: 500, 2000
  18. | intcomma }}</strong> orders
  19. </div>
  20. </li>
  21. {% endfor %}
  22. </ul>
  23. </div>
  24. </div>