37 lines
1.2 KiB
HTML
37 lines
1.2 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
<title>Lottery Number Generator</title>
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<h1>Lottery Number Generator</h1>
|
|
<form method="POST">
|
|
<label for="game_type">Select Game:</label>
|
|
<select name="game_type" id="game_type" required>
|
|
<option value="euromillions">EuroMillions</option>
|
|
<option value="lotto">Lotto</option>
|
|
<option value="eurodreams">EuroDreams</option>
|
|
</select>
|
|
<button type="submit">Generate Numbers</button>
|
|
</form>
|
|
|
|
{% if result %}
|
|
<div class="result">
|
|
<h2>Generated Numbers:</h2>
|
|
<p>Numbers: {{ result.numbers }}</p>
|
|
{% if result.lucky_stars %}
|
|
<p>Lucky Stars: {{ result.lucky_stars }}</p>
|
|
{% endif %}
|
|
{% if result.dream_number %}
|
|
<p>Dream Number: {{ result.dream_number }}</p>
|
|
{% endif %}
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
</body>
|
|
</html>
|