{% extends "results/base.html" %} {% set active_results_page = "entries" %} {% block title %}Results — Entries | SPIKEE{% endblock %} {% block content %}
{# ── Pagination macro — rendered both above and below the cards ── #} {% macro pagination_bar() %} {% if total_pages > 1 %} {% set base_url = '/results/entries?result_file=' ~ ((selected_file or 'combined') | urlencode) ~ (('&custom_search=' ~ (custom_search | urlencode)) if custom_search else '') ~ '&per_page=' ~ per_page %} {% endif %} {% endmacro %} {# ================================================================ FILTER BAR — search input + quick chips in one row ================================================================ #}
{# Search input #}
Clear {{ total }} entr{{ 'y' if total == 1 else 'ies' }} {% if total_pages > 1 %}  — page {{ page }}/{{ total_pages }} {% endif %}
{% if filter_error %} {% endif %} {# ── Quick-add chips ── #}
Quick add: {% for label, token in [ ("Success", "success = true"), ("Failure", "success = false"), ("Guardrail", "guardrail"), ("No Guardrail", "NOT guardrail"), ("Error", "error"), ("No Error", "NOT error"), ] %} {% endfor %} {% for label, token in [ ("plugin", "plugin = "), ("attack", "attack_name = "), ("jailbreak", "jailbreak_type = "), ("instruction", "instruction_type = "), ("lang", "lang = "), ("id", "id = "), ] %} {% endfor %} AND  OR  NOT  ()
{# ── Top pagination ── #} {{ pagination_bar() }} {# ================================================================ BULK FORM — wraps all cards; toolbar + checkboxes inside ================================================================ #} {% if entries %}
{# ── Bulk action toolbar ── #}
Select: 0 selected
Conversations:
Attempt history:
{# ── Entry cards ── #} {% set bulk_form = true %} {% for id, entry in entries.items() %} {% include "partials/_result_card.html" %} {% endfor %}
{% else %}

No entries match your search.

{% if custom_search %} Clear filter {% else %}

No result files found in results/.

{% endif %}
{% endif %} {# ── Bottom pagination ── #} {{ pagination_bar() }}
{% endblock %} {% block scripts %} {% endblock %}