{% import 'flask-admin/adminlte/adminlte.html' as adminlte with context %} {% macro filter_options(btn_class='dropdown-toggle') %} {{ adminlte.filter_dropdown_button() }} {% endmacro %} {% macro export_options(btn_class='dropdown-toggle') %} {{ adminlte.export_dropdown_button() }} {% endmacro %} {# todo: filter_form() #} {% macro filter_form() %}
{% if sort_column is not none %} {% endif %} {% if sort_desc %} {% endif %} {% if search %} {% endif %} {% if page_size != default_page_size %} {% endif %}
{% if active_filters %} {{ _gettext('Reset Filters') }} {% endif %}
{% endmacro %} {% macro search_form(input_class="col-md-2") %} {{ adminlte.search_form(input_class) }} {% endmacro %} {# todo: page_size_form() #} {% macro page_size_form(generator, btn_class='dropdown-toggle') %} {{ page_size }} {{ _gettext('items') }} {% endmacro %}