backend / templates /index.html
dschandra's picture
Create index.html
2621741 verified
raw
history blame contribute delete
628 Bytes
<!-- templates/index.html -->
{% extends "base.html" %}
{% block title %}Home{% endblock %}
{% block content %}
<section class="upload-section">
<h2>Upload Match Video</h2>
<form action="/upload" method="post" enctype="multipart/form-data">
<label for="player_name">Player Name:</label>
<input type="text" id="player_name" name="player_name" required>
<label for="file">Select Video:</label>
<input type="file" id="file" name="file" accept="video/*" required>
<button type="submit">Analyze DRS</button>
</form>
</section>
{% endblock %}