Spaces:
Sleeping
Sleeping
Create index.html
Browse files- templates/index.html +36 -0
templates/index.html
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html>
|
| 3 |
+
<body>
|
| 4 |
+
|
| 5 |
+
<h2>Generate Workout Plan</h2>
|
| 6 |
+
|
| 7 |
+
<form action="/generate" method="POST">
|
| 8 |
+
|
| 9 |
+
<input type="text" name="name" placeholder="Name" required><br><br>
|
| 10 |
+
<input type="number" name="height" placeholder="Height (cm)" required><br><br>
|
| 11 |
+
<input type="number" name="weight" placeholder="Weight (kg)" required><br><br>
|
| 12 |
+
|
| 13 |
+
<select name="goal">
|
| 14 |
+
<option>Build Muscle</option>
|
| 15 |
+
<option>Lose Weight</option>
|
| 16 |
+
<option>Improve Endurance</option>
|
| 17 |
+
</select><br><br>
|
| 18 |
+
|
| 19 |
+
<select name="equipment">
|
| 20 |
+
<option>No Equipment</option>
|
| 21 |
+
<option>Dumbbells</option>
|
| 22 |
+
<option>Full Gym</option>
|
| 23 |
+
</select><br><br>
|
| 24 |
+
|
| 25 |
+
<select name="level">
|
| 26 |
+
<option>Beginner</option>
|
| 27 |
+
<option>Intermediate</option>
|
| 28 |
+
<option>Advanced</option>
|
| 29 |
+
</select><br><br>
|
| 30 |
+
|
| 31 |
+
<button type="submit">Generate Plan</button>
|
| 32 |
+
|
| 33 |
+
</form>
|
| 34 |
+
|
| 35 |
+
</body>
|
| 36 |
+
</html>
|