20a2d43b74
Also added a nice and shiny search field in the template.
26 lines
548 B
HTML
26 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 %}
|