-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
55 lines (54 loc) · 1.22 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Battery Watcher</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
body {
font-family: sans-serif;
text-align: center;
}
.heading {
font-weight: bold;
}
.version {
font-size: 0.9em;
color: grey;
}
.links {
font-size: 0.9em;
position: absolute;
bottom: 10px;
left: 0;
right: 0;
}
</style>
</head>
<body>
<section>
<div>
<img src="./img/icon.png" alt="" />
<div class="heading">
Battery Watcher
</div>
<div class="version">v0.3.0</div>
<div class="links">
<a href="https://github.com/niksudan/battery-watcher" target="_blank"
>GitHub</a
>
| <a href="#" onclick="quit()">Quit</a>
</div>
</div>
</section>
<script type="text/javascript">
const remote = require('electron').remote;
function quit() {
if (remote) {
remote.app.exit();
}
}
</script>
</body>
</html>