users.html 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. ---
  2. layout: default
  3. title: Users list
  4. page-header: Users
  5. page-header-actions: users
  6. page-header-description: 1-18 of 413 people
  7. menu: extra.users
  8. ---
  9. <div class="row row-cards">
  10. {% for person in site.data.people limit: 18 %}
  11. {% assign progress = forloop.index | random_number: 4, 95 %}
  12. {% assign online_counter = forloop.index | random_number: 1, 10 %}
  13. <div class="col-md-6 col-lg-3">
  14. <div class="card">
  15. <div class="card-body p-4 text-center">
  16. {% include ui/avatar.html size="xl" rounded=true person=person class="mb-3" %}
  17. <h3 class="m-0 mb-1"><a href="#">{{ person.full_name }}</a></h3>
  18. <div class="text-secondary">{{ person.job_title }}</div>
  19. <div class="mt-3">
  20. {% if forloop.index == 1 %}
  21. <span class="badge bg-purple-lt">Owner</span>
  22. {% elsif forloop.index < 5 %}
  23. <span class="badge bg-green-lt">Admin</span>
  24. {% endif %}
  25. </div>
  26. </div>
  27. <div class="d-flex">
  28. <a href="#" class="card-btn">{% include ui/icon.html icon="mail" color="muted" class="me-2" %} Email</a>
  29. <a href="#" class="card-btn">{% include ui/icon.html icon="phone" color="muted" class="me-2" %} Call</a>
  30. </div>
  31. </div>
  32. </div>
  33. {% endfor %}
  34. </div>
  35. <div class="d-flex mt-4">
  36. {% include ui/pagination.html class="ms-auto" %}
  37. </div>