searxngRebrandZaclys/searx/templates/simple/result_templates/videos.html

25 lines
1.0 KiB
HTML
Raw Normal View History

{% from 'simple/macros.html' import result_header, result_sub_header, result_sub_footer, result_footer, result_footer_rtl with context %}
2017-02-12 14:06:01 +00:00
{{ result_header(result, favicons, image_proxify) }}
{{ result_sub_header(result) }}
{% if result.data_src -%}
2017-02-12 14:06:01 +00:00
<p class="altlink"> &bull; <a class="btn-collapse collapsed media-loader disabled_if_nojs" data-target="#result-video-{{ index }}" data-btn-text-collapsed="{{ _('show video') }}" data-btn-text-not-collapsed="{{ _('hide video') }}">{{ icon('film-outline') }} {{ _('show video') }}</a></p>
{%- endif %}
{%- if result.content %}
<p class="content">
{{ result.content|safe }}
</p>
{%- else %}
<p class="content empty_element">
{{ _('This site did not provide any description.')|safe }}
</p>
{% endif -%}
</p>
2017-02-12 14:06:01 +00:00
{{- result_sub_footer(result, proxify) -}}
{% if result.data_src -%}
<div id="result-video-{{ index }}" class="embedded-video invisible">
<iframe data-src="{{result.data_src}}" frameborder="0" allowfullscreen></iframe>
2017-02-12 14:06:01 +00:00
</div>
{%- endif %}
{{ result_footer(result) }}