{# -*- coding: utf-8 -*- This file is part of Invenio. Copyright (C) 2015-2018 CERN. Invenio is free software; you can redistribute it and/or modify it under the terms of the MIT License; see LICENSE file for more details. #} {% extends config.SEARCH_UI_BASE_TEMPLATE %} {%- block css %} {{ super() }} {{ webpack['search_ui_theme.css'] }} {# assets "invenio_search_ui_search_css" %}{% endassets #} {%- endblock css %} {%- block javascript %} {{ super() }} {{ webpack['search_ui_app.js'] }} {# assets "invenio_search_ui_search_js" %}{% endassets #} {%- endblock javascript %} {%- block body_inner %} {%- endblock body_inner %} {%- block page_header %} {% include "invenio_search_ui/header.html" %} {%- endblock page_header %} {%- block page_body %}
{%- block search_body %}
{%- block search_header %}
{%- block search_count %}
{%- endblock search_count %} {%- block search_pagination_top %}
{%- endblock search_pagination_top %} {%- block search_sort %} {%- set sort_options = config.get('RECORDS_REST_SORT_OPTIONS', {}).get(config.SEARCH_UI_SEARCH_INDEX) %} {%- if sort_options %}
{%- block search_sort_select scoped %} Sort by: {%- endblock search_sort_select %} {%- block search_sort_order scoped %} {%- endblock search_sort_order %}
{%- endif %} {%- endblock search_sort %}

{%- endblock search_header %} {%- block search_error %} {%- endblock search_error %} {%- block search_loading %} {%- endblock search_loading %} {%- block search_results %} {%- endblock search_results %} {%- block search_pagination_bottom %}
{%- endblock search_pagination_bottom %}
{%- endblock search_body %} {%- block search_facets %}
{%- block search_range %} {%- endblock search_range %}
{%- endblock search_facets %}
{%- endblock page_body -%}