-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
135 lines (135 loc) · 4.83 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>HitScoreVisualizer Preview</title>
<meta name="description" content="Preview tool for Beat Saber HitScoreVisualizer mod">
<link rel="icon" type="image/png" href="images/favicon.png">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="previewColumn">
<div id="previewAll" class="scores"></div>
<div id="preview" class="scores"></div>
<div id="previewToolbar" class="toolbar footer">
<label for="bRangeInput">Before</label><input id="bRangeInput" type="range" min="0" max="70" value="70">
<label for="cRangeInput">Accuracy</label><input id="cRangeInput" type="range" min="0" max="15" value="15">
<label for="aRangeInput">After</label><input id="aRangeInput" type="range" min="0" max="30" value="30">
</div>
<div class="toolbar footer">
<a href="https://github.com/ibillingsley/HitScoreVisualizerPreview" target="_blank">Source</a>
<a href="https://github.com/ErisApps/HitScoreVisualizer#how-to-config-aka-config-explained" target="_blank">Docs</a>
<div class="spacer"></div>
<label><input id="chainInput" type="checkbox"> Chains</label>
<label><input id="bloomInput" type="checkbox"> Bloom</label>
<label><input id="italicsInput" type="checkbox" checked> Italics</label>
<label><input id="backgroundInput" type="checkbox" checked> Background</label>
<label><input id="previewInput" type="checkbox" checked> Preview</label>
<label><input id="helpInput" type="checkbox" checked> Tokens</label>
</div>
</div>
<div id="editorColumn">
<div class="toolbar">
<select id="loadInput">
<option value="">Load</option>
<optgroup label="Presets">
<option value="HitScoreVisualizerConfig (default).json">HitScoreVisualizerConfig (default).json</option>
<option value="BeatLeader.json">BeatLeader.json</option>
<option value="BeatLeader_compact.json">BeatLeader_compact.json</option>
<option value="acc_compact.json">acc_compact.json</option>
<option value="ice_fire.json">ice_fire.json</option>
<option value="ice_fire_compact.json">ice_fire_compact.json</option>
<option value="ice_fire_strict.json">ice_fire_strict.json</option>
<option value="ice_fire_big.json">ice_fire_big.json</option>
</optgroup>
<optgroup label="Remote">
<option value="url">URL…</option>
</optgroup>
<optgroup label="Local File">
<option value="file">Browse…</option>
</optgroup>
</select>
<input id="fileInput" type="file" accept=".json">
<input id="filenameInput" type="text">
<button id="format">Format</button>
<button id="download">Save</button>
</div>
<form action="https://jsonformatter.curiousconcept.com/" method="post" target="_blank">
<textarea id="textInput" name="data" spellcheck="false"></textarea>
<div id="error" class="hidden">
<button type="submit" title="Validate">Error</button>
<span id="errorMessage" title="Go to error"></span>
<input type="hidden" name="template" value="twospace">
<input type="hidden" name="process" value="true">
</div>
</form>
<table id="help">
<tr>
<th colspan="3">Format Tokens</th>
</tr>
<tr>
<td>%s</td>
<td>Total cut score (0-115)</td>
<td><input id="sInput" type="text" value="115" disabled></td>
</tr>
<tr>
<td>%p</td>
<td>Total cut score percent (0-100)</td>
<td><input id="pInput" type="text" value="100" disabled></td>
</tr>
<tr>
<td>%b</td>
<td>Before cut score (0-70)</td>
<td><input id="bInput" type="number" min="0" max="70" value="70"></td>
</tr>
<tr>
<td>%c</td>
<td>Accuracy score (0-15)</td>
<td><input id="cInput" type="number" min="0" max="15" value="15"></td>
</tr>
<tr>
<td>%a</td>
<td>After cut score (0-30)</td>
<td><input id="aInput" type="number" min="0" max="30" value="30"></td>
</tr>
<tr>
<td>%t</td>
<td>Time dependence (0-1)</td>
<td><input id="tInput" type="number" min="0" max="1" step="0.01" value="0.33"></td>
</tr>
<tr>
<td>%B</td>
<td colspan="2">Text matching threshold in <code>beforeCutAngleJudgments</code></td>
</tr>
<tr>
<td>%C</td>
<td colspan="2">Text matching threshold in <code>accuracyJudgments</code></td>
</tr>
<tr>
<td>%A</td>
<td colspan="2">Text matching threshold in <code>afterCutAngleJudgments</code></td>
</tr>
<tr>
<td>%T</td>
<td colspan="2">Text matching threshold in <code>timeDependencyJudgments</code></td>
</tr>
<tr>
<td>%n</td>
<td colspan="2">Newline</td>
</tr>
<tr>
<td>%%</td>
<td colspan="2">Percent symbol</td>
</tr>
<tr>
<td colspan="3"><size=150%>…</size></td>
</tr>
<tr>
<td colspan="3"><color=#FFFFFF>…</color></td>
</tr>
</table>
</div>
<input id="colorInput" type="color">
<script src="main.js"></script>
</body>
</html>