|
4 | 4 | <meta charset="utf-8" /> |
5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
6 | 6 | <meta http-equiv="X-Clacks-Overhead" content="GNU Terry Pratchett" /> |
7 | | - |
8 | | - <title>Datapack Toolkit</title> |
9 | 7 | <meta name="description" content="datapack toolkit :3" /> |
| 8 | + <link rel="stylesheet" href="style.css"> |
| 9 | + <title>Datapack Toolkit Web</title> |
10 | 10 | </head> |
11 | 11 |
|
12 | 12 | <body> |
13 | | - <input type="file" id="input" accept=".zip,.jar" multiple /> |
| 13 | + <h2>Datapack Toolkit Web (in development)</h2> |
| 14 | + <div class="edit_area"> |
| 15 | + |
| 16 | + <p>Select a datapack file...</p> |
| 17 | + <input type="file" id="input" accept=".zip,.jar" multiple /> |
| 18 | + |
| 19 | + <div class="work_area"> |
| 20 | + <div id="datapack-display"></div> |
| 21 | + |
| 22 | + <template id="datapack-template"> |
| 23 | + <div class="datapack"> |
| 24 | + <img class="datapack-icon" height="100px"/> |
| 25 | + <div class="datapack-name-and-description"> |
| 26 | + <h3 class="datapack-name"></h3> |
| 27 | + <p class="datapack-description"></p> |
| 28 | + </div> |
| 29 | + </div> |
| 30 | + </template> |
| 31 | + |
| 32 | + <div class="config-screen"> |
| 33 | + <p> |
| 34 | + No config loaded |
| 35 | + </p> |
| 36 | + |
| 37 | + <div class="widget text-widget"> |
| 38 | + <p class="widget-text"> |
| 39 | + A text widget... |
| 40 | + </p> |
| 41 | + </div> |
| 42 | + |
| 43 | + <div class="widget title-widget"> |
| 44 | + <h3 class="widget-text"> |
| 45 | + A heading widget... |
| 46 | + </h3> |
| 47 | + </div> |
14 | 48 |
|
15 | | - <div id="datapack-display"></div> |
| 49 | + <div class="widget image-widget"> |
| 50 | + <p>⚠ Image widgets are not supported</p> |
| 51 | + </div> |
16 | 52 |
|
17 | | - <template id="datapack-template"> |
18 | | - <div class="datapack"> |
19 | | - <h2 class="datapack-name"></h2> |
20 | | - <p class="datapack-description"></p> |
21 | | - <img class="datapack-icon" /> |
| 53 | + <div class="widget slider-widget"> |
| 54 | + <p class="widget-text"> |
| 55 | + A slider |
| 56 | + </p> |
| 57 | + <input type="range" min="1" max="100" value="50" class="widget-input widget-range-input" id="myRange"> |
| 58 | + </div> |
| 59 | + |
| 60 | + <div class="widget switch-widget"> |
| 61 | + <p class="widget-text"> |
| 62 | + A switch |
| 63 | + </p> |
| 64 | + <input type="checkbox" class="widget-input widget-switch-input"> |
| 65 | + </div> |
| 66 | + |
| 67 | + <div class="widget number-widget"> |
| 68 | + <p class="widget-text"> |
| 69 | + A number box |
| 70 | + </p> |
| 71 | + <input type="number" class="widget-input widget-number-input"> |
| 72 | + </div> |
| 73 | + |
| 74 | + </div> |
| 75 | + |
| 76 | + <script type="module" src="/src/main.ts"></script> |
22 | 77 | </div> |
23 | | - </template> |
24 | 78 |
|
25 | | - <script type="module" src="/src/main.ts"></script> |
| 79 | + |
| 80 | + </div> |
| 81 | + |
26 | 82 | </body> |
| 83 | + <footer> |
| 84 | + <p> |
| 85 | + Developed by Autumn and Bee |
| 86 | + ∗ Read the <a href="https://github.com/autumn-mck/dptoolkit-web">source code</a> |
| 87 | + ∗ Report issues <a href="https://github.com/autumn-mck/dptoolkit-web/issues">here</a> |
| 88 | + ∗ Join the <a href="https://everloste.github.io/discord">Discord server</a> for other things |
| 89 | + </p> |
| 90 | + </footer> |
27 | 91 | </html> |
0 commit comments