added favicon, addressed console errors

This commit is contained in:
Chris kerr 2024-02-01 22:21:27 -05:00
parent 978329ee49
commit b1dc93b718
3 changed files with 9 additions and 4 deletions

BIN
static/img/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

View File

@ -5,7 +5,8 @@ function updateMonsterSprite() {
var iframe = document.getElementById("monsterSpriteIframe"); var iframe = document.getElementById("monsterSpriteIframe");
iframe.src = "about:blank"; // Clear the iframe content iframe.src = "about:blank"; // Clear the iframe content
var content = `<style> var content = `<!DOCTYPE html>
<style>
body { body {
margin: 0; margin: 0;
display: flex; display: flex;

View File

@ -3,7 +3,11 @@
<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>DWM APP</title> <link
rel="icon"
href="{{ url_for('static', filename='/img/favicon.ico') }}"
/>
<title>dwm-app</title>
<link rel="stylesheet" href="../static/style/output.css" /> <link rel="stylesheet" href="../static/style/output.css" />
</head> </head>
<body class="content-center p-4 m-4 font-mono text-white bg-slate-700"> <body class="content-center p-4 m-4 font-mono text-white bg-slate-700">
@ -13,7 +17,7 @@
<div> <div>
<label for="familyDropdown">Select Family:</label> <label for="familyDropdown">Select Family:</label>
<select id="familyDropdown" class="p-2 rounded-md bg-slate-800"> <select id="familyDropdown" class="p-2 rounded-md bg-slate-800">
<option value="">All Families</option> <option value="">All</option>
</select> </select>
<label for="monsterDropdown">Select Monster:</label> <label for="monsterDropdown">Select Monster:</label>
@ -22,7 +26,7 @@
class="p-2 rounded-md bg-slate-800" class="p-2 rounded-md bg-slate-800"
onchange="updateMonsterSprite()" onchange="updateMonsterSprite()"
> >
<option value="">All Monsters</option> <option value="">All</option>
</select> </select>
<div id="modules" class="flex mt-4"> <div id="modules" class="flex mt-4">
<iframe <iframe