forked from athlan/remotely
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
40 lines (35 loc) · 1.05 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
<html>
<head>
<meta name="viewport" content="width=device-width, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes" />
<script src="assets/js/basket.full.min.js"></script>
<script>
basket
.require(
{ url: 'assets/js/jquery-1.10.2.min.js' },
{ url: 'assets/js/socket.io.js' }
)
.then(function() {
basket.require({ url: 'assets/js/jquery.mobile-1.3.2.min.js' });
})
.then(function() {
basket.require({ url: 'app.js' });
})
.then(function() {
$(function() {
var instance = new App()
instance.serverAddress = $('body').data('server')
instance.serverRemoteHost = $('body').data('server-remote-host')
instance.serverRemotePort = $('body').data('server-remote-port')
instance.run()
})
});
</script>
<style type="text/css">
body { padding: 0; margin: 0; background: black; }
.ui-loader { display: none; }
</style>
</head>
<body data-server="192.168.1.127:8080" data-server-remote-host="192.168.1.127" data-server-remote-port="8081">
</body>
</html>