2024-02-04 20:21:15 +00:00
|
|
|
{% extends '.layout.html' %} {% block head %}{% endblock %} {% block body %}
|
|
|
|
<h1 class="text-2xl font-black text-white">
|
|
|
|
Welcome to the Dragon Warrior Monsters 2 App
|
|
|
|
</h1>
|
2024-02-11 19:30:03 +00:00
|
|
|
<br />
|
|
|
|
<label for="familyDropdown">Select Family:</label>
|
2024-02-21 13:26:28 +00:00
|
|
|
<select id="familyDropdown" class="p-2 bg-gray-900 rounded-md">
|
2024-02-11 19:30:03 +00:00
|
|
|
<option value="">All Families</option>
|
|
|
|
</select>
|
|
|
|
<br />
|
|
|
|
<label for="monsterDropdown">Select Monster:</label>
|
|
|
|
<select
|
|
|
|
id="monsterDropdown"
|
2024-02-21 13:26:28 +00:00
|
|
|
class="p-2 mt-2 rounded-md bg-slate-900"
|
2024-02-11 19:30:03 +00:00
|
|
|
onchange="updateMonsterSprite()"
|
|
|
|
>
|
|
|
|
<option value="">All Monsters</option>
|
|
|
|
</select>
|
2024-02-05 15:42:31 +00:00
|
|
|
|
2024-02-11 19:30:03 +00:00
|
|
|
<br />
|
2024-02-04 20:21:15 +00:00
|
|
|
|
2024-02-11 19:30:03 +00:00
|
|
|
<div id="modules" class="flex mt-4">
|
|
|
|
<iframe
|
|
|
|
id="monsterIframe"
|
|
|
|
src=""
|
|
|
|
class="pl-2 pr-2 ml-4 border-2 rounded-md border-slate-400"
|
|
|
|
height="456"
|
|
|
|
width="280"
|
2024-02-04 20:21:15 +00:00
|
|
|
>
|
2024-02-11 19:30:03 +00:00
|
|
|
</iframe>
|
2024-02-21 14:27:05 +00:00
|
|
|
|
2024-02-21 15:31:56 +00:00
|
|
|
<div class="grid-cols-1 p-2 ml-2 border-2 rounded-md border-slate-400">
|
|
|
|
<div id="monsterNameContainer" class="text-center">
|
|
|
|
<!-- Monster name will be displayed here -->
|
|
|
|
</div>
|
2024-02-21 14:27:05 +00:00
|
|
|
|
2024-02-21 15:31:56 +00:00
|
|
|
<div id="monsterFamilyContainer">
|
|
|
|
<!-- Monster Family will be displayed here-->
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="monsterStatsContainer">
|
|
|
|
<!-- Monster stats will be displayed here -->
|
|
|
|
</div>
|
|
|
|
<!--TODO Add monster Skills to API-->
|
|
|
|
<div id="monsterSkillsContainer">
|
|
|
|
<!-- Monster Skills will be displayed here-->
|
|
|
|
</div>
|
|
|
|
<div id="monsterLocationContainer">
|
|
|
|
<!-- Monster Location will be displayed here-->
|
|
|
|
</div>
|
2024-02-21 14:27:05 +00:00
|
|
|
</div>
|
2024-02-21 14:58:42 +00:00
|
|
|
|
2024-02-21 14:00:24 +00:00
|
|
|
|
|
|
|
|
2024-02-11 19:30:03 +00:00
|
|
|
<div class="grid items-center justify-center grid-cols-1 ml-4">
|
2024-02-04 20:21:15 +00:00
|
|
|
<iframe
|
2024-02-11 19:30:03 +00:00
|
|
|
id="monsterSpriteIframe"
|
2024-02-04 20:21:15 +00:00
|
|
|
src=""
|
2024-02-11 19:30:03 +00:00
|
|
|
class="p-2 ml-8 border-2 rounded-md border-slate-400"
|
|
|
|
height="200"
|
|
|
|
width="200"
|
|
|
|
>
|
|
|
|
</iframe>
|
|
|
|
<iframe
|
|
|
|
id="breedingIframe"
|
|
|
|
src=""
|
|
|
|
class="p-2 mt-4 border-2 rounded-md border-slate-400"
|
|
|
|
height="200"
|
|
|
|
width="272"
|
2024-02-04 20:21:15 +00:00
|
|
|
>
|
|
|
|
</iframe>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-02-11 19:30:03 +00:00
|
|
|
<div class="mt-4 text-center">
|
|
|
|
<a
|
|
|
|
href="https://dwm.happytavern.co/skills"
|
2024-02-21 13:26:28 +00:00
|
|
|
class="float-left text-2xl font-bold text-purple-400 hover:underline"
|
2024-02-11 19:30:03 +00:00
|
|
|
>Go to Skills Data Page</a
|
|
|
|
>
|
|
|
|
</div>
|
2024-02-21 13:26:28 +00:00
|
|
|
|
|
|
|
|
2024-02-11 19:30:03 +00:00
|
|
|
<br /><br />
|
2024-02-05 15:42:31 +00:00
|
|
|
<div class="mx-auto footer">
|
2024-02-04 20:21:15 +00:00
|
|
|
<h2 class="m-2 text-2xl font-bold">About The App</h2>
|
|
|
|
<p class="leading-7">
|
|
|
|
Dragon Warrior Monsters 2 App, an open-source project where you can explore
|
|
|
|
information about monsters, breeding pairs, and more.
|
|
|
|
</p>
|
|
|
|
<p class="mt-4 leading-7">
|
|
|
|
You can contribute to the development and improvement of this app on our Git
|
|
|
|
repository. Feel free to explore the code, report issues, and submit pull
|
|
|
|
requests.
|
|
|
|
</p>
|
2024-02-11 19:30:03 +00:00
|
|
|
<div class="mt-4">
|
2024-02-04 20:21:15 +00:00
|
|
|
<a
|
|
|
|
href="https://git.happytavern.co/oceanslim/dwm-app"
|
|
|
|
target="_blank"
|
2024-02-05 21:35:43 +00:00
|
|
|
class="text-purple-400 hover:text-purple-200 hover:underline"
|
2024-02-04 20:21:15 +00:00
|
|
|
>
|
|
|
|
View the git repository
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-02-05 15:50:20 +00:00
|
|
|
{% endblock %}
|