|
<!DOCTYPE html> |
|
<html lang="en"> |
|
<head> |
|
<meta charset="UTF-8"> |
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
<title>Quiz App</title> |
|
<link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}"> |
|
</head> |
|
<body> |
|
<h1>Welcome to the Quiz App</h1> |
|
<form action="{{ url_for('start') }}" method="post"> |
|
<label for="file">Select a JSON file:</label> |
|
<select id="file" name="file" required> |
|
{% for file in files %} |
|
<option value="{{ file }}">{{ file }}</option> |
|
{% endfor %} |
|
</select> |
|
<br> |
|
<button type="submit">Start Quiz</button> |
|
</form> |
|
</body> |
|
</html> |