{% extends BASE %} {% block bodyclass %}dashboard{% endblock %} {% comment %} ########################################################################### # # # Copyright (c) 2011 - Idiap Research Institute # # http://www.idiap.ch/ # # # # See file COPYING for the license associated to this software # # # ########################################################################### {% endcomment %} {% block extrahead %} {# #} {# #} {% endblock %} {% block content %}
{% if qt %} {% ifequal qs.iteration 0 %}

Search for - {{ qt.query }}

{% else %}

Search for - {{ qt.query }}

{% endifequal %}

{% trans 'Click on the image you consider the most similar to the retrieval objective' %}

{% else %}

{% trans 'Search images through relevance feedback' %}

{% trans 'Click on the image you consider the most similar to your retrieval objective' %}

{#   #} {% endif %}
{% if qa %} {# display the items for relevance feedback #} {% if qa.answers %}

FDBK LIST

{# navigation through the items #} Size: {{ qa.nb_answers }}. On page, from {{ qa.index_from }}. << / >>
{% for answer in qa.answers %} {% if forloop.counter|divisibleby:"3" %} {% endif %} {% if forloop.last %} {% endif %} {% endfor %}
{% for image in answer.images %} {% if user.is_authenticated and user.is_staff %}

{{ image.improb }}

{% else %} {% endif %} {% endfor %}
{% ifequal active_mode 'search' %}
{% endifequal %} {% ifequal active_mode 'test' %}
{% endifequal %} {% ifequal active_mode 'train' %}
{% endifequal %}
{% endif %}
{# display the top ranked items in order #} {% if qa.answers2 %}

RANK LIST

{# navigation through the items #} Size: {{ qa.nb_answers2 }}. On page, from {{ qa.index_from2 }}. << / >>
{% for answer in qa.answers2 %} {% if forloop.counter|divisibleby:"3" %} {% endif %} {% endfor %}
{% for image in answer.images %}

{{ image.improb }}

{% endfor %}
{% endif %}
{# display the trace plots #} {% if qa.answers5 %}

TRACE EXPAND/COLLAPSE

{# navigation through the trace plots #} Size: {{ qa.nb_answers5 }}. On page, from {{ qa.index_from5 }}. << / >>
{% for answer in qa.answers5 %} {% if forloop.counter|divisibleby:"2" %} {% endif %} {% endfor %}

{{ answer.action }}: {{ answer.index}}, trace size {{ answer.trlen }}

{% endif %} {% else %}

No results were found.

{% endif %} {% endblock %}