-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
356 lines (350 loc) · 18 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
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
<!--
Copyright 2012, MapGuideForm user group, Frederikssund Kommune and Helsingør Kommune - att. Anette Poulsen and Erling Kristensen
This file is part of "RapportFraStedet".
"RapportFraStedet" is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
"RapportFraStedet" is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with "RapportFraStedet". If not, see <http://www.gnu.org/licenses/>.
-->
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>RapportFraStedet</title>
<meta name="description" content="">
<meta name="viewport" content="user-scalable=0, initial-scale=1.0">
<!--meta name="viewport" content="user-scalable=0, width=device-width, initial-scale=1.0, maximum-scale=1.0" -->
<!--meta name="viewport" id="vp" content="initial-scale=1.0,user-scalable=no,maximum-scale=1" media="(device-height: 568px)" /-->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/jquery.mobile-1.3.1.min.css" />
<link rel="stylesheet" href="css/main.css">
<script src="js/vendor/modernizr.custom.40852.js"></script>
<script src="js/vendor/jquery-1.10.2.js"></script>
<script src="js/vendor/path.js"></script>
<script src="js/vendor/mobileinit.js"></script>
<script src="js/vendor/jquery.mobile-1.3.1.min.js"></script>
<script src="js/vendor/jquery.validate.min.js"></script>
<!--script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/jquery.validate.js"></script-->
<script src="js/vendor/messages_da.js"></script>
<script src="js/vendor/proj4js.js"></script>
<script src="js/vendor/OpenLayers.js"></script>
<script src="js/vendor/MapGuideGetFeatureInfo.js"></script>
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
<!-- scripts concatenated and minified via build script -->
<script src="js/plugins.js"></script>
<script src="js/main.js"></script>
<!--script src="js/vendor/colorize.js"></script-->
<!-- end scripts -->
<!-- Google Analytics: change UA-XXXXX-X to be your site's ID. -->
<script>
var _gaq=[['_setAccount','UA-24623853-2'],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
</script>
</head>
<body>
<!-- Add your site or application content here -->
<!--div id="Loading" data-role="page" data-theme="a">
<div data-role="content">
Rapport Fra Stedet<br/>
version 2.1<br/>
loading...
</div>
</div-->
<div id="Start" data-role="dialog" data-theme="d">
<div data-role="header">
<h1>Velkommen</h1>
</div>
<div data-role="content">
<h2 style="margin:0px;">Rapport Fra Stedet</h2>
<cite>- et tværkommunalt samarbejde</cite>
<p>Har du set noget som ikke er i orden? </p>
<p>Rapporter her, så hjælper du med til at holde kommunen kørende.</p>
<a onclick="geoLocate()" data-role="button" data-theme="b" >Start</a>
<!-- <label data-inline="true"><input type="checkbox" name="checkbox-0" onclick="velkomst()" />Vis ikke velkomst igen</label> -->
<cite>Version 2.5</cite>
<!--[if lt IE 9]>
<p>Du bruger en forældet browser. <a href="http://browsehappy.com/">Upgrader din browser</a> eller <a href="http://www.google.com/chromeframe/?redirect=true">installer Google Chrome Frame</a> for en bedre oplevelse af dette site.</p>
<![endif]-->
<div id="app"></div>
</div>
</div>
<div id="ModtagerIkkeIndberetning" data-role="dialog">
<div data-role="header">
<h1>
Advarsel</h1>
</div>
<div data-role="content">
</div>
</div>
<div id="Advarsel" data-role="dialog">
<div data-role="header">
<h1>
Advarsel</h1>
</div>
<div data-role="content">
<div id="update"></div>
</div>
</div>
<div id="Warning" data-role="dialog">
<div data-role="header">
<h1>
Advarsel</h1>
</div>
<div data-role="content">
<p>
Det er ikke tilladt at indberette fra din pågældende position.</p>
<p>
Ved denne indbretning skal du placere din position manuelt i kortet.</p>
<a onclick="backToKommune()" data-role="button" data-theme="b">Tilbage</a>
</div>
</div>
<div id="ShowKommunerError" data-role="dialog">
<div data-role="header">
<h1>
Fejl</h1>
</div>
<div data-role="content">
<p>
Der er sket en fejl ved hentning af alle kommuner fra serveren.</p>
<p>
Vil du forsøge at hente kommunerne igen?</p>
<a onclick="backToKommuner()" data-role="button" data-theme="b">Prøv igen</a>
</div>
</div>
<div id="ShowKortError" data-role="dialog">
<div data-role="header">
<h1>
Fejl</h1>
</div>
<div data-role="content">
<p>
Der er sket en fejl ved hentning af kort data fra serveren.</p>
<p>
Vil du forsøge at hente kommunerne igen?</p>
<a onclick="backToKort()" data-role="button" data-theme="b">Prøv igen</a>
</div>
</div>
<div id="AlleKommuner" data-role="page" data-theme="a">
<div data-role="content">
<ul data-role="listview" data-filter="true" data-filter-theme="b" data-filter-placeholder="Søg kommune...">
</ul>
</div>
</div>
<div id="Kommune" data-role="page" data-theme="a" data-url="index.html&Kommune">
<div data-role="header" data-position="fixed">
<img style="position: relative; float: left; width: 40px; height: 40px; visibility: hidden" />
<h1></h1>
</div>
<div data-role="content">
<ul data-role='listview'>
</ul>
</div>
<div data-role="footer" data-position="fixed" data-theme="b">
<div data-role="navbar">
<ul>
<li><a href="#/kommuner" data-transition="slide" data-direction="reverse">Vælg en anden kommune</a></li>
</ul>
</div>
</div>
</div>
<div id="Formular" data-role="page" data-theme="a">
<div data-role="header" data-position="fixed">
<img style="position: relative; float: left; width: 40px; height: 40px; visibility: hidden" />
<h1>
</h1>
</div>
<div data-role="content" >
<form id="rapportForm">
</form>
<div style="height: 25px">
</div>
</div>
<div data-role="footer" data-position="fixed">
<div id="formnavbar" class="ui-grid-c">
<a class="ui-block-a" data-icon="back" data-role="button" data-corners="false" data-iconpos="top" onclick="backToMap()">Tilbage</a>
<div class="ui-block-b" style="text-align:right;">
<a href="#Kommune" data-role="button" data-mini="true" data-inline="true" data-theme="a" style="margin:10px 0px 0px 0px" data-transition="slide" data-direction="reverse">1</a>
<a href="#Tema" data-role="button" data-mini="true" data-inline="true" data-theme="a" style="margin:10px 2px 0px 0px" data-transition="slide" data-direction="reverse">2</a>
</div>
<div class="ui-block-c" style="text-align:left;">
<a href="#" data-role="button" data-mini="true" data-inline="true" data-theme="b" style="margin:10px 0px 0px 2px">3</a>
<a href="#" data-role="button" data-mini="true" data-inline="true" data-theme="a" style="margin:10px 0px 0px 0px" class="ui-disabled">4</a>
</div>
<a data-theme="b" data-mini='true' data-icon="forward" class="ui-block-d" data-role="button" data-corners="false" data-iconpos="top" onclick="Rfs.Validate()">Næste</a>
</div>
</div>
<div data-role="popup" id="Confirm" data-overlay-theme="a" data-theme="c" style="max-width:400px;" class="ui-corner-all">
<div data-role="header" data-theme="a" class="ui-corner-top">
<h1>Send?</h1>
</div>
<div data-role="content" data-theme="d" class="ui-corner-bottom ui-content">
<h3 class="ui-title">Vil du sende din indberetning?</h3>
<p>Klik på OK hvis du er klar til at sende din indberetning.</p>
<a href="#" data-role="button" data-rel="back" data-theme="c">Annuller</a>
<a onclick="showProgress()" data-role="button" data-theme="b">OK</a>
</div>
</div>
</div>
<div id="Progress" data-role="dialog" data-theme="d">
<div data-role="header">
<h1>
Status</h1>
</div>
<div data-role="content">
<h3 id="progressText">Sender indberetning, vent venligst...</h3>
<div class="meter current">
<span style="width: 0"><span></span></span>
</div>
<a onclick="backToFormular()" data-role="button" data-theme="b">Annuller</a>
</div>
</div>
<div id="PhotoPage" data-role="page" data-theme="a">
<video id="Photo" autoplay ></video>
<canvas id="Canvas" style="display:none;"></canvas>
<div id="photoButton" data-role="controlgroup" data-type="vertical">
<a data-role="button" data-icon="gear" onclick="snapshot()">Tag Billede</a>
</div>
<div data-role="popup" id="PhotoError" class="ui-content" data-theme="e" style="max-width:350px;" data-history="false" >
<a href="#" data-rel="back" data-role="button" data-theme="a" data-icon="delete" data-iconpos="notext" class="ui-btn-right">Luk</a>
<div id="PhotoErrorMessage"></div>
</div>
</div>
<div id="Kvittering" data-role="dialog">
<div data-role="header">
<h1>
Kvittering</h1>
</div>
<div data-role="content">
<div id="kvitteringTekst"></div>
<a onclick="backToKommune()" data-role="button" data-theme="b">Ny indberetning</a>
</div>
</div>
<div id="KvitteringError" data-role="dialog">
<div data-role="header">
<h1>
Fejl</h1>
</div>
<div data-role="content">
<div id="errorMessage"><p>
Der er sket en fejl. Din indberetning er IKKE modtaget!</p>
</div>
<p>
Vil du forsøge igen?</p>
<a href="#Formular" data-role="button" data-theme="b">Prøv igen</a>
<a href="#" onclick="backToFormular()" data-role="button" >Annuller</a>
</div>
</div>
<div id="Tema" data-role="page" data-theme="a">
<div id="headerKort" class="ui-grid-a ui-bar-a" >
</div>
<div id="map">
</div>
<div id="kortnavbar" class="ui-grid-c ui-bar-a">
<a id="backKommune" href="#" class="ui-block-a" data-mini='true' data-icon="back" data-role="button" data-corners="false" data-iconpos="top" data-transition="slide" data-direction="reverse">Tilbage</a>
<div class="ui-block-b" style="text-align:right;" data-theme='a'>
<a href="#Kommune" data-role="button" data-mini="true" data-inline="true" data-theme="a" style="margin:10px 0px 0px 0px" data-transition="slide" data-direction="reverse">1</a>
<a href="#" data-role="button" data-mini="true" data-inline="true" data-theme="b" style="margin:10px 2px 0px 0px">2</a>
</div>
<div class="ui-block-c" style="text-align:left;">
<a href="#" data-role="button" data-mini="true" data-inline="true" data-theme="a" style="margin:10px 0px 0px 2px" class="ui-disabled" >3</a>
<a href="#" data-role="button" data-mini="true" data-inline="true" data-theme="a" style="margin:10px 0px 0px 0px" class="ui-disabled" >4</a>
</div>
<a onclick="Rfs.checkIndberetning()" data-mini='true' data-theme="b" data-icon="forward" class="ui-block-d" data-role="button" data-corners="false" data-iconpos="top" data-transition="none">Næste</a>
<!--<a href="#Formular" data-mini='true' data-theme="b" data-icon="forward" class="ui-block-d" data-role="button" data-corners="false" data-iconpos="top" data-transition="slide">Næste</a>-->
</div>
<div id="navigation" data-role="controlgroup" data-type="vertical" class="ui-bar-a">
<a href="#" data-role="button" data-icon="plus" id="plus" data-iconpos="notext" ></a>
<a href="#" data-role="button" data-icon="minus" id="minus" data-iconpos="notext" ></a>
</div>
<div data-role="popup" id="layerspage" data-history="false">
<a href="#" data-rel="back" data-role="button" data-icon="delete" data-iconpos="notext" class="ui-btn-right">Luk</a>
<ul id="layerslist" data-role="listview" data-inset="true" style="min-width:210px;" data-theme="d">
</ul>
</div>
<div data-role="popup" id="KortInfoDraw" class="ui-content" data-theme="e" style="max-width:350px;" data-history="false">
<a href="#" data-rel="back" data-role="button" data-theme="a" data-icon="delete" data-iconpos="notext" class="ui-btn-right">Luk</a>
<p>Brug tegneværktøjet for at tilknytte en geografisk position til din indberetning.</p>
</div>
<div data-role="popup" id="KortInfo" class="ui-content" data-theme="e" style="max-width:350px;" data-history="false" >
<a href="#" data-rel="back" data-role="button" data-theme="a" data-icon="delete" data-iconpos="notext" class="ui-btn-right">Luk</a>
<p>Tilknyt en geografisk position til din indberetning ved at zoome og panorere kortet så den ønskede position er i midten af det røde stregkors.</p>
</div>
<div data-role="popup" id="GeometryError" class="ui-content" data-theme="e" style="max-width:350px;" data-history="false" >
<a href="#" data-rel="back" data-role="button" data-theme="a" data-icon="delete" data-iconpos="notext" class="ui-btn-right">Luk</a>
<div id="straks"></div>
</div>
<div data-role="popup" id="LocationError" class="ui-content" data-theme="e" style="max-width:350px;" data-history="false" >
<a href="#" data-rel="back" data-role="button" data-theme="a" data-icon="delete" data-iconpos="notext" class="ui-btn-right">Luk</a>
<div id="LocationErrorMessage"></div>
</div>
<div data-role="popup" id="errorValidateLocation" class="ui-content" data-theme="e" style="max-width:350px;" data-history="false" >
<a href="#" data-rel="back" data-role="button" data-theme="a" data-icon="delete" data-iconpos="notext" class="ui-btn-right">Luk</a>
<p>Der er sket en fejl ved validering af placering</p>
</div>
<div data-role="popup" id="Div2" data-overlay-theme="a" style="max-width:400px;" class="ui-corner-all" data-history="false">
<div data-role="header" class="ui-corner-top">
<h1>Send?</h1>
</div>
<div data-role="content" data-theme="d" class="ui-corner-bottom ui-content">
<h3 class="ui-title">Vil du sende din indberetning?</h3>
<p>Klik på OK hvis du er klar til at sende din indberetning.</p>
<a href="#" data-role="button" data-rel="back" data-theme="c">Annuller</a>
<a href="#Kvittering" data-role="button" data-transition="slide" data-theme="b">OK</a>
</div>
</div>
<div data-role="popup" id="Tegn" data-history="false">
<ul id="tegnList" data-role="listview" data-inset="true" style="min-width:210px;" data-theme="d">
</ul>
</div>
<div data-role="popup" id="info">
<ul id="infolist" data-role="listview" data-inset="true" style="min-width:210px;" data-theme="d">
</ul>
</div>
</div>
<div id="SearchPage1" data-role="page" >
<div data-role="header">
<a data-icon="back" onclick="backToMap()">tilbage</a>
<h1>Søgning</h1>
</div>
<div data-role="content">
<div id="searchOptionsDiv" data-role="fieldcontain">
</div>
<input placeholder="Søg..." type="search" name="search1" id="search1" value="" />
<div id="searchResult1"></div>
</div>
</div>
<div id="SearchPage2" data-role="page">
<div data-role="header">
<a data-icon="back" onclick="backToSearch(1)">tilbage</a>
<h1></h1>
</div>
<div data-role="content">
<p id="searchHint2"></p>
<input placeholder="Søg..." type="search" name="searchInput2" id="searchInput2" value="" />
<ul id="searchResult2" data-role="listview" data-inset="true">
</ul>
</div>
</div>
<div id="SearchPage3" data-role="page" >
<div data-role="header">
<a data-icon="back" onclick="backToSearch(2)">tilbage</a>
<h1></h1>
</div>
<div data-role="content">
<p id="searchHint3"></p>
<input placeholder="Søg..." type="search" name="searchInput3" id="searchInput3" value="" />
<ul id="searchResult3" data-role="listview" data-inset="true">
</ul>
</div>
</div>
<iframe style=”width:0px;height:0px;border:0px;” name="hiddenIFrame" />
</body>
</html>