2021-01-19 16:13:08 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block title %}{{ search_term }} - {{ domain }}{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2021-01-23 15:20:10 +01:00
|
|
|
<p>{{ results.total }} results</p>
|
2021-01-19 16:13:08 +01:00
|
|
|
|
|
|
|
<table>
|
2021-01-23 15:20:10 +01:00
|
|
|
{% for result in results.data %}
|
2021-01-19 16:13:08 +01:00
|
|
|
<tr>
|
|
|
|
<td>
|
2021-01-21 12:20:39 +01:00
|
|
|
<a href="/{{ domain }}/videos/watch/{{ result.uuid }}">
|
2021-01-23 15:40:54 +01:00
|
|
|
<img src="https://{{ domain }}{{ result.thumbnailPath }}" height="150"/>
|
2021-01-19 16:13:08 +01:00
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
<td>
|
2021-01-21 23:26:31 +01:00
|
|
|
<a href="/{{ domain }}/videos/watch/{{ result.uuid }}">{{ result.name }}</a>
|
2021-01-19 16:13:08 +01:00
|
|
|
<br>
|
|
|
|
{{ result.views }} Views
|
|
|
|
<br>
|
2021-01-21 23:26:31 +01:00
|
|
|
<a href="/{{ domain }}/accounts/{{ result.channel.name }}@{{ result.channel.host }}">
|
|
|
|
<b>{{ result.channel.displayName }}</b>
|
|
|
|
</a>
|
|
|
|
<br>
|
|
|
|
<a href="/{{ domain }}/accounts/{{ result.account.name }}@{{ result.account.host }}">
|
|
|
|
{{ result.account.name }}@{{ result.account.host }}
|
|
|
|
</a>
|
2021-01-19 16:13:08 +01:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
{% endblock %}
|