File size: 2,625 Bytes
d5fb696
 
 
 
 
 
 
 
 
 
454d813
d5fb696
 
 
 
 
 
 
 
 
 
 
 
dcc8bc7
d5fb696
dcc8bc7
d5fb696
 
 
 
 
 
b613fc6
 
dcc8bc7
 
b1df057
d5fb696
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
454d813
d5fb696
 
 
 
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
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="./dependencies/all.css" rel="stylesheet" />
    <link href="./dependencies/css.css?family=Open+Sans:400,300,600,700" rel="stylesheet" type="text/css" />
    <link href='./dependencies/bundle.css' rel='stylesheet' />
    <link href="./dependencies/style.css" rel='stylesheet' />
    <link href="./dependencies/5ePHBstyle.css" rel='stylesheet' />
    <link href="./storeUI.css" rel='stylesheet' />  
    <title>DnD Stat Block</title>
    <link rel="stylesheet" href="styles.css">
    <script src="https://unpkg.com/htmx.org@1.7.0/dist/htmx.min.js"></script>
</head>

<body>
    <div class="grid-container">
        <div class="block-container" id="blockContainer" >
            <div class="page" id = "block-page" data-page-id="block-container">
            <!-- Blocks will be wrapped in a page div and loaded here -->
             </div>
        </div>
        
        <div class="page-container" id="pageContainer">
            <h1>Describe your creature</h1>
                <textarea id="user-description" class="user-description-textarea"
                    hx-post="/update-stats" hx-trigger="change"
                    hx-target="#user-description" hx-swap="outerHTML"
                    title="As much or as little description as you want to provide. You can provide specific employees, inventory etc">A very standard gear store run by a fae potted plant named Gorgeous</textarea>
                    <button id="submitDescription">Submit</button>
                    <button id="parseHTML">Parse HTML</button>
                    <button id="resetButton">Reset</button>
                    <button onclick="printPageContainer()">Print to PDF</button>
            <div class="brewRenderer" id="brewRenderer">
                
                <div class="pages" id="pages">
                    <div id="page-1" class="page" data-page-id="page-0">
                        <div class="columnWrapper">
                            <div class="block monster frame wide">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="trash-area" id="trashArea"></div>

    <!-- The Modal -->
    <div id="imageModal" class="modal">
        <span class="close">&times;</span>
        <img class="modal-content" id="modalImage">
        <div id="caption"></div>
    </div>
    <script src="scripts.js"></script>
        
    </script>
</body>
</html>