dwm-app/templates/breeding.html
2024-01-30 17:02:58 -05:00

44 lines
1.5 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dragon Warrior Monsters 2 - Breeding</title>
<link rel="stylesheet" href="../static/style/output.css">
</head>
<body class="p-8">
<h1 class="font-bold text-blue-500">Breeding Guide</h1>
<div class="mt-8">
<h2 class="font-bold text-blue-500">Breeding Options</h2>
<div>
<label for="parent1">Select Parent 1:</label>
<select id="parent1" class="p-2 border border-gray-400">
<!-- Add options dynamically based on breeding data -->
{% for breed in breeding_data %}
<option value="{{ breed.target }}">{{ breed.target }}</option>
{% endfor %}
</select>
</div>
<div class="mt-4">
<label for="parent2">Select Parent 2:</label>
<select id="parent2" class="p-2 border border-gray-400">
<!-- Add options dynamically based on breeding data -->
{% for breed in breeding_data %}
<option value="{{ breed.target }}">{{ breed.target }}</option>
{% endfor %}
</select>
</div>
<button onclick="breed()">Breed!</button>
<!-- Display breeding result -->
<div id="breedingResult" class="mt-4"></div>
</div>
<script src="{{ url_for('static', filename='js/breeding.js') }}"></script>
</body>
</html>