what2watch/templates/get_add_new_watch.html
2023-06-19 16:54:28 -07:00

54 lines
1.7 KiB
HTML

{% extends "base.html" %}
{% import "macros.html" as m %}
{% block title %}Welcome to Witch Watch, Bish{% endblock %}
{% block content %}
<h1>Add something to watch!</h1>
{% if user.is_some() %}
<div class="add-watch">
<form action="/add" enctype="application/x-www-form-urlencoded" method="post">
<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">Unknown</option>
<option value="Movie">Movie</option>
<option value="Series">Series</option>
<option value="LimitedSeries">Limited Series</option>
<option value="Short">Short</option>
<option value="Other">Other</option>
</select>
<label for="is-private">Private to you (default is public)?</label>
<input type="checkbox" name="private" id="is-private" value="true"></br>
<label for="is-watched">Have you already watched this?</label>
<input type="checkbox" name="watched_already" id="is-watched" value="true" default="false"></br>
<label for="md-url">Metadata URL (TMDB, OMDB, IMDb, etc.)</label>
<input type="text" name="metadata_url" id="md-url"></br>
<input type="submit" value="Let's go!">
</form>
</div>
{% else %}
<div class="add-watch">
<span class="not-logged-in">Oh dang, you need to <a href="/login">login</a> or <a href="/signup">signup</a> to add something to watch!</span>
</div>
{% endif %}
{% endblock %}