-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (48 loc) · 1.68 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SD Regional Prompter Mapper</title>
<link rel="stylesheet" href="stylesheets/style.css">
</head>
<body>
<div class="container">
<h1>SD Regional Prompter Mapper</h1>
<canvas id="gridCanvas"></canvas>
<div class="controls">
<button id="generateBtn">Generate Information</button>
<button id="previewToggleBtn">Switch to Preview Mode</button>
<div class="gridSizeControl">
<label for="gridWidthInput">Grid Width:</label>
<input type="number" id="gridWidthInput" min="512" max="2048" value="512">
<label for="gridHeightInput">Grid Height:</label>
<input type="number" id="gridHeightInput" min="512" max="2048" value="512">
</div>
</div>
<div class="output">
<h2>Output:</h2>
<div>
<label>ADDCOL, ADDROW Template:</label>
<textarea id="templateOutput" readonly></textarea>
</div>
<div>
<label>Divide Ratio:</label>
<textarea id="ratioOutput" readonly></textarea>
</div>
<div>
<label>Prompt for Stable Diffusion:</label>
<textarea id="promptOutput" readonly></textarea>
</div>
</div>
</div>
<script src="scripts/main.js"></script>
<div id="feedbackModal" class="modal">
<div class="modal-content">
<span class="closeBtn">×</span>
<h2>Feedback</h2>
<p id="feedbackMessage"></p>
</div>
</div>
</body>
</html>