mirror of
https://git.sr.ht/~metalune/simpleweb_peertube
synced 2024-12-22 14:24:41 +01:00
35 lines
1.0 KiB
HTML
35 lines
1.0 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}{{ search_term }} - {{ domain }}{% endblock %}
|
|
|
|
{% block content %}
|
|
<p>{{ results.total }} results</p>
|
|
|
|
<hr>
|
|
<div id="wrap">
|
|
{% for result in results.data %}
|
|
<div class="result-wrapper">
|
|
<a href="/{{ domain }}/videos/watch/{{ result.uuid }}">
|
|
<img src="https://{{ domain }}{{ result.thumbnailPath }}" height="150"/>
|
|
</a>
|
|
|
|
<div class="result-info">
|
|
<a href="/{{ domain }}/videos/watch/{{ result.uuid }}">{{ result.name }}</a>
|
|
<br>
|
|
{{ result.views }} Views
|
|
<br>
|
|
<a href="/{{ domain }}/video-channels/{{ 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>
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
<hr>
|
|
|
|
{% endblock %}
|