update index
This commit is contained in:
@@ -4,31 +4,33 @@
|
||||
<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="euromillions_plus">EuroMillions Plus</option>
|
||||
<option value="lotto">Lotto</option>
|
||||
<option value="lotto_plus">Lotto Plus</option>
|
||||
<option value="eurodreams">EuroDreams</option>
|
||||
</select>
|
||||
<br><br>
|
||||
<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.plus %}
|
||||
<p>Plus Option: Yes</p>
|
||||
{% if result.dream_number %}
|
||||
<p>Dream Number: {{ result.dream_number }}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user