Create result.html
Browse files- templates/result.html +21 -0
templates/result.html
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!-- templates/result.html -->
|
2 |
+
{% extends "base.html" %}
|
3 |
+
{% block title %}DRS Result{% endblock %}
|
4 |
+
{% block content %}
|
5 |
+
<section class="result-section">
|
6 |
+
<h2>DRS Analysis Result</h2>
|
7 |
+
<div class="drs-verdict">
|
8 |
+
<h3>Decision: {{ decision }}</h3>
|
9 |
+
<p>Player: {{ player_name }}</p>
|
10 |
+
<p>Ball Speed: {{ speed }} km/h</p>
|
11 |
+
<p>Match ID: {{ match_id }}</p>
|
12 |
+
</div>
|
13 |
+
<div class="replay-container">
|
14 |
+
<video controls>
|
15 |
+
<source src="{{ replay_url }}" type="video/mp4">
|
16 |
+
Your browser does not support the video tag.
|
17 |
+
</video>
|
18 |
+
</div>
|
19 |
+
<a href="/" class="btn">Back to Home</a>
|
20 |
+
</section>
|
21 |
+
{% endblock %}
|