flask-server/kinolist/templates/pages/manage.html

32 lines
895 B
HTML
Raw Permalink Normal View History

2024-10-08 13:20:00 -04:00
{% extends 'base.html' %}
{% block header %}
<h2>{% block title%}Home{% endblock title %}</h2>
{% endblock header %}
{% block navigation %}
<li><a href="{{ url_for('pages.logout') }}">Logout</a></li>
{% endblock navigation %}
{% block content %}
<div class="new-entry">
<fieldset>
<legend>Select a type of new entry:</legend>
<select name="choice" id="choice">
<option value="title">Title</option>
<option value="imdbid">ImdbID</option>
<option value="blank">Blank entry</option>
</select>
<input class="large-input" id="input-text" type="text">
</fieldset>
<button id="newEntry" onclick="newEntry()">New entry</button>
</div>
<input id="upload" type="file" accept="image/png, image/jpeg" onchange="newFile(this)" hidden>
{% include('_movies.html') %}
{% endblock content %}
{% block script %}
{% include('pages/manage.js') %}
{% endblock script %}