2023-06-15 05:11:43 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% import "macros.html" as m %}
|
|
|
|
|
2023-07-09 04:26:28 +00:00
|
|
|
{% block title %}Welcome to What 2 Watch, Bish{% endblock %}
|
2023-06-15 05:11:43 +00:00
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
<h1>Whatcha Watchin?</h1>
|
|
|
|
<div class="watchlist">
|
2023-12-31 00:59:27 +00:00
|
|
|
<table>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Title</th>
|
|
|
|
<th>Type</th>
|
|
|
|
<th>Year</th>
|
2024-01-01 20:19:04 +00:00
|
|
|
<th>Public watchlist?</th>
|
2023-12-31 00:59:27 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for watch in watches %}
|
|
|
|
{% include "watch-search-result.html" %}
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2023-12-31 05:54:15 +00:00
|
|
|
<hr />
|
2023-06-15 05:11:43 +00:00
|
|
|
</div>
|
2023-12-31 00:59:27 +00:00
|
|
|
|
2023-06-18 19:03:10 +00:00
|
|
|
<h2>Simple Search</h2>
|
|
|
|
<div class="simplesearch">
|
2023-06-15 05:11:43 +00:00
|
|
|
<form action="/search" enctype="application/x-www-form-urlencoded" method="get">
|
|
|
|
<label for="search">Looking for something else to watch?</label>
|
|
|
|
<input type="text" name="search" id="search"></br>
|
2023-06-18 19:03:10 +00:00
|
|
|
<input type="submit" value="Let's go!">
|
|
|
|
</div>
|
2023-12-31 00:59:27 +00:00
|
|
|
|
2023-06-18 19:03:10 +00:00
|
|
|
<h2>Fussy Search</h2>
|
|
|
|
<div class="fullsearch">
|
2023-12-30 20:18:08 +00:00
|
|
|
<label for="title">Title</label>
|
|
|
|
<input type="text" name="title" id="title"></br>
|
|
|
|
|
|
|
|
<label for="year">Release Year</label>
|
|
|
|
<input type="text" name="year" id="year"></br>
|
|
|
|
|
|
|
|
<label for="kind">Type</label>
|
|
|
|
<select id="kind" name="kind">
|
|
|
|
<option value="">Unknown</option>
|
|
|
|
<option value="0">Movie</option>
|
|
|
|
<option value="1">Series</option>
|
|
|
|
<option value="2">Limited Series</option>
|
|
|
|
<option value="3">Short</option>
|
|
|
|
<option value="4">Other</option>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<input type="submit" value="Let's go!">
|
2023-06-15 05:11:43 +00:00
|
|
|
</form>
|
2023-06-18 19:03:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
</div>
|
2023-06-15 05:11:43 +00:00
|
|
|
|
|
|
|
{% endblock %}
|