dschandra commited on
Commit
2621741
·
verified ·
1 Parent(s): f87f5b1

Create index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +15 -0
templates/index.html ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!-- templates/index.html -->
2
+ {% extends "base.html" %}
3
+ {% block title %}Home{% endblock %}
4
+ {% block content %}
5
+ <section class="upload-section">
6
+ <h2>Upload Match Video</h2>
7
+ <form action="/upload" method="post" enctype="multipart/form-data">
8
+ <label for="player_name">Player Name:</label>
9
+ <input type="text" id="player_name" name="player_name" required>
10
+ <label for="file">Select Video:</label>
11
+ <input type="file" id="file" name="file" accept="video/*" required>
12
+ <button type="submit">Analyze DRS</button>
13
+ </form>
14
+ </section>
15
+ {% endblock %}