This repository has been archived by the owner on Apr 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
76 lines (70 loc) · 2 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Item Generator</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="styles/main.css">
</head>
<body>
<h1>Item Generator</h1>
<div class="error">
<i class="material-icons">warning</i>
<p>
Error:
</p>
<br>
</div>
<br>
<br>
<div class="main">
<div class="input">
<label for="apply-to-file" class="file-input">Entity JSON</label>
<input type="file" id="apply-to-file" name="apply-to-file">
<i class="material-icons">done</i>
</div>
<br>
<br>
<div class="input">
<label for="json-input" class="file-input">Item JSON</label>
<input type="file" id="json-input" name="json-input">
<i class="material-icons">done</i>
</div>
<br>
<br>
<input type="checkbox" id="res-pack" name="res-pack">
<label for="res-pack">create resource pack</label>
<br>
<br>
<input type="checkbox" id="package-zip" name="package-zip">
<label for="package-zip">package as .zip</label>
<br>
<button id="parse-json">
<p>Parse</p>
<i class="material-icons">done_all</i>
</button>
</div>
<script src="data/texture_data.js"></script>
<script src="data/imgs.js"></script>
<script>
var prefix = "unknown_prefix";
var projectName;
var projectDescription;
var projectVersion;
var fallbackItemName = "No fallback item name defined";
var checkboxZip = document.getElementById("package-zip");
var checkboxRes = document.getElementById("res-pack");
var itemTextures;
//Set defaults
checkboxRes.checked = true;
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.5/jszip.js"></script>
<script src="scripts/FileSaver.js"></script>
<script src="scripts/utilities.js"></script>
<script src="scripts/loot_tables.js"></script>
<script src="scripts/item_builder.js"></script>
<script src="scripts/resource_packer.js"></script>
<script src="scripts/main.js"></script>
<script src="scripts/UI.js"></script>
</body>
</html>