what2watch/templates/watch-search-result.html

20 lines
677 B
HTML
Raw Normal View History

2024-02-10 00:56:05 +00:00
<tr id="watchlist-item-{{res.id}}">
<td><span class="watchtitle"><a href="/watch/{{res.id}}">{{res.title}}</a></span></td>
2024-01-16 00:37:38 +00:00
<td><span>
2024-02-10 00:56:05 +00:00
{% match res.metadata_url %}
2024-01-16 00:37:38 +00:00
{% when Some with (mdurl) %}
<a href="{{ mdurl }}">{{ mdurl }}</a>
{% when None %}
{% endmatch %}
</span>
</td>
2024-02-10 00:56:05 +00:00
<td>{{res.kind}}</td>
<td> {% call m::get_or_default(res.release_date, "when??") -%}</td>
<td>
2024-02-10 00:56:05 +00:00
<span id="add-watch-{{res.id}}">
<span hx-get="/watch/status/{{res.id}}" hx-target="this" hx-trigger="load, reveal"
hx-swap="outerHTML">???</span>
2024-01-01 20:19:04 +00:00
</span>
</td>
2023-12-31 00:59:27 +00:00
</tr>