forked from dwyl/learn-qunit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
32 lines (27 loc) · 890 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Simple Stopwatch</title>
<link href="/style.css" rel="stylesheet">
<script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="./lib/stopwatch.js"></script>
</head>
<body>
<div id='timer'>00:00:00:00</div>
<div id='labels'>
<span id='hh'>Hours</span>
<span id='mm'>Minutes</span>
<span id='ss'>Seconds</span>
<span id='ms'>Centiseconds</span>
</div>
<div id='controls'>
<button onclick='T.startTimer()' id='go'>Go</button>
<button onclick='T.stopTimer( new Date().getTime() )' id='stop'>Stop</button>
<button onclick='T.resetTimer()' id='clear'>Clear</button>
</div>
<br /> <!-- display test results inline with stopwatch -->
<iframe frameborder="0" width="100%" height="500px" src="/test/test.html?coverage=true"> </iframe>
<br />
</body>
</html>