-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathindex.html
36 lines (35 loc) · 802 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
<style>
html,body{
height: 100%;
margin:0;
}
#device{
max-width: 100%;
max-height: calc(100% - 64px);
}
.buttons{
position: absolute;
bottom: 0;
height: 64px;
background-color: black;
}
</style>
</head>
<body>
<div class='buttons'>
<button value='Menu' onclick="client.buttonMenu()">Menu</button>
<button value='home' onclick="client.buttonHome()">Home</button>
<button value='back' onclick="client.buttonBack()">Back</button>
</div>
</body>
<script>
// You can also require other files to run in this process
client = require('./renderer.js');
console.log('client', client);
</script>
</html>