2023-06-15 05:11:43 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% import "macros.html" as m %}
|
|
|
|
|
2024-04-12 05:15:09 +00:00
|
|
|
{% block title %}Welcome to What 2 Watch, Buddy{% endblock %}
|
2023-06-15 05:11:43 +00:00
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
<h1>Whatcha Watchin?</h1>
|
2024-04-12 05:15:09 +00:00
|
|
|
|
|
|
|
<div class="fullsearch">
|
|
|
|
<form action="/search" enctype="application/x-www-form-urlencoded" method="get">
|
|
|
|
<h2>Search</h2>
|
|
|
|
|
|
|
|
<label for="title">Title</label>
|
|
|
|
<input type="text" name="title" id="title-search"></br>
|
|
|
|
|
|
|
|
<label for="year">Release Year</label>
|
|
|
|
<input type="text" name="year" id="title-year-search"></br>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
<label for="person">Person</label>
|
|
|
|
<input type="text" name="person" id="person-search"></br>
|
|
|
|
|
|
|
|
<input type="submit" value="Let's go!">
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<hr />
|
|
|
|
|
2023-06-15 05:11:43 +00:00
|
|
|
<div class="watchlist">
|
2023-12-31 00:59:27 +00:00
|
|
|
<table>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Title</th>
|
2024-01-16 00:37:38 +00:00
|
|
|
<th>Link</th>
|
2023-12-31 00:59:27 +00:00
|
|
|
<th>Type</th>
|
|
|
|
<th>Year</th>
|
2024-01-02 06:44:29 +00:00
|
|
|
<th>Watching?</th>
|
2023-12-31 00:59:27 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2024-02-10 00:56:05 +00:00
|
|
|
{% for res in results %}
|
2023-12-31 00:59:27 +00:00
|
|
|
{% include "watch-search-result.html" %}
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2023-06-18 19:03:10 +00:00
|
|
|
</div>
|
2023-06-15 05:11:43 +00:00
|
|
|
|
|
|
|
{% endblock %}
|