mirror of
https://codeberg.org/SimpleWeb/SimpleerTube.git
synced 2024-11-14 21:23:16 +00: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 %}
|