dwm-app/templates/app.html

98 lines
2.7 KiB
HTML
Raw Permalink Normal View History

2024-02-04 20:21:15 +00:00
{% extends '.layout.html' %} {% block head %}{% endblock %} {% block body %}
2024-02-26 11:54:52 +00:00
<h1 class="text-2xl font-black text-white">Dragon Warrior Monsters 2 App</h1>
2024-02-11 19:30:03 +00:00
<br />
2024-02-26 11:54:52 +00:00
<label for="familyDropdown">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 />
2024-02-26 11:54:52 +00:00
<label for="monsterDropdown">Monster:</label>
2024-02-11 19:30:03 +00:00
<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-26 13:08:02 +00:00
<div
id="modules"
class="mt-4 mx-auto justify-center items-center flex flex-col"
>
2024-02-26 11:54:52 +00:00
<div id="monsterNameContainer" class="text-center">
<!-- Monster name will be displayed here -->
</div>
<iframe
id="monsterSpriteIframe"
src=""
class="p-2 m-2 border-2 rounded-md border-slate-400"
height="200"
width="200"
>
</iframe>
2024-04-27 23:34:59 +00:00
<div
class="p-2 mt-2 border-2 rounded-md border-slate-400 w-full max-w-xs container"
>
2024-02-21 17:38:00 +00:00
<div id="monsterFamilyContainer" class="mt-1">
2024-02-21 15:31:56 +00:00
<!-- Monster Family will be displayed here-->
</div>
2024-02-26 11:54:52 +00:00
2024-04-27 23:34:59 +00:00
<div id="monsterStatsContainer" class="container mt-2">
2024-02-21 15:31:56 +00:00
<!-- Monster stats will be displayed here -->
</div>
2024-02-26 11:54:52 +00:00
2024-04-27 23:34:59 +00:00
<div id="monsterSkillsContainer" class="container mt-2">
2024-02-21 15:31:56 +00:00
<!-- Monster Skills will be displayed here-->
</div>
2024-04-27 23:34:59 +00:00
<div id="monsterLocationContainer" class="container mt-2">
2024-02-21 15:31:56 +00:00
<!-- Monster Location will be displayed here-->
</div>
</div>
2024-02-21 14:58:42 +00:00
2024-02-26 13:08:02 +00:00
<div class="flex m-2 w-full max-w-xl gap-2">
2024-02-26 11:54:52 +00:00
<div
id="breedingPairsContainer"
2024-04-27 23:34:59 +00:00
class="p-2 border-2 rounded-md border-slate-400 w-full container"
2024-02-26 11:54:52 +00:00
>
<!-- Breeding pairs will be displayed here -->
</div>
2024-02-21 14:00:24 +00:00
2024-02-26 11:54:52 +00:00
<div
id="offspringContainer"
2024-04-27 23:34:59 +00:00
class="p-2 border-2 rounded-md border-slate-400 w-full container"
2024-02-26 11:54:52 +00:00
></div>
</div>
<div class="mt-4 text-center">
<a
href="/skills"
class="float-left text-2xl font-bold text-purple-400 hover:underline"
>Go to Skills Data Page</a
2024-02-11 19:30:03 +00:00
>
2024-02-04 20:21:15 +00:00
</div>
2024-02-26 13:08:02 +00:00
<br />
<div class="w-auto max-w-xl text-center">
<h2 class="m-2 text-xl font-bold">About The App</h2>
<p class="text-md">
Dragon Warrior Monsters 2 App, an open-source project. 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>
<p class="mt-4 leading-7"></p>
<div class="mt-4 text-md">
<a
href="https://git.happytavern.co/oceanslim/dwm-app"
target="_blank"
class="text-purple-400 hover:text-purple-200 hover:underline"
>
View the git repository
</a>
</div>
</div>
2024-02-04 20:21:15 +00:00
</div>
2024-02-26 11:54:52 +00:00
<br />
2024-02-05 15:50:20 +00:00
{% endblock %}