theminji commited on
Commit
f5cf489
·
verified ·
1 Parent(s): 57cd2d8

update results.html for better consistency

Browse files
Files changed (1) hide show
  1. templates/result.html +29 -29
templates/result.html CHANGED
@@ -1,29 +1,29 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Manimator - Your Video is Ready!</title>
7
- <link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}">
8
- </head>
9
- <body>
10
- <header>
11
- <h1>Manimator</h1>
12
- <p>Your AI-powered Manim video generator</p>
13
- </header>
14
-
15
- <div class="container">
16
- <h2>Your Generated Video</h2>
17
- {% if error %}
18
- <p class="error">{{ error }}</p>
19
- {% else %}
20
- <video width="100%" height="auto" controls>
21
- <source src="{{ video_url }}" type="video/mp4">
22
- Your browser does not support the video tag.
23
- </video>
24
- {% endif %}
25
- <br>
26
- <a class="btn" href="{{ url_for('index') }}">Submit Another Prompt</a>
27
- </div>
28
- </body>
29
- </html>
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Manimator - Your Video is Ready!</title>
7
+ <link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}">
8
+ </head>
9
+ <body>
10
+ <header>
11
+ <h1>Manimator</h1>
12
+ <p>Your AI-powered video generator</p>
13
+ </header>
14
+
15
+ <div class="container">
16
+ <h2>Your Generated Video</h2>
17
+ {% if error %}
18
+ <p class="error">{{ error }}</p>
19
+ {% else %}
20
+ <video width="100%" height="auto" controls>
21
+ <source src="{{ video_url }}" type="video/mp4">
22
+ Your browser does not support the video tag.
23
+ </video>
24
+ {% endif %}
25
+ <br>
26
+ <a class="btn" href="{{ url_for('index') }}">Submit Another Prompt</a>
27
+ </div>
28
+ </body>
29
+ </html>