Skip to content

Commit 72b7448

Browse files
Added cache manifest file
* added cache.manifest as per HTML5 specs * added .manifest MIME type to .htaccess * added fonts MIME types * updated README
1 parent 9032081 commit 72b7448

File tree

4 files changed

+69
-1
lines changed

4 files changed

+69
-1
lines changed

.htaccess

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
<IfModule mod_deflate.c>
22
SetOutputFilter DEFLATE
33
</IfModule>
4+
5+
AddType text/cache-manifest .manifest
6+
AddType text/cache-manifest .appcache
7+
8+
AddType application/x-font-woff .woff
9+
AddType application/x-font-ttf .ttf
10+
AddType application/vnd.ms-fontobject .eot
11+
AddType image/svg+xml .svg

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ Also, works great on desktops, laptops or netbooks. It is build upon
66

77
[Live version](http://habhub.org/mt/)
88

9+
## Geo position
10+
11+
The app will ask for permission to use your location.
12+
This is requird for some of the features. It is **important** to note that
13+
your location will not be made available or send to anyone. Unless you enable
14+
the `chase car mode`, which will periodically upload it to habitat. _The app
15+
will always start with `chase car mode` disabled._
16+
917
## Design
1018

1119
Author: Daniel Saul [@danielsaul](https://github.com/danielsaul)

cache.manifest

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
CACHE MANIFEST
2+
# updated on 26-01-2013
3+
4+
img/logo.png
5+
img/marker-you.png
6+
img/markers/antenna-green.png
7+
img/markers/balloon-blue.png
8+
img/markers/balloon-orange.png
9+
img/markers/balloon-purple.png
10+
img/markers/balloon-red.png
11+
img/markers/balloon-yellow.png
12+
img/markers/car-blue.png
13+
img/markers/car-green.png
14+
img/markers/car-red.png
15+
img/markers/car-yellow.png
16+
img/markers/parachute-blue.png
17+
img/markers/parachute-green.png
18+
img/markers/parachute-red.png
19+
img/markers/parachute-yellow.png
20+
img/markers/parachute-cyan.png
21+
img/markers/parachute-orange.png
22+
img/markers/parachute-purple.png
23+
img/markers/payload-blue.png
24+
img/markers/payload-cyan.png
25+
img/markers/payload-green.png
26+
img/markers/payload-orange.png
27+
img/markers/payload-purple.png
28+
img/markers/payload-red.png
29+
img/markers/payload-yellow.png
30+
img/markers/shadow.png
31+
img/markers/target-blue.png
32+
img/markers/target-cyan.png
33+
img/markers/target-green.png
34+
img/markers/target-orange.png
35+
img/markers/target-purple.png
36+
img/markers/target-red.png
37+
img/markers/target-yellow.png
38+
css/mobile.css
39+
js/mobile.js
40+
font/HabitatFont.eot
41+
font/HabitatFont.svg
42+
font/HabitatFont.ttf
43+
font/HabitatFont.woff
44+
45+
NETWORK:
46+
*
47+
48+
FALLBACK:
49+
/ index.html

index.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
<!DOCTYPE html>
2-
<html lang="en">
2+
<html lang="en" manifest="cache.manifest">
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
55
<title>habitat mobile tracker</title>
6+
<meta name="description" content="A cross-device tracking application for high altitude ballooning with habitat" />
7+
<meta name="author" content="Rossen Georgiev" />
68
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
9+
<meta name="apple-mobile-web-app-title" content="Mobile Tracker">
710
<meta name="apple-mobile-web-app-capable" content="yes" />
811
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
912
<link rel="apple-touch-icon" sizes="144x144" href="img/apple-touch-icon.png" />

0 commit comments

Comments
 (0)