dwm-app/templates/index.html

33 lines
1.2 KiB
HTML
Raw Normal View History

2024-01-30 16:06:00 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DWM APP</title>
<link rel="stylesheet" href="../static/style/output.css">
<script src="{{ url_for('static', filename='js/index.js') }}"></script>
</head>
2024-01-30 20:53:43 +00:00
<body class="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>
2024-01-30 16:06:00 +00:00
<div>
<label for="familyDropdown">Select Family:</label>
2024-01-30 20:53:43 +00:00
<select id="familyDropdown" class="p-2 rounded-md bg-slate-800">
<option value="" >All Families</option>
2024-01-30 16:06:00 +00:00
</select>
<label for="monsterDropdown">Select Monster:</label>
2024-01-30 20:53:43 +00:00
<select id="monsterDropdown" class="p-2 rounded-md bg-slate-800">
2024-01-30 16:06:00 +00:00
<option value="">All Monsters</option>
</select>
2024-01-30 20:53:43 +00:00
<iframe id="monsterIframe" src="" class="w-auto mt-4 ml-4 border-2 border-teal-500 rounded-md" onload="resizeIframe(this)"></iframe>
2024-01-30 16:06:00 +00:00
</div>
2024-01-30 20:53:43 +00:00
<script>
function resizeIframe(iframe) {
iframe.style.height = iframe.contentWindow.document.body.scrollHeight+ 16 +'px';
}
</script>
2024-01-30 16:06:00 +00:00
</body>
</html>