-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·40 lines (32 loc) · 1.5 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
<!DOCTYPE html>
<html>
<head>
<title>App</title>
<!-- Need this for Android with Crosswalk -->
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<meta http-equiv="Content-Security-Policy"
content="default-src *;
style-src * 'self' 'unsafe-inline' 'unsafe-eval';
script-src * 'self' 'unsafe-inline' 'unsafe-eval';">
<link rel="stylesheet" type="text/css" href="style.css">
<script type="text/javascript" src="lib/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="connection.js"></script>
<script type="text/javascript" src="init.js"></script>
</head>
<body>
<div id="online" data-iframe="https://network.truecolorsfund.org/?appp=2">
<!-- the iframe is dynamically created here after we check offline/online connection -->
</div>
<div id="offline-footer">
<div id="offline-msg">Lost connection, functionality is limited.</div>
<button class="button button-positive" id="go-offline">Offline Mode</button>
<button class="button button-positive" id="close-offline">Close</button>
</div>
<script type="text/javascript" src="cordova.js"></script>
<script type="text/javascript">
jQuery(document).ready( function() {
onLoad();
} );
</script>
</body>
</html>