-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
106 lines (84 loc) · 3.8 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name = "format-detection" content = "telephone=no"/>
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width;" />
<link rel="stylesheet" type="text/css" href="css/styles.css" />
<link rel="stylesheet" type="text/css" href="js/lib/leaflet/leaflet.css" />
<title>DetroitWiki</title>
</head>
<body>
<div class="app">
<header>
<h1><a href="index.html" class="site-title">DetroitWiki</a></h1>
</header>
<div id="container"></div>
</div>
<!-- Core scripts ================================================-->
<script type="text/javascript" src="js/lib/jquery-1.7.1.js"></script>
<script type="text/javascript" src="js/lib/cordova-2.0.0.js"></script>
<script type="text/javascript" src="js/lib/underscore.js"></script>
<script type="text/javascript" src="js/lib/backbone.js"></script>
<script type="text/javascript" src="js/lib/leaflet/leaflet.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<!-- Templates ========================================================-->
<!-- Home .............................................................-->
<script type="text/template" id="home">
<div id="search"></div>
<div class="near-me">
<h2>Things near me</h2>
<div id="near-me-map"></div>
<p>This will be a map & list of things near you if you have
geolocation turned on.</p>
</div>
<div id="home-page-list"></div>
</script>
<!-- Page .............................................................-->
<script type="text/template" id="page-view">
<div class="page">
<h2 class="page-header"><%= page.name %></h2>
<div id="map-container"></div>
<div id="page-content">
<%= page.content %>
</div>
</div>
</script>
<script type="text/template" id="page-list-view">
<div class="page-list">
<% _.each(pages, function(page) { %>
<div class="page list-elt">
<h2><a href="#page/<%= page.name %>"><%= page.name %></a></h2>
</div>
<% }); %>
</div>
</script>
<!-- Search & Map .....................................................-->
<script type="text/template" id="search-view">
<input type="text" placeholder="Search" class="search" id="search-input">
<div id="search-results"></div>
</script>
<script type="text/template" id="map-view">
<div id="<%= id %>" class="map"></div>
<div id="map-list"></div>
</script>
<!-- App ============================================================-->
<!-- Models & router -->
<script type="text/javascript" src="js/models/site.js"></script>
<script type="text/javascript" src="js/models/pages.js"></script>
<script type="text/javascript" src="js/models/maps.js"></script>
<script type="text/javascript" src="js/models/users.js"></script>
<script type="text/javascript" src="js/models/versions.js"></script>
<script type="text/javascript" src="js/routers/index.js"></script>
<!-- Views -->
<script type="text/javascript" src="js/views/home.js"></script>
<script type="text/javascript" src="js/views/page.js"></script>
<script type="text/javascript" src="js/views/map.js"></script>
<script type="text/javascript" src="js/views/search.js"></script>
<script type="text/javascript" src="js/views/root.js"></script>
<!-- Start the app / PhoneGap stuff -->
<script type="text/javascript">
app.initialize();
</script>
</body>
</html>