-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
108 lines (104 loc) · 5.51 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<link rel="icon" href="favicon.ico">
<link rel="icon" href="favicon-192.png" sizes="192x192">
<title>beat saber map inspector</title>
</head>
<body class="dark">
<div class="topbar" id="topbar">
<h1 id="title">beat saber map inspector</h1>
<div>
<label for="theme">night mode </label><input type="checkbox" id="theme" checked>
<a id="help" href="https://github.com/GalaxyMaster2/bs-parity/wiki" target="_blank" rel="noopener noreferrer">?</a>
</div>
</div>
<div id="drop-overlay" class="overlay"></div>
<div class="intro" id="intro">
<div class="choose-file">
<input type="file" name="file" id="file" class="inputfile" accept=".dat,.zip">
<label for="file">
<span><strong>choose a difficulty.dat / map.zip</strong> or drag it here</span>
</label>
<span class="uploading-text">uploading map</span>
<span class="downloading-text">downloading map<span id="download-progress"></span></span>
<span class="done-text">done!</span>
</div>
<input type="text" name="url" id="url" class="url-input" placeholder="or enter a link to a map zip / beatsaver key and press enter">
<span class="madeby">made by GalaxyMaster and infinityio</span>
<div id="error-overlay" class="overlay"></div>
<div id="load-error">
<strong>error: </strong>
<span id="load-error-text"></span>
<div id="close-error"></div>
</div>
</div>
<div class="main">
<div class="renderbox">
<div id="render-wrapper">
<div id="render-container">
<div id="grid-container">
<div id="marker-container"></div>
<div id="wall-container"></div>
<div id="note-container"></div>
</div>
<span id="playback"></span>
</div>
</div>
<div class="sliders-container">
<div class="slider">
<input type="range" min="1" max="8" value="4" step="0.05" id="renderDistance" title="4.00 beats">
<label for="renderDistance">render distance</label>
</div>
<div class="slider">
<input type="range" min="0.5" max="2.25" value="1.25" step="0.05" id="timeScale" title="1.25x">
<label for="timeScale">time scaling</label>
</div>
<div class="slider">
<input type="range" min="1" max="8" value="4" step="1" id="divisionValue" title="1/4">
<label for="divisionValue">beat marker subdivision</label>
</div>
<div class="slider">
<input type="range" min="0.5" max="2" value="0.85" step="0.05" id="perspectiveIntensity" title="0.85">
<label for="perspectiveIntensity">perspective intensity</label>
</div>
</div>
<div class="renderbox-toggle">
<label for="toggleWalls">render walls (experimental) </label><input type="checkbox" id="toggleWalls">
</div>
</div>
<div class="outputbox">
<div class="outboxline diff-select-container">
<label for="diff-select">select difficulty:</label>
<select id="diff-select"></select>
</div>
<div class="outboxline">
<label for="slider-precision">slider precision: 1/</label>
<input type="number" id="slider-precision" min="0" value="8">
(blank / zero assumes no sliders)
</div>
<div class="outboxline">
<label for="errors">errors </label><input type="checkbox" id="errors" checked>
<label for="warnings">warnings </label><input type="checkbox" id="warnings" checked>
<label for="bookmarks">bookmarks </label><input type="checkbox" id="bookmarks" checked>
<label for="stats">statistics </label><input type="checkbox" id="stats">
</div>
<div class="outboxline" id="summary">found no errors and no warnings</div>
<div class="statsbox outboxline hide" id="statsbox"></div>
<div class="outputwrapper">
<div id="output" class="showErrors showWarnings showBookmarks"></div>
</div>
</div>
</div>
</body>
<script src="scripts/libs/ola.min.js" defer></script>
<script src="scripts/libs/jszip.min.js" defer></script>
<script src="scripts/strings.js" defer></script>
<script src="scripts/main.js" defer></script>
<script src="scripts/ui.js" defer></script>
<script src="scripts/input.js" defer></script>
<script src="scripts/render.js" defer></script>
</html>