dwm-app/templates/app.html

102 lines
2.5 KiB
HTML
Raw Normal View History

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>
<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"
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:00:24 +00:00
<div id="monsterNameContainer">
<!-- Monster name will be displayed here -->
</div>
<div id="monsterStatsContainer">
<!-- Monster stats will be displayed here -->
</div>
2024-02-21 14:00:24 +00:00
<div id="monsterLocationContainer">
<!-- Monster Location will be displayed here
TODO Add location to stats api -->
</div>
<div id="monsterFamilyContainer">
<!-- Monster Family will be displayed here
TODO Add family to stats api -->
2024-02-21 14:00:24 +00:00
</div>
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"
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-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 %}