side_panel_toggles.html 515 B

123456789101112131415
  1. {% load wagtailadmin_tags %}
  2. {% for panel in side_panels %}
  3. <button type="button"
  4. class="{{ nav_icon_button_classes }} expanded:w-text-primary"
  5. aria-label="{{ panel.toggle_aria_label }}"
  6. data-tippy-content="{{ panel.title }}"
  7. data-tippy-offset="[0,0]"
  8. data-tippy-placement="bottom"
  9. data-side-panel-toggle="{{ panel.name }}"
  10. aria-expanded="false"
  11. >
  12. {% icon name=panel.toggle_icon_name class_name=nav_icon_classes %}
  13. </button>
  14. {% endfor %}