forked from hwstartup/TheMakerMap.com
-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
257 lines (233 loc) · 15.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
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>The Maker Network || Find or Map Maker Resources</title>
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta property="og:title" content="Find and Map Maker Resources"/>
<meta property="og:site_name" content="The Maker Network"/>
<meta property="og:description" content="The Melbourne Maker Network is an ongoing open source project which aims to cre - from workspaces to incubators - which is powered by the maker community and easily searchable on any device."/>
<link rel="stylesheet" href="./css/bootstrap.css">
<link rel="stylesheet" href="./css/screen.css">
<link rel="stylesheet" href="./css/phone.css" media="only screen and (max-device-width: 480px)">
<link rel="stylesheet" href="./css/tablet.css" media="only screen and (min-device-width: 768px) and (max-device-width: 1024px)">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<link rel="stylesheet" href="./css/gmaps-sidebar.min.css" />
<link href="//fonts.googleapis.com/css?family=PT+Sans|PT+Sans+Narrow:400,700" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="./css/makermap.css">
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-594BVF"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-594BVF');</script>
<!-- End Google Tag Manager -->
<div id="sidebar" class="sidebar collapsed">
<!-- Nav tabs -->
<div class="sidebar-tabs">
<ul role="tablist">
<li><a href="#home" role="tab"><i class="fa fa-bars"></i></a></li>
</ul>
<ul role="tablist">
<li><a href="#about" role="tab"><i class="fa fa-info-circle"></i></a></li>
</ul>
</div>
<!-- Tab panes -->
<div class="sidebar-content">
<div class="sidebar-pane" id="home">
<div class="header">
<img class="img-responsive header-img" src="img/maker_network_icon.png">
<span class="brand">The Maker Network</span>
<i id="mainBusy" class="fa fa-refresh fa-spin fa-2x"></i>
<!-- <div class="menuToggle"><i class="fa fa-reorder"></i></div> -->
</div><!-- .header -->
<div class="sidebar-close"><i class="fa fa-3x fa-caret-left"></i></div>
<div id="mobileWrap">
<div class="menu">
<a class="menu-btn btn btn-primary search" role="button" title="Search Maps" target="_blank" id='search-nav'><i class="fa fa-2x fa-search"></i><br/>Search Map</a>
<a class="menu-btn btn btn-primary addContent" role="button" title="Add Space" target="_blank" id="add-content-nav"><i class="fa fa-2x fa-plus"></i><br/>Add Space</a>
<a class="menu-btn btn btn-primary addResource" role="button" title="Add Materials or Tools" target="_blank" id="add-resource-nav"><i class="fa fa-2x fa-plus"></i><br/>Add Resource</a>
</div><!-- .menu -->
<div class="searchMenu">
<div class="aboutWrap">
<div class="about">
<div class="searchAction">
Search...
<div class="searchIcon"><i class="fa fa-search"></i></div>
</div>
</div><!-- .about -->
</div><!-- .aboutWrap -->
<div class="searchWrap">
<form id="search">
<input id="searchForm" type="text" placeholder="Search..." />
</form>
<!-- FIXME: Not using FontAwesome icon versions because they won't show -->
<div class="searchIcon"><i class="icon-search"></i></div>
<div class="filterIcon"><i class="icon-tags"></i></div>
</div><!-- .searchWrap -->
<div class="filtersWrap">
<div class="filterHeader" id="filterType">Search By
<label><input type="radio" name="type" value="space"> Spaces</label>
<label><input type="radio" name="type" value="resource"> Resources</label>
<label><input type="radio" name="type" value="all" checked> Both</label>
</div>
<div class="filterWrap">
<div class="filterHeader"><i class="fa fa-filter"></i> Filter Spaces By Primary Classification</div>
<form id="filter">
<ul class="filters">
<li><label class="any-filter">Any<input type="checkbox" class="classification-filter" value="any" checked></label></li>
</ul>
</form>
</div><!-- .filterWrap -->
<div class="filterWrap">
<div class="filterHeader"><i class="fa fa-filter"></i> Filter Resources By Material Type</div>
<form id="filterMaterials">
<ul class="filters">
<li><label class="any-filter">Any<input type="checkbox" class="classification-filter" value="any" checked></label></li>
</ul>
</form>
</div><!-- .filterWrap -->
</div><!-- .filtersWrap -->
</div><!-- .searchMenu -->
<!-- ADD CONTENT SECTION -->
<div class="addContentMenu">
<div class="addContentWrap">
<form id="newMaker">
<div class="addInputWrap">
<div class="form-group">
<select class="form-style" id="maker_business_type" placeholder="Business types" required >
</select>
<select class="form-style" id="maker_classification" placeholder="Select Primary Classificaton" required >
</select>
<input type="text" class="form-style" id="maker_title" placeholder="Name of your space" required >
<input type="text" class="form-style" id="maker_address" placeholder="Address" required >
<input type="text" class="form-style" id="maker_businessHours" placeholder="Business hours">
<input type="tel" class="form-style" id="maker_phone" placeholder="Phone number">
<input type="email" class="form-style" id="maker_email" placeholder="Email address">
<input type="url" class="form-style" id="maker_website" placeholder="Website">
<textarea class="form-style" id="maker_description" placeholder="Give us a description of your place" required ></textarea>
<input type="text" class="form-style" id="maker_contributor" placeholder="Your name" required >
<div class="maker-coordinates">
<input type="hidden" id="maker_longitude" data-geo="lng" />
<input type="hidden" id="maker_latitude" data-geo="lat" />
</div>
</div> <!-- .form-group -->
</div><!-- .addContentWrap -->
<div class="checkBoxWrap">
<label>
<input type="checkbox" id="maker_supplier"> Supplier
</label>
</p>
<div class="text-center">
<button type="submit" class="btn btn-lg btn-primary submit-action">Submit</button>
</div>
</div><!-- .checkBoxWrap -->
</form>
</div><!-- .addContentWrap -->
</div><!-- .addContentMenu -->
<!-- END OF CONTENT SECTION -->
<!-- ADD RESOURCE SECTION -->
<div class="addResourceMenu">
<div class="addResourceWrap">
<form id="newAsset">
<div class="addInputWrap">
<div class="form-group">
<select class="form-style" id="asset_material_type" placeholder="Resource Types">
</select>
<input type="text" class="form-style" id="asset_title" class="" placeholder="Title" required >
<input type="number" class="form-style" id="asset_quantity" placeholder="Quantity" required >
<input type="text" class="form-style" id="asset_address" placeholder="Address" required >
<input type="text" class="form-style" id="asset_businessHours" placeholder="Business hours">
<!--
<input type="text" class="form-style" id="asset_contact" placeholder="Contact Details">
-->
<input type="url" class="form-style" id="asset_website" placeholder="Website">
<textarea class="form-style" id="asset_description" placeholder="Detailed description of resources avaliable" required ></textarea>
<input type="text" class="form-style" id="asset_contributor" placeholder="Your name" required >
<div class="asset-coordinates">
<input type="hidden" id="asset_longitude" data-geo="lng" />
<input type="hidden" id="asset_latitude" data-geo="lat" />
</div>
</div>
</div><!-- .addContentWrap -->
<div class="checkBoxWrap">
<label>
<input type="checkbox" class="asset_supplier"> Supplier
</label>
</p>
<div class="text-center">
<button type="submit" class="btn btn-lg btn-primary">Submit</button>
</div>
</div><!-- .checkBoxWrap -->
</form>
</div><!-- .addContentWrap -->
</div><!-- .addContentMenu -->
<!-- END OF CONTENT SECTION -->
</div><!-- #mobileWrap -->
<!-- </div> --><!-- #controlWrap -->
</div>
<div class="sidebar-pane" id="about">
<!-- ABOUT SECTION -->
<div class="header">
<img class="img-responsive header-img" src="img/maker_network_icon.png">
<span class="brand">The Maker Network</span>
</div><!-- .header -->
<div class="sidebar-close"><i class="fa fa-3x fa-caret-left"></i></div>
<div id="mobileWrap">
<div class="aboutMenu">
<h2 class="aboutMenu">Join the Maker Movement</h2>
<span>The Maker Network is an ongoing open source project which aims to create a global database of maker resources - from workspaces to incubators - which is powered by the maker community and easily searchable on any device.</span>
<span>If you would like to help you can start by mapping a resource, joining the project discussion or checking out the map source on github.</span>
</div><!-- .aboutMenu -->
<div class="footerWrap">
<div class="footer">
<a class="socialite github-fork" href="https://github.com/RHoKAustralia/melb-maker-map"
data-user="RHoKAustralia"
data-repo="melb-maker-map"
data-type="fork"
data-count="true">Fork on GitHub</a>
</div>
</div>
</div><!-- #mobileWrap -->
</div>
</div>
</div>
<button class="btn btn-default locateMe" rel="tooltip" data-placement="left" data-original-title="click to re-center the map"><i class="fa fa-2x fa-map-marker"></i></button>
<!-- Map -->
<div id="map-wrapper">
<div id="map-canvas"></div>
</div>
<!-- Modal -->
<div id="aboutModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<div class="modal-body"></div>
</div>
</div>
</div>
<!-- Scripts -->
<script src="//maps.google.com/maps/api/js?sensor=false&libraries=places"></script>
<script src="//code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="./js/jquery.geocomplete.min.js"></script>
<script src="./js/bootstrap.js"></script>
<script src="./js/jquery.hovertips.js"></script>
<script src="./js/socialite.min.js"></script>
<script src="./js/socialite.github.js"></script>
<script src="./js/parse-1.4.2.js"></script>
<script src="./js/jquery-sidebar.min.js"></script>
<script src="./js/model.js"></script>
<script src="./js/index.js"></script>
<script type="text/javascript">
var sidebar = $('#sidebar').sidebar();
</script>
</body>
</html>