-
Notifications
You must be signed in to change notification settings - Fork 225
/
index.html
68 lines (55 loc) · 2.16 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
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html>
<!--
Exchange the line above for this to enable offline support
<html manifest="manifest.appcache">
Please make your homework before doing this:
http://www.alistapart.com/articles/application-cache-is-a-douchebag/
http://appcachefacts.info
This might be necessary to set up on your server, to make sure
files are updated when the appcache file itself is:
https://github.com/robnyman/Firefox-OS-Boilerplate-App/blob/gh-pages/.htaccess
-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" type="text/css" href="css/base.css">
<link rel="stylesheet" type="text/css" href="css/headers.css">
<link rel="stylesheet" type="text/css" href="css/buttons.css">
<link rel="stylesheet" type="text/css" href="css/toolbars.css">
<title>Firefox OS Boilerplate App</title>
</head>
<body>
<section role="region">
<header>
<!-- Icon that will indicate whether you are online or offline - enabled if you are using offline/appcache (see above) -->
<div id="online-status" title="Online"></div>
<menu type="toolbar">
<button id="install"><span class="icon icon-add">add</span></button>
</menu>
<h1>
Firefox OS Boilerplate
</h1>
</header>
</section>
<div id="main">
<p id="installation-instructions">Press the + button in the top right corner to install this app.</p>
<h3>Privileged APIs</h3>
<button id="device-storage-pictures">deviceStorage - pictures</button>
<div id="device-storage-pictures-display"></div>
</div>
<footer>
<div role="toolbar">
<ul>
<li><button id="reload" class="update">Update</button></li>
</ul>
</div>
</footer>
<script type="text/javascript" src="js/base.js"></script>
<script type="text/javascript" src="js/webapp.js"></script>
<script type="text/javascript" src="js/offline.js"></script>
<!--
Loosely based on fxosstub: https://github.com/Jaxo/fxosstub
-->
</body>
</html>