mirror of
https://git.sr.ht/~metalune/simpleweb_peertube
synced 2024-12-23 00:11:04 +01:00
20a2d43b74
Also added a nice and shiny search field in the template.
27 lines
548 B
HTML
27 lines
548 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}{{ search_term }} - {{ domain }}{% endblock %}
|
|
|
|
{% block content %}
|
|
<p>{{ amount }} results</p>
|
|
|
|
<table>
|
|
{% for result in results %}
|
|
<tr>
|
|
<td>
|
|
<a href="/{{ domain }}/watch/{{ result.uuid }}">
|
|
<img src="https://{{ domain }}/{{ result.thumbnailPath }}" height="150"/>
|
|
</a>
|
|
</td>
|
|
<td>
|
|
<a href="/{{ domain }}/watch/{{ result.uuid }}">{{ result.name }}</a>
|
|
<br>
|
|
{{ result.views }} Views
|
|
<br>
|
|
<b>{{ result.channel.displayName }}</b>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
{% endblock %}
|