forked from jaasonw/osuStreamSpeed.js
-
Notifications
You must be signed in to change notification settings - Fork 24
/
newindex.html
executable file
·125 lines (109 loc) · 4.93 KB
/
newindex.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"/></script>
<script src="canvasjs-1.8.0/jquery.canvasjs.min.js"></script>
<script src="newmain.js"/></script>
<title>you suck at streaming v2</title>
<img style="position: absolute; top: 0; left: 0; border: 0;" src="https://camo.githubusercontent.com/121cd7cbdc3e4855075ea8b558508b91ac463ac2/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f6c6566745f677265656e5f3030373230302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_left_green_007200.png"></a>
<!-- Bootstrap -->
<!-- <link href="css/bootstrap.min.css" rel="stylesheet"> -->
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<style>
body {
background: #59CCF2 !important;
}
/* Sticky footer styles
-------------------------------------------------- */
html {
position: relative;
min-height: 100%;
}
body {
/* Margin bottom by footer height */
margin-bottom: 80px;
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
margin-top: 20px;
/* Set the fixed height of the footer here */
height: 40px;
background-color: #11a4d4;
}
</style>
</head>
<body>
<div class="container text-center" role="main" style="font-size:20px">
<div class="page-header text-center">
<h1>osu! Stream Speed Benchmark</h1>
</div>
<div id="radiobtns" class="text-center">
<label class="radio-inline">
<input type="radio" name="roption" onClick="radiof(1)" value="clicks" checked /> Clicks
</label>
<label class="radio-inline" style="margin-left: 20px !important">
<input type="radio" name="roption" onClick="radiof(2)" value="time" /> Time
</label>
</div>
<div>
<input type="checkbox" name="cmouse" /> Enable mouse buttons
</div>
<br />
<div id="numClicks">
Number of clicks<br />
<input id = "clickNum" type="number" min="3"/>
<br /><br />
</div>
<div id="timeClicks" style="display:none">
Time:<br />
<input id="clickTime" type="number" min="2"/>
<br /><br />
</div>
Key 1<br />
<input id="key1" maxlength="1"/><br />
Key 2<br />
<input id="key2" maxlength="1"/><br /><br />
<button id="submit" onclick = "beginTest()" type="button">Begin Test</button><br />
<button id="stopbtn" onClick="endTest()" type="button" style="display:none">Stop Test</button><br />
<div id="status">Time starts when you make your first click.</div>
<h3>Your Results:</h3>
<div id="Result">
Tap Speed: 0 taps / 0 seconds.<br />
Stream Speed: 0 bpm.<br />
Unstable Rate: 0.
</div>
<div id="chartContainer" class="container" style="width:600px;height:300px;margin-bottom: 80px;margin-top:15px">
</div>
</div>
<footer class="footer">
<div class="container" style="text-align:left">
Original by arctic, rewritten by Ckris<br>
<a href="https://github.com/ckrisirkc/osuStreamSpeed.js">View Source on Github</a>
</div>
</footer>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<!-- script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> -->
<!-- Include all compiled plugins (below), or include individual files as needed -->
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
</body>
</html>
<!-- copypasta area
<button type="button" class="btn btn-lg btn-default">Default</button>
-->