{% import "header.html" as header %} {% import "cards.html" as cards %} {% import "clipboard_tray.html" as clipboard_tray %} Search {% if theme %}{% endif %} {% macro prev_next_buttons() %} {% if prev_page_url or next_page_url %}
{% if prev_page_url %} Previous {% else %}
{% endif %} {% if next_page_url %} Next {% else %}
{% endif %}
{% endif %} {% endmacro %} {% macro create_orderby_li(selected_column, selected_sorter) %}
  • {% endmacro %} {{header.make_header(session=session)}}
    {% for tagtype in ["musts", "mays", "forbids"] %}
    Tag {{tagtype}}:
      {% set key="tag_" + tagtype %} {% if search_kwargs[key] %} {% for tag in search_kwargs[key] %}
    • {{cards.create_tag_card(tag, link='info', with_alt_description=True)}}
    • {% endfor %} {% endif %}
    {% endfor %}
    Tag Expression:
    Order by
      {% if "orderby" in search_kwargs and search_kwargs["orderby"] %} {% for orderby in search_kwargs["orderby"] %} {% set column, sorter=orderby.split("-") %} {{ create_orderby_li(selected_column=column, selected_sorter=sorter) }} {% endfor %} {% else %} {{ create_orderby_li(selected_column=0, selected_sorter=0) }} {% endif %}

    Min-max values
    Other filters
    {% if total_tags %}

    Tags on this page:

      {% for tag in total_tags %}
    • {{cards.create_tag_card( tag, link=None, onclick="return tags_on_this_page_add_must(event, '" + tag.name + "');", innertext="(+)", )}} {{cards.create_tag_card( tag, link=None, onclick="return tags_on_this_page_add_may(event, '" + tag.name + "');", innertext="(~)", )}} {{cards.create_tag_card( tag, link=None, onclick="return tags_on_this_page_add_forbid(event, '" + tag.name + "');", innertext="(x)", )}} {{cards.create_tag_card( tag, link="info", with_alt_description=True, )}}
    • {% endfor %}
    {% endif %}
    {{clipboard_tray.clipboard_tray()}}