-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
135 lines (116 loc) · 4.11 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
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
126
127
128
129
130
131
132
133
134
135
<!doctype html>
<html lang="en-GB">
<head>
<title>RosClock</title>
<meta name="description" content="Personal karting laptimer for smartphone" />
<meta name="theme-color" content="#000000"/>
<!-- http://www.onlywebpro.com/2015/07/19/optimizing-full-screen-mobile-web-app-for-ios/ -->
<meta name="viewport" content = "width = device-width, initial-scale = 1.0, minimum-scale = 1, maximum-scale = 1, user-scalable = no" />
<meta name="mobile-web-app-capable" content="yes">
<link rel="manifest" href="/manifest.json">
<meta name="apple-mobile-web-app-title" content="RosClock" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<link rel="apple-touch-icon" sizes="57x57" href="/img/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/img/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/img/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/img/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/img/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/img/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/img/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/img/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="/img/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/img/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/img/favicon-16x16.png">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/img/ms-icon-144x144.png">
<link rel="apple-touch-startup-image" href="/img/iphone-splash.png">
<script>
if('serviceWorker' in navigator) {
navigator.serviceWorker.register('/sw.js', { scope: '/' })
.then(function(registration) {
console.log('Service Worker Registered');
});
navigator.serviceWorker.ready.then(function(registration) {
console.log('Service Worker Ready');
});
}
</script>
<!-- jQuery -->
<script
src="https://code.jquery.com/jquery-3.6.0.min.js"
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
crossorigin="anonymous"></script>
<!-- Styling -->
<link rel="stylesheet" type="text/css" href="/style.css" />
<link rel="stylesheet" type="text/css" href="/landscape.css" media="screen and (orientation: landscape)" />
<link rel="stylesheet" type="text/css" href="/portrait.css" media="screen and (orientation: portrait)" />
<script src="/NoSleep.min.js" defer></script>
<script src="/script.js" defer></script>
</head>
<body>
<div id="apptitle" class = "header" >
RosClock
</div>
<div id='installer'>
<button class='button'>Install</button>
</div>
<div class="row" id="main">
<div class="col-6" id="col1">
<div class="well">
<table>
<caption id="heatcap">Heat</caption>
<tr>
<td>Status</td>
<td id="heatstatus">-</td>
</tr>
<tr>
<td>Start</td>
<td id="heatstart">-</td>
</tr>
<tr>
<td>Running</td>
<td id="heatrunning">-</td>
</tr>
</table>
<br>
<table>
<caption>Driver</caption>
<tr>
<td colspan="2" nowrap>
<select id="karts" aria-label="kartsselector">
<option value="0">Select driver</option>
</select>
</td>
</tr>
</table>
</div>
</div>
<div class="col-6" id="col2">
<div class="well">
<table>
<caption id="datacap">System</caption>
<tr>
<td>Socket</td>
<td id="datasocket">-</td>
</tr>
<tr>
<td>Active</td>
<td id="dataactive">-</td>
</tr>
<tr><td colspan="2">
<div id="debuglog"> </div>
</td></tr>
</table>
</div>
</div>
<div class="col-12" id="colall" style="display: none;">
<div class="well">
<div class="clock" id="clock"> ?:? </div>
</div>
</div>
</div>
</body>
</html>