blueprint templates

This commit is contained in:
Chris kerr 2024-02-04 11:20:50 -05:00
parent 0c7c1e6484
commit f628e5ba71
4 changed files with 48 additions and 48 deletions

View File

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 41 KiB

View File

@ -599,6 +599,10 @@ video {
margin-left: 1rem; margin-left: 1rem;
} }
.ml-8 {
margin-left: 2rem;
}
.mt-2 { .mt-2 {
margin-top: 0.5rem; margin-top: 0.5rem;
} }
@ -607,14 +611,6 @@ video {
margin-top: 1rem; margin-top: 1rem;
} }
.ml-6 {
margin-left: 1.5rem;
}
.ml-8 {
margin-left: 2rem;
}
.block { .block {
display: block; display: block;
} }
@ -632,10 +628,6 @@ video {
width: fit-content; width: fit-content;
} }
.flex-1 {
flex: 1 1 0%;
}
.cursor-pointer { .cursor-pointer {
cursor: pointer; cursor: pointer;
} }

View File

@ -25,6 +25,9 @@
> >
<option value="">All</option> <option value="">All</option>
</select> </select>
<!--{% block stats %}{% endblock %}-->
<div id="modules" class="flex mt-4"> <div id="modules" class="flex mt-4">
<iframe <iframe
id="monsterIframe" id="monsterIframe"

View File

@ -1,46 +1,51 @@
<!--{% extends 'index.html' %}-->
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Monster Stats</title> <title>Monster Stats</title>
<link rel="stylesheet" href="../static/style/output.css"> <link rel="stylesheet" href="../static/style/output.css" />
</head> </head>
<body class="p-2 font-mono text-white bg-slate-700"> <body class="p-2 font-mono text-white bg-slate-700">
<!--{% block stats %}-->
<div> <div>
<h2>{{ monster.name }}</h2> <h2>{{ monster.name }}</h2>
<p><strong>Family:</strong> {{ monster.family }}</p> <p><strong>Family:</strong> {{ monster.family }}</p>
<div class="Stats"> <div class="Stats">
<p><strong>Stats:</strong></p> <p><strong>Stats:</strong></p>
<ul>
<div class="grid grid-cols-2 gap-1">
<li><label class="font-bold">Max Level:</label> {{ monster.maxlvl }}</li>
<li><label class="font-bold">EXP:</label> {{ monster.exp }}</li>
<li><label class="font-bold">HP:</label> {{ monster.hp }}</li>
<li><label class="font-bold">ATK:</label> {{ monster.atk }}</li>
<li><label class="font-bold">MP:</label> {{ monster.mp }}</li>
<li><label class="font-bold">DEF:</label> {{ monster.def }}</li>
<li><label class="font-bold">AGL:</label> {{ monster.agl }}</li>
<li><label class="font-bold">INT:</label> {{ monster.int }}</li>
</div>
</ul>
</div>
<p><strong>Skills:</strong></p>
<ul> <ul>
{% for skill in monster.skills %} <div class="grid grid-cols-2 gap-1">
<li>{{ skill }}</li> <li>
{% endfor %} <label class="font-bold">Max Level:</label> {{ monster.maxlvl }}
</li>
<li><label class="font-bold">EXP:</label> {{ monster.exp }}</li>
<li><label class="font-bold">HP:</label> {{ monster.hp }}</li>
<li><label class="font-bold">ATK:</label> {{ monster.atk }}</li>
<li><label class="font-bold">MP:</label> {{ monster.mp }}</li>
<li><label class="font-bold">DEF:</label> {{ monster.def }}</li>
<li><label class="font-bold">AGL:</label> {{ monster.agl }}</li>
<li><label class="font-bold">INT:</label> {{ monster.int }}</li>
</div>
</ul> </ul>
<div class="grid grid-cols-1 gap-1 mt-2"> </div>
<p><strong>Skills:</strong></p>
<ul>
{% for skill in monster.skills %}
<li>{{ skill }}</li>
{% endfor %}
</ul>
<div class="grid grid-cols-1 gap-1 mt-2">
<p><strong>In Story:</strong> {{ monster.in_story }}</p> <p><strong>In Story:</strong> {{ monster.in_story }}</p>
<p><strong>Spawn Locations:</strong></p> <p><strong>Spawn Locations:</strong></p>
</div> </div>
<ul> <ul>
{% for location in monster.spawn_locations %} {% for location in monster.spawn_locations %}
<li>{{ location.map }} - {{ location.description }}</li> <li>{{ location.map }} - {{ location.description }}</li>
{% endfor %} {% endfor %}
</ul> </ul>
</div> </div>
</body> <!--{% endblock %}-->
</body>
</html> </html>