users.html 1.2 KB

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