This repository has been archived by the owner on Feb 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
loadingBootScreen.html
69 lines (59 loc) · 1.67 KB
/
loadingBootScreen.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Scoreboard</title>
<style>
body {
font-family: system, -apple-system, '.SFNSText-Regular', 'SF UI Text', 'Lucida Grande', 'Segoe UI', Ubuntu, Cantarell, sans-serif;
color: #fff;
background-color: #8aba87;
text-align: center;
}
h1 {
font-size: 150px;
}
h2 {
font-size: 40px;
}
p {
font-size: 15px;
}
content {
padding: 0;
margin: 0;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.bottomtext {
opacity: 0.7;
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
}
</style>
</head>
<body>
<div id="content">
<h1>Scoreboard</h1>
<p>
Chromium <script>document.write(process.versions.chrome)</script><br/>
Electron <script>document.write(process.versions.electron)</script><br/>
Serialport <script>document.write(require('serialport/package').version)</script>
<br/><br/>
<h2 style="font-style: italic;">Searching for Controller Device</h2>
</p>
</div>
<p class="bottomtext">
<a id="noController" class="color: inherit; font-size: 12px; text-decoration: none; color: white;">Use without one</a><br/>
<a id="closeApp" class="color: inherit; font-size: 12px; text-decoration: none; color: white;">Close</a>
</p>
</body>
<script>
// You can also require other files to run in this process
require('./renderer.js')
</script>
</html>