-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
55 lines (50 loc) · 1.85 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>SpeedMatch</title>
<link href="assets/speedmatch.css" rel="stylesheet">
<script src="assets/speedmatch.js" type="text/javascript"></script>
</head>
<body onload="openTestCase('testcases/demo.js');">
<div id="wrap">
<h1>SpeedMatch</h1>
<div id="buttonContainer">
<span id="openUrl">
<label for="url">
Enter the test case url:
</label>
<input type="text" id="url" title="Normally, the url ends with .js. View the help.html to learn more." onkeypress="if(arguments[0].keyCode || arguments[0].which == 13)openTestCase(this.value)" value="testcases/all.js">
<input type="button" onclick='openTestCase(document.getElementById("url").value)' value="Open Test Case" class="button">
</span>
<input type="button" onclick='startSpeedMatch(1, 1)' value="Start Tests" class="button">
<input type="button" onclick='stopSpeedMatch()' value="Stop Tests" class="button">
</div>
<table id="testcases">
</table>
<div id="note">
<h4>Note</h4>
<ol>
<li>Testcase.js is relative to current html file. <a href="testcases/hello world.js" target="_blank">Here is a sample of testcase.js</a></li>
<li>Double click any cell to rerun.</li>
</ol>
</div>
<div id="tools">
<div id="frames">
</div>
<table id="colors">
<tr>
<td class="best">Best</td>
<td class="normal">Normal</td>
<td class="worst">Worst</td>
<td class="error">Error</td>
</tr>
</table>
</div>
<div id="copyright">
SpeedMatch 1.3 | Copyright © 2011 xuld. | <a href="http://work.xuld.net/download/speedmatch.zip.axd" target="download">Download</a>
</div>
</div>
</body>
</html>