-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
78 lines (78 loc) · 2.38 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
<!DOCTYPE html>
<html>
<!--html manifest="cache.appcache"-->
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<script>
(function() {
var ua = navigator.userAgent.toLowerCase();
var isWebkit = (ua.indexOf('applewebkit') !== -1);
var isFirefox = (ua.indexOf('firefox') !== -1);
var html = document.getElementsByTagName('html')[0];
if (isWebkit) {
html.classList.add('webkit');
} else if (isFirefox) {
html.classList.add('firefox');
};
})();
</script>
<link rel="stylesheet" type="text/css" href="css/timecard.css" />
<link rel="stylesheet" type="text/css" href="css/animation.css" />
<title>Time Card</title>
</head>
<body>
<div id="cardContainer">
<div id="cardWrapper">
<div id="card">
<div id="list"></div>
</div>
</div>
</div>
<div id="recorder">
<button id="arrive">Arrive</button>
<button id="leave">Leave</button>
<div id="clock">
<div id="date"></div>
<div id="time"></div>
<div id="delay"></div>
</div>
</div>
<div id="loupeWrapper">
<div id="loupe">
<table id="loupeTable">
<tbody>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td>
<span id="recordedTime"></span>
<form id="modifyTimeForm" action="#">
<input type="text" id="modifyTimeText" maxlength="8" value=""
pattern="^([0-2][0-9]:?[0-5][0-9]:?[0-5][0-9]|[0-2]?[0-9]:[0-5]?[0-9]:[0-5]?[0-9])$" />
</form>
</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="grayOut"></div>
<a href="#installFirefoxApp" id="installFirefoxApp">Install</a>
<script src="js/hammer.js"></script>
<script src="getjst.js/getjst.js"></script>
<script src="js/timecard.js"></script>
</body>
</html>