dwm-app/templates/breeds.html

47 lines
1.5 KiB
HTML
Raw Normal View History

2024-01-31 01:17:15 +00:00
<!-- breeding.html -->
<!DOCTYPE html>
<html lang="en">
2024-02-02 02:52:59 +00:00
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
2024-02-02 17:00:10 +00:00
<title>Breeding Pairs</title>
2024-02-02 02:52:59 +00:00
<link rel="stylesheet" href="../static/style/output.css" />
</head>
<body class="font-mono text-white bg-slate-700">
2024-02-02 17:00:10 +00:00
<div id="breedingPairs">
2024-02-02 02:52:59 +00:00
{% if selected_monster %}
<h2 class="text-xl font-bold text-center">Breeding Pairs</h2>
<div class="grid grid-cols-2 gap-1">
<div class="col-span-1">
<h3 class="text-lg font-bold">Base</h3>
<ul>
2024-02-02 17:00:10 +00:00
{% for pair in selected_monster.base_pair %}
<li id="parent" class="text-center cursor-pointer hover:text-red-700 w-fit">
2024-02-02 02:52:59 +00:00
<!-- Add a class to make the monster name clickable -->
2024-02-02 17:00:10 +00:00
<span class="monster-name" data-name="{{ pair }}"
>{{ pair }}</span
2024-02-02 02:52:59 +00:00
>
</li>
{% endfor %}
</ul>
</div>
<div class="col-span-1">
<h3 class="text-lg font-bold">Mates</h3>
<ul>
2024-02-02 17:00:10 +00:00
{% for pair in selected_monster.mate_pair %}
<li id="parent" class="cursor-pointer hover:text-red-700 w-fit">
2024-02-02 02:52:59 +00:00
<!-- Add a class to make the monster name clickable -->
2024-02-02 17:00:10 +00:00
<span class="monster-name" data-name="{{ pair }}"
>{{ pair }}</span
2024-02-02 02:52:59 +00:00
>
</li>
{% endfor %}
</ul>
</div>
</div>
{% endif %}
2024-01-31 01:17:15 +00:00
</div>
2024-02-02 02:52:59 +00:00
</body>
2024-01-31 01:17:15 +00:00
</html>