app.html added as base bluebrint
This commit is contained in:
parent
4f644a706a
commit
d1597244da
13
templates/app.html
Normal file
13
templates/app.html
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<link rel="icon" href="https://happytavern.co/.pictures/dwm/favicon.ico" />
|
||||||
|
<link rel="stylesheet" href="../static/style/output.css" />
|
||||||
|
{% block head %}{% endblock %}
|
||||||
|
</head>
|
||||||
|
<body class="content-center p-4 m-4 font-mono text-white bg-slate-700">
|
||||||
|
{% block body %}{% endblock %}
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -1,5 +1,3 @@
|
|||||||
<!-- breeding.html -->
|
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
@ -17,11 +15,13 @@
|
|||||||
<h3 class="text-lg font-bold">Base</h3>
|
<h3 class="text-lg font-bold">Base</h3>
|
||||||
<ul>
|
<ul>
|
||||||
{% for pair in selected_monster.base_pair %}
|
{% for pair in selected_monster.base_pair %}
|
||||||
<li id="parent" class="text-center cursor-pointer hover:text-red-700 w-fit">
|
<li
|
||||||
<!-- Add a class to make the monster name clickable -->
|
id="parent"
|
||||||
<span class="monster-name" data-name="{{ pair }}"
|
class="text-center cursor-pointer hover:text-red-700 w-fit"
|
||||||
>{{ pair }}</span
|
>
|
||||||
>
|
<span class="monster-name" data-name="{{ pair }}">
|
||||||
|
{{ pair }}
|
||||||
|
</span>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
@ -31,10 +31,9 @@
|
|||||||
<ul>
|
<ul>
|
||||||
{% for pair in selected_monster.mate_pair %}
|
{% for pair in selected_monster.mate_pair %}
|
||||||
<li id="parent" class="cursor-pointer hover:text-red-700 w-fit">
|
<li id="parent" class="cursor-pointer hover:text-red-700 w-fit">
|
||||||
<!-- Add a class to make the monster name clickable -->
|
<span class="monster-name" data-name="{{ pair }}">
|
||||||
<span class="monster-name" data-name="{{ pair }}"
|
{{ pair }}
|
||||||
>{{ pair }}</span
|
</span>
|
||||||
>
|
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -1,69 +1,58 @@
|
|||||||
<!DOCTYPE html>
|
{% extends 'app.html' %} {% block head %}{% endblock %} {% block body %}
|
||||||
<html lang="en">
|
<h1 class="text-2xl font-black text-white">
|
||||||
<head>
|
Welcome to the Dragon Warrior Monsters 2 App
|
||||||
<meta charset="UTF-8" />
|
</h1>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<div>
|
||||||
<link rel="icon" href="https://happytavern.co/.pictures/dwm/favicon.ico" />
|
<label for="familyDropdown">Select Family:</label>
|
||||||
<title>dwm-app</title>
|
<select id="familyDropdown" class="p-2 rounded-md bg-slate-800">
|
||||||
<link rel="stylesheet" href="../static/style/output.css" />
|
<option value="">All Families</option>
|
||||||
</head>
|
</select>
|
||||||
<body class="content-center p-4 m-4 font-mono text-white bg-slate-700">
|
|
||||||
<h1 class="text-2xl font-black text-white">
|
|
||||||
Welcome to the Dragon Warrior Monsters 2 App
|
|
||||||
</h1>
|
|
||||||
<div>
|
|
||||||
<label for="familyDropdown">Select Family:</label>
|
|
||||||
<select id="familyDropdown" class="p-2 rounded-md bg-slate-800">
|
|
||||||
<option value="">All</option>
|
|
||||||
</select>
|
|
||||||
|
|
||||||
<label for="monsterDropdown">Select Monster:</label>
|
<label for="monsterDropdown">Select Monster:</label>
|
||||||
<select
|
<select
|
||||||
id="monsterDropdown"
|
id="monsterDropdown"
|
||||||
class="p-2 rounded-md bg-slate-800"
|
class="p-2 rounded-md bg-slate-800"
|
||||||
onchange="updateMonsterSprite()"
|
onchange="updateMonsterSprite()"
|
||||||
>
|
>
|
||||||
<option value="">All</option>
|
<option value="">All Monsters</option>
|
||||||
</select>
|
</select>
|
||||||
<div id="modules" class="flex mt-4">
|
<div id="modules" class="flex mt-4">
|
||||||
<iframe
|
<iframe
|
||||||
id="monsterIframe"
|
id="monsterIframe"
|
||||||
src=""
|
src=""
|
||||||
class="pl-2 pr-2 ml-4 border-2 border-teal-500 rounded-md"
|
class="pl-2 pr-2 ml-4 border-2 border-teal-500 rounded-md"
|
||||||
height="456"
|
height="456"
|
||||||
width="272"
|
width="272"
|
||||||
>
|
>
|
||||||
</iframe>
|
</iframe>
|
||||||
<div class="grid items-center justify-center grid-cols-1 ml-4">
|
<div class="grid items-center justify-center grid-cols-1 ml-4">
|
||||||
<iframe
|
|
||||||
id="monsterSpriteIframe"
|
|
||||||
src=""
|
|
||||||
class="p-2 ml-8 border-2 border-teal-500 rounded-md"
|
|
||||||
height="200"
|
|
||||||
width="200"
|
|
||||||
>
|
|
||||||
</iframe>
|
|
||||||
<iframe
|
|
||||||
id="breedingIframe"
|
|
||||||
src=""
|
|
||||||
class="p-2 mt-4 border-2 border-teal-500 rounded-md"
|
|
||||||
height="200"
|
|
||||||
width="272"
|
|
||||||
>
|
|
||||||
</iframe>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<iframe
|
<iframe
|
||||||
id="footerIframe"
|
id="monsterSpriteIframe"
|
||||||
src="https://dwm.happytavern.co/footer"
|
src=""
|
||||||
class="p-2 mt-4 ml-4 border-2 border-teal-500 rounded-md float-end"
|
class="p-2 ml-8 border-2 border-teal-500 rounded-md"
|
||||||
height="240"
|
height="200"
|
||||||
width="800"
|
width="200"
|
||||||
|
>
|
||||||
|
</iframe>
|
||||||
|
<iframe
|
||||||
|
id="breedingIframe"
|
||||||
|
src=""
|
||||||
|
class="p-2 mt-4 border-2 border-teal-500 rounded-md"
|
||||||
|
height="200"
|
||||||
|
width="272"
|
||||||
>
|
>
|
||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
{% for file in js_files %}
|
</div>
|
||||||
<script src="{{ url_for('static', filename='js/' + file) }}"></script>
|
<iframe
|
||||||
{% endfor %}
|
id="footerIframe"
|
||||||
</body>
|
src="https://dwm.happytavern.co/footer"
|
||||||
</html>
|
class="p-2 mt-4 ml-4 border-2 border-teal-500 rounded-md float-end"
|
||||||
|
height="240"
|
||||||
|
width="800"
|
||||||
|
>
|
||||||
|
</iframe>
|
||||||
|
</div>
|
||||||
|
{% for file in js_files %}
|
||||||
|
<script src="{{ url_for('static', filename='js/' + file) }}"></script>
|
||||||
|
{% endfor %} {% endblock %}
|
||||||
|
Loading…
Reference in New Issue
Block a user