1
0
mirror of https://git.sr.ht/~metalune/simpleweb_peertube synced 2024-12-23 04:18:04 +01:00
SimpleerTube_peertube_minim.../templates/search_results.html

33 lines
847 B
HTML
Raw Normal View History

{% extends "base.html" %}
{% block title %}{{ search_term }} - {{ domain }}{% endblock %}
{% block content %}
2021-01-23 15:20:10 +01:00
<p>{{ results.total }} results</p>
<table>
2021-01-23 15:20:10 +01:00
{% for result in results.data %}
<tr>
<td>
<a href="/{{ domain }}/videos/watch/{{ result.uuid }}">
<img src="https://{{ domain }}{{ result.thumbnailPath }}" height="150"/>
</a>
</td>
<td>
<a href="/{{ domain }}/videos/watch/{{ result.uuid }}">{{ result.name }}</a>
<br>
{{ result.views }} Views
<br>
<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>
</td>
</tr>
{% endfor %}
</table>
{% endblock %}