-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
121 lines (115 loc) · 3.58 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Minesweeper X Stats viewer</title>
<link type="text/css" href="css/main.css" media="all" rel="stylesheet" />
<link type="text/css" href="css/menu.css" media="all" rel="stylesheet" />
<meta
name="description"
content="Website to visualize Minesweeper X's stats file"
/>
<meta name="keywords" content="stats, minesweeper, stats reader" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="og:description"
content="Website to visualize Minesweeper X's stats file"
/>
<meta property="og:title" content="Minesweeper X Stats viewer" />
<meta property="og:locale" content="en_US" />
<meta name="theme-color" content="#43B581" data-react-helmet="true" />
<meta
name="twitter:description"
content="Website to visualize Minesweeper X's stats file"
/>
<meta property="twitter:title" content="Minesweeper X Stats viewer" />
</head>
<body>
<h1>Minesweeper X Stats viewer</h1>
<div id="container">
<div id="inputSection" class="greyBox">
<div id="inputLabel" class="btn">Open stats.txt file...</div>
<br />
<input type="file" id="input" name="statsfile" accept=".txt" />
</div>
<div id="outputSection">
<h3>Select a stats.txt file to begin.</h3>
</div>
<hr />
<div id="stats" style="display: none">
<div
id="gamesPlayed"
class="roundedBox"
style="border: 4px solid #2f1ece"
></div>
<div
id="gamesWon"
class="roundedBox"
style="border: 4px solid #e9a104"
></div>
<div
id="winStreak"
class="roundedBox"
style="border: 4px solid #570600"
></div>
<div
id="difficulties"
class="roundedBox"
style="border: 4px solid #1ece6d"
></div>
<div
id="winRate"
class="roundedBox"
style="border: 4px solid #dd009b"
></div>
<div
id="lifePlaytime"
class="roundedBox"
style="border: 4px solid #441b91"
></div>
<div
id="averagePlaytime"
class="roundedBox"
style="border: 4px solid #e95f04"
></div>
<div
id="personalBest"
class="roundedBox"
style="border: 4px solid #007c00"
></div>
<div
id="mouseClicks"
class="roundedBox"
style="border: 4px solid #e91304"
></div>
<br />
</div>
<div>
<canvas id="chart" style="display: none"></canvas>
</div>
</div>
<div id="menuContainer" class="menuContainer">
<div id="menu" class="menu" onclick="menu(this)">
<div class="bar1"></div>
<div class="bar2"></div>
<div class="bar3"></div>
</div>
<div id="button" class="btn-toggle">Dark Mode</div>
</div>
<div id="source" class="footer">
<font size="2">
<i>
Source code available on
<a href="https://github.com/MeijiRestored/msx-stats" target="_blank"
>GitHub</a
>
• v1.3.0
</i>
</font>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script type="text/javascript" src="js/main.js"></script>
<script type="text/javascript" src="js/dark.js"></script>
<script type="text/javascript" src="js/menu.js"></script>
</body>
</html>