-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
116 lines (112 loc) · 4.38 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
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
113
114
115
116
<html lang="en">
<head>
<meta charset="UTF-8">
<title>NMS Color Parser</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="author" content="RogerHN">
<meta name="description" content="Parser that visualizes color palettes in NMS files">
<meta name="keywords" content="No Man's Sky, BASECOLOURPALETTES">
<link rel="stylesheet" href="css/styles.css">
</head>
<body>
<div class="app">
<header>
<img src="./src/img/logo-nms.png" alt="No Man's Sky Logo" class="nmslogo">
<span>Color parser</span>
<div class="restart"></div>
<div class="menu"></div>
</header>
<main>
<section class="input">
<div id="drop-area">
<p class="error hidden"></p>
<p class="info">Drag the EXML of a color pallete here or select it using the button below.</p>
<input type="file" id="fileElem" onchange="handleFile(this.files)">
<label for="fileElem" class="button">Select</label>
<p class="info">Supported files:</p>
<div class="supported-files"></div>
<p class="info small">You can also click one of the files above to load them.</p>
<p class="info small">Files from version Waypoint patch <span class="gameVersion">4.06</span></p>
</div>
</section>
<section class="output hidden"></section>
<section class="settings">
<div class="settings-header">
<button class="settings-close"></button>
<div class="title">Settings</div>
</div>
<div class="options">
<div class="block" data-option="startIndexZero">
<p class="title">Start color index 0 instead of 1</p>
<span class="checkmark">
</div>
<div class="block" data-option="_16colorsPerLine">
<p class="title">Show 16 colors per line</p>
<span class="checkmark">
</div>
<div class="block" data-option="hideWhitePalettes">
<p class="title">Show palette with all colors white/black</p>
<span class="checkmark">
</div>
</div>
<div class="custom-color">
<div class="title">Custom color palette:</div>
</div>
<div class="color-options">
<div class="color-option" data-option="SkyColour">
<p class="title">SkyColour</p>
<span class="checkmark">
</div>
<div class="color-option" data-option="SkyUpperColour">
<p class="title">SkyUpperColour</p>
<span class="checkmark">
</div>
<div class="color-option" data-option="SkySolarColour">
<p class="title">SkySolarColour</p>
<span class="checkmark">
</div>
<div class="color-option" data-option="HorizonColour">
<p class="title">HorizonColour</p>
<span class="checkmark">
</div>
<div class="color-option" data-option="SunColour">
<p class="title">SunColour</p>
<span class="checkmark">
</div>
<div class="color-option" data-option="FogColour">
<p class="title">FogColour</p>
<span class="checkmark">
</div>
<div class="color-option" data-option="HeightFogColour">
<p class="title">HeightFogColour</p>
<span class="checkmark">
</div>
<div class="color-option" data-option="LightColour">
<p class="title">LightColour</p>
<span class="checkmark">
</div>
<div class="color-option" data-option="CloudColour1">
<p class="title">CloudColour1</p>
<span class="checkmark">
</div>
<div class="color-option" data-option="CloudColour2">
<p class="title">CloudColour2</p>
<span class="checkmark">
</div>
</div>
</section>
<section class="overlay"></section>
</main>
<footer>
<p>Created by RogerHN</p>
<span class="version"></span>
</footer>
</div>
<script src="https://unpkg.com/@popperjs/core@2"></script>
<script src="https://unpkg.com/tippy.js@6"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tinycolor/1.4.2/tinycolor.min.js"></script>
<script src='js/xml2json.js'></script>
<script src="js/script.js"></script>
</body>
</html>