abtmtr-v4/views/projects/hex/index.html
MeowcaTheoRange e0c355ad82 We should improve windowing somewhat.
Yet you participate in windowing, curious!
I am very intelligent.
2023-11-24 19:53:10 -06:00

87 lines
2.4 KiB
HTML
Executable file

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>HexFlagGen</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="/styles/normal.css" />
<link rel="stylesheet" href="/styles/windows.css" />
<link rel="stylesheet" href="/styles/style.css" />
<style>
@import url("https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@100;200;300;400;500;600;700;800;900&display=swap");
:root {
--base-scale: 16px;
--background-color: hsl(0, 0%, 15%);
--color: hsl(0, 0%, 85%);
--accent-color: #808080;
--accent-color-fg: hsl(0, 0%, 95%);
--font-family: "Lexend Deca";
--document-width: 40em;
--border-style: 0.0625em solid var(--color);
}
</style>
</head>
<body>
<$ loader.html $>
<section>
<h1>HexFlagGen</h1>
<p>Make a flag out of the hexadecimal bytes of your choice.</p>
</section>
<hr />
<section>
<label for="data">Generator string</label><br />
<input
type="text"
id="data"
value="5BCEFAF5A9B8FFFFFFF5A9B85BCEFABA53"
style="width: 100%"
/><br />
<button id="generateButton">Generate!</button>
</section>
<section>
<input
type="number"
id="size_width"
style="width: 8ch"
min="0"
max="3000"
value="300"
/>
<label for="size_width">Width (px)</label><br />
<input
type="number"
id="size_height"
style="width: 8ch"
min="0"
max="3000"
value="200"
/>
<label for="size_height">Height (px)</label><br />
<select id="flag_type">
<option value="horiz">Horizontal</option>
<option value="vert" selected>Vertical</option>
</select>
<label for="flag_type">Flag type</label>
</section>
<hr />
<section>
<p>
Hex: <code><span id="hexdisplay">...</span></code>
</p>
</section>
<div id="WindowHolder"></div>
<section id="accessibility" hidden></section>
<script src="./scripts/index.js"></script>
<script src="/scripts/windows.js"></script>
<script src="/scripts/accessibility.js"></script>
<script src="/scripts/interface.js"></script>
<script>
window.manager = new WindowManager(
document.getElementById("WindowHolder")
);
</script>
</body>
</html>