forked from paragi/timexe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.html
93 lines (82 loc) · 1.99 KB
/
test.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
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8" />
<title>Timed execution test page</title>
<script type="text/JavaScript" src="timexe.js"></script>
<style>
*{
color: #FFEDBA;
border-color: #FFEDBA;
border-color: #FFEDBA;
font-size: 16pt;
font-family: serif, Times,"Times New Roman" ;
}
body{
background-color: #460918;
margin-left: auto ;
margin-right: auto ;
}
.container{
border:2px solid #f0d988;
padding:3px;
border-radius:10px;
background-color: #460918;
background-repeat: no-repeat;
background-size:100% 100%;
box-shadow: 3px 3px 3px #291b2c;
float:left;
margin: 10px;
}
table td{ padding-right:5px;}
table th{ text-align:left;}
table tr:nth-child(even) {
background-color:rgba(240,217,136,0.2);
}
</style>
</head>
<body>
<h1>Timexe test page</h1>
<!----------------------------------------------------------------------------->
<div class="container">
<b>Short term timer test:</b>
<table border="1px" width=330px">
<tr>
<td id="t11" height="100px" align="center"></td>
<td id="t12" width="100px" align="center"></td>
<td id="t13" width="100px" align="center"></td>
</tr></tr>
<td id="t21" height="100px" align="center"></td>
<td id="t22" align="center"></td>
<td id="t23" align="center"></td>
</tr></tr>
<td id="t31" height="100px" align="center"></td>
<td id="t32" align="center"></td>
<td id="t33" align="center"></td>
</tr>
</table>
</div>
<br><br>
<!----------------------------------------------------------------------------->
<div class="container" id="syntax">
<b>Time expression syntax test cases:</b><br><br>
</div>
<br><br>
<div class="container" id="timer">
<b>Timer test cases</b>
<table>
<tr><td id="test-3-index"></td>
<td>Test of deferred timer"</td>
<td id='test-3-data'></td>
<td id='test-3-res'>Not fired</td>
</tr>
</table>
</div>
<br><br>
<div class="container" id="timer list">
<b>List of active timers:</b>
</div>
<!----------------------------------------------------------------------------->
<script type="text/JavaScript" src="test.js"></script>
</body>
</html>