SimpleerTube/templates/search_results.html

35 lines
1 KiB
HTML
Raw Normal View History

{% extends "base.html" %}
{% block title %}{{ search_term }} - {{ domain }}{% endblock %}
{% block content %}
2021-01-23 14:20:10 +00:00
<p>{{ results.total }} results</p>
2021-07-17 22:52:53 +00:00
<hr>
2021-07-17 22:10:24 +00:00
<div id="wrap">
{% for result in results.data %}
<div class="result-wrapper">
<a href="/{{ domain }}/videos/watch/{{ result.uuid }}">
<img src="https://{{ domain }}{{ result.thumbnailPath }}" height="150"/>
</a>
<div class="result-info">
<a href="/{{ domain }}/videos/watch/{{ result.uuid }}">{{ result.name }}</a>
<br>
{{ result.views }} Views
<br>
<a href="/{{ domain }}/video-channels/{{ result.channel.name }}@{{ result.channel.host }}">
2021-07-17 22:10:24 +00:00
<b>{{ result.channel.displayName }}</b>
</a>
<br>
<a href="/{{ domain }}/accounts/{{ result.account.name }}@{{ result.account.host }}">
{{ result.account.name }}@{{ result.account.host }}
</a>
</div>
</div>
{% endfor %}
</div>
2021-07-17 22:52:53 +00:00
<hr>
2021-07-17 22:10:24 +00:00
{% endblock %}