dropdown-menu-all.html 1.5 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <div class="dropdown-menu{% if include.show %} dropdown-menu-demo{% endif %}">
  2. <h6 class="dropdown-header">Dropdown header</h6>
  3. <a href="#" class="dropdown-item">{% include ui/icon.html icon="activity" class="dropdown-item-icon" %} Item 1</a>
  4. <a href="#" class="dropdown-item">{% include ui/icon.html icon="edit" class="dropdown-item-icon" %} Item 2</a>
  5. <div class="dropdown-item">
  6. <a href="#" class="text-reset">My profile</a>
  7. <label class="form-check m-0 ms-auto">
  8. <input type="checkbox" class="form-check-input">
  9. Public
  10. </label>
  11. </div>
  12. <label class="dropdown-item"><input class="form-check-input m-0 me-2" type="radio"> Radio input</label>
  13. <label class="dropdown-item"><input class="form-check-input m-0 me-2" type="checkbox"> Checkbox input</label>
  14. <label class="dropdown-item form-switch"><input class="form-check-input m-0 me-2" type="checkbox"> Checkbox input</label>
  15. <div class="dropdown-divider"></div>
  16. <a href="#" class="dropdown-item">Dropdown item 1</a>
  17. <a href="#" class="dropdown-item">Dropdown item 2</a>
  18. <a href="#" class="dropdown-item disabled">Dropdown disabled</a>
  19. <a href="#" class="dropdown-item active">Dropdown active</a>
  20. <div class="dropdown-divider"></div>
  21. {% for person in site.data.people limit: 3 %}
  22. <a href="#" class="dropdown-item">{% include ui/avatar.html person-id=person.id class="rounded me-2" size="xs" %} {{ person.full_name }}</a>
  23. {% endfor %}
  24. <div class="dropdown-divider"></div>
  25. <a href="#" class="dropdown-item">{% include ui/icon.html icon="logout" class="dropdown-item-icon" %} Logout</a>
  26. </div>