-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
112 lines (97 loc) · 3.74 KB
/
Copy pathindex.html
File metadata and controls
112 lines (97 loc) · 3.74 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Minecraft Dialog Builder</title>
<meta name="description" content="Build a Minecraft dialog screen visually and copy out the data pack JSON or the Paper plugin code.">
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><rect width='16' height='16' fill='%23222'/><rect x='3' y='4' width='10' height='2' fill='%2355FF55'/><rect x='3' y='8' width='10' height='2' fill='%23AAAAAA'/><rect x='3' y='12' width='6' height='2' fill='%23FFAA00'/></svg>">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header class="topbar">
<div class="brand">
<h1>Dialog Builder</h1>
<span class="brand-sub">for Minecraft Java 1.21.6+ & Paper</span>
</div>
<div class="topbar-controls">
<label class="inline">
<span>Example</span>
<select id="examples">
<option value="">Pick one…</option>
<option value="settings">Settings screen</option>
<option value="survey">Every input type</option>
<option value="notice">Welcome notice</option>
<option value="confirm">Are you sure?</option>
</select>
</label>
<label class="inline">
<span>Size</span>
<input id="zoom" type="range" min="1.4" max="3.4" step="0.2" value="2">
</label>
<button id="tips" class="btn btn-primary">Tips & tricks</button>
<button id="reset" class="btn">Start over</button>
</div>
</header>
<main class="layout">
<aside class="panel panel-left">
<div id="inspector"></div>
</aside>
<section class="stage-wrap">
<div class="stage-hint">
<p>Drag a field from the right into the dialog, or click it to drop one on the end.
Click anything here to edit it — the toggles, sliders and choice buttons work,
and what you set is the value the player starts with.</p>
</div>
<div id="stage" class="stage"></div>
<div class="stage-foot" id="stage-foot"></div>
</section>
<aside class="panel panel-right">
<div id="palette"></div>
<div id="fonts"></div>
</aside>
</main>
<section class="bottom" id="bottom">
<div class="grip" id="grip" title="Drag to resize"><span class="grip-bar"></span></div>
<div class="bottom-head">
<button id="code-toggle" class="code-toggle" aria-expanded="false">
<span id="code-toggle-icon">▴</span>
<span id="code-toggle-text">Show code</span>
</button>
<div id="code-tabs" class="tabs">
<button data-tab="json" class="is-active">Data pack JSON</button>
<button data-tab="java">Java (Paper)</button>
<button data-tab="kotlin">Kotlin (Paper)</button>
</div>
<div class="bottom-actions">
<span id="issue-count" class="badge"> </span>
<button id="copy" class="btn">Copy</button>
<button id="download" class="btn">Download</button>
</div>
</div>
<div class="bottom-body">
<pre id="code" class="code"></pre>
<div class="side">
<p id="code-note" class="code-note"></p>
<h3 class="panel-heading">Things worth knowing</h3>
<div id="issues" class="issues"></div>
</div>
</div>
</section>
<script src="js/tooltip.js"></script>
<script src="js/mcicons.js"></script>
<script src="js/glyphs.js"></script>
<script src="js/glyphfont.js"></script>
<script src="js/fonts.js"></script>
<script src="js/zip.js"></script>
<script src="js/minimessage.js"></script>
<script src="js/icons.js"></script>
<script src="js/model.js"></script>
<script src="js/preview.js"></script>
<script src="js/inspector.js"></script>
<script src="js/export.js"></script>
<script src="js/tips.js"></script>
<script src="js/fontpanel.js"></script>
<script src="js/app.js"></script>
</body>
</html>