update index
This commit is contained in:
@@ -4,31 +4,33 @@
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<title>Lottery Number Generator</title>
|
<title>Lottery Number Generator</title>
|
||||||
|
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Lottery Number Generator</h1>
|
<div class="container">
|
||||||
<form method="POST">
|
<h1>Lottery Number Generator</h1>
|
||||||
<label for="game_type">Select Game:</label>
|
<form method="POST">
|
||||||
<select name="game_type" id="game_type" required>
|
<label for="game_type">Select Game:</label>
|
||||||
<option value="euromillions">EuroMillions</option>
|
<select name="game_type" id="game_type" required>
|
||||||
<option value="euromillions_plus">EuroMillions Plus</option>
|
<option value="euromillions">EuroMillions</option>
|
||||||
<option value="lotto">Lotto</option>
|
<option value="lotto">Lotto</option>
|
||||||
<option value="lotto_plus">Lotto Plus</option>
|
<option value="eurodreams">EuroDreams</option>
|
||||||
<option value="eurodreams">EuroDreams</option>
|
</select>
|
||||||
</select>
|
<button type="submit">Generate Numbers</button>
|
||||||
<br><br>
|
</form>
|
||||||
<button type="submit">Generate Numbers</button>
|
|
||||||
</form>
|
{% if result %}
|
||||||
|
<div class="result">
|
||||||
{% if result %}
|
<h2>Generated Numbers:</h2>
|
||||||
<h2>Generated Numbers:</h2>
|
<p>Numbers: {{ result.numbers }}</p>
|
||||||
<p>Numbers: {{ result.numbers }}</p>
|
{% if result.lucky_stars %}
|
||||||
{% if result.lucky_stars %}
|
<p>Lucky Stars: {{ result.lucky_stars }}</p>
|
||||||
<p>Lucky Stars: {{ result.lucky_stars }}</p>
|
{% endif %}
|
||||||
{% endif %}
|
{% if result.dream_number %}
|
||||||
{% if result.plus %}
|
<p>Dream Number: {{ result.dream_number }}</p>
|
||||||
<p>Plus Option: Yes</p>
|
{% endif %}
|
||||||
{% endif %}
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user