-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.html
238 lines (222 loc) · 14.1 KB
/
app.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
<!DOCTYPE html>
<html lang="de" style="width:100%; height:100%">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Schulen RLP</title>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" title="ico">
<!-- CSS stylesheets-->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" crossorigin="" />
<link rel="stylesheet" href="w3.css">
<link rel="stylesheet" href="style.css">
<link href='https://api.mapbox.com/mapbox.js/plugins/leaflet-fullscreen/v1.0.1/leaflet.fullscreen.css'
rel='stylesheet' />
<!-- JQuery, JavaScript, Leaflet, -->
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script language="javascript" type="text/javascript" src="jquery.js"></script>
<script src="https://unpkg.com/[email protected]/dist/leaflet.js" crossorigin=""></script>
<script language="javascript" type="text/javascript" src="color_bezirke.js"></script>
<script language="javascript" type="text/javascript" src="app.js"></script>
<script language="javascript" type="text/javascript" src="config.js"></script>
<script language="javascript" type="text/javascript" src="routenplaner.js"></script>
<!-- Fullscreen -->
<script src='https://api.mapbox.com/mapbox.js/plugins/leaflet-fullscreen/v1.0.1/Leaflet.fullscreen.min.js'></script>
</head>
<body style="width:100%; height:100% " class="ohnepad">
<!--Sidebar-------------------------------------------------------------------------------------------------------------->
<div class="w3-sidebar w3-bar-block w3-border-right scroll w3-light-green-opacity" id="sidebar_L"
style="height:100%">
<!--Suchfeld mit Eingaben-->
<div id="suche" class="w3-container w3-light-green-opacity">
<!--Auswahl Art der Suche-->
<div class="w3-dropdown-click w3-light-green " style="width:100%">
<button class="w3-button w3-small w3-center" id="btn_auswahl">Was möchten Sie tun? ▾</button>
<div id="anwendungsauswahl" class="w3-dropdown-content w3-bar-block w3-border ">
<button class="w3-bar-item w3-button w3-small w3-center" id="btn_auswahl_r">Routenplanung
Schulweg</button>
<button class="w3-bar-item w3-button w3-small w3-center" id="btn_auswahl_u">Schulen im
Umkreis</button>
<button class="w3-bar-item w3-button w3-small w3-center" id="btn_auswahl_s">Schulsuche</button>
</div>
</div>
<!--DIV Auswahl Route------------------------------------>
<div id="route" class="w3-container" style="height:80%;display:none;padding-left:2%">
<!--Adresseingabe-->
<form id="form_adr" class="w3-container " style="padding-right:10%">
<label>Adresse</label>
<span></span><input class="w3-input w3-border-light-green"
placeholder="PLZ, Ort, Straße, Haus-Nr., " type="text" id="address"> </span>
<label id="falsche_E"></label>
</form>
<!-- Schule Formular mit Auswahlliste-->
<div class="w3 container">
<div id="form_schule" class="w3-container" style="padding-right:10%">
<label>Schule</label>
<input class="w3-input w3-border-light-green" placeholder="Name, Adresse " type="text"
id="schule">
</div>
<div class="w3-container nox_scroll w3-light-green-opacity" style="height:150px; ">
<ul id="list_schulen" class="w3-ul"></ul>
</div><label id="falsche_E_schule"></label>
</div>
<!--Lernstufe für Förderschule-->
<div id="lernstufe" style="display:none;" class="w3-container">
<form class="w3-container">
<input class="w3-radio" type="radio" name="lernstufe" id="lern1" checked>
<span>Lernstufe 1-4</span>
<input class="w3-radio" type="radio" name="lernstufe" id="lern5">
<span>Lernstufe 5-9</span>
</form>
</div>
<!--Routenplaner Auswahl-->
<div class="w3-container tooltip padobenunten">
<label>Routenplaner</label>
<label class="blocklabel"> <input class="w3-check" type="checkbox" checked id="route_ors">
<span>OpenRouteService</span></label>
<label class="blocklabel"><input class="w3-check" type="checkbox" id="route_gh">
<span>GraphHopper</span></label>
<label class="blocklabel"><input class="w3-check" type="checkbox" id="route_mb">
<span>Mapbox</span></label>
<label id="falsche_E_route"></label>
</div>
<div class="w3-container">
<button class=" w3-button w3-tiny w3-round-tiny w3-light-green" id="btn_suche_route">Route
berechnen</button> <button class=" w3-button w3-tiny w3-tiny "
id="btn_clearall">Zurücksetzen</button></div>
</div>
<!--DIV Auswahl Umkreis-->
<div id="umkreis" style="display:none;padding-left:2%">
<!--Adresse Eingabe-->
<form id="form_adr_umkr" class="w3-container" style="padding-right:10%">
<label>Adresse</label>
<input class="w3-input w3-border-light-green" placeholder="PLZ, Ort, Straße, Haus-Nr., " type="text"
id="address_umkr">
<label id="falsche_E_umkr"></label>
</form>
<!--Abstand Eingabe-->
<form id="form_abstand_umkr" class="w3-container" style="padding-right:60%">
<label>Abstand (Fußweglänge in Metern)</label>
<input class="w3-input w3-border-light-green" placeholder="z.B. 2000 " type="number"
id="abstand_umkr">
<label id="falsche_E_abstand"></label>
</form>
<!--Schulart Checkbox------------>
<label class="blocklabel">Schulart</label>
<label class="blocklabel"><input class="w3-check" type="checkbox" checked="checked" id="umkr_GS">
<span>Grundschule</span></label>
<label class="blocklabel"><input class="w3-check" type="checkbox" id="umkr_RS">
<span>Realschule</span></label>
<label class="blocklabel"> <input class="w3-check" type="checkbox" id="umkr_GY">
<span>Gymnasium</span></label>
<label class="blocklabel"><input class="w3-check" type="checkbox" id="umkr_IGS">
<span>Gesamtschule</span></label>
<label class="blocklabel"><input class="w3-check" type="checkbox" id="umkr_FOES">
<span>Förderschule</span></label>
<label class="blocklabel"><input class="w3-check" type="checkbox" id="umkr_FWS">
<span>Freie Waldorfschulen</span></label>
<label id="keine_art_umkr"></label>
<button class="w3-button w3-round-large w3-light-blue" style="margin-top:5%" id="btn_suche_umkr">Los
gehts!</button>
</div>
<!--DIV Auswahl Selektion mit versch. Parametern-->
<div id="selektion" style="display:none;padding-left:2%">
<!--Schulart ------------>
<label class="blocklabel">Schulart</label>
<label class="blocklabel"><input class="w3-check" type="checkbox" id="selek_GS">
<span>Grundschule</span></label>
<label class="blocklabel"><input class="w3-check" type="checkbox" id="selek_RS">
<span>Realschule</span></label>
<label class="blocklabel"><input class="w3-check" type="checkbox" id="selek_GY">
<span>Gymnasium</span></label>
<label class="blocklabel"><input class="w3-check" type="checkbox" id="selek_IGS">
<span>Gesamtschule</span></label>
<label class="blocklabel"><input class="w3-check" type="checkbox" id="selek_FOES">
<span>Förderschule</span></label>
<label class="blocklabel"><input class="w3-check" type="checkbox" id="selek_FWS">
<span>Freie Waldorfschulen</span></label>
<label id="keine_art_sel"></label>
<!--Name-->
<form id="form_name" class="w3-container" style="padding-right:10%">
<label>Name</label>
<input class="w3-input w3-border-light-green" placeholder="Klingbachschule " type="text"
id="name_input">
</form>
<!--Ort oder PLZ-->
<form id="form_ort" class="w3-container" style="padding-right:10%">
<label>Ort/PLZ</label>
<input class="w3-input w3-border-light-green" placeholder="76831 oder Billigheim-Ingenheim "
type="text" id="ort">
<label id="falsche_E_ort"></label>
</form>
<!--Schulnummer-->
<form id="form_num" class="w3-container" style="padding-right:60%">
<label>Schulnummer</label>
<input class="w3-input w3-border-light-green" placeholder="26360" type="number" id="num">
<label id="falsche_E_num"></label>
</form>
<!--Rechtsstatus-->
<label class="blocklabel">Rechtsstatus</label>
<label class="blocklabel"><input class="w3-check" type="checkbox" id="priv">
<span>privat</span></label>
<label class="blocklabel"> <input class="w3-check" type="checkbox" id="oeff">
<lspan>öffentlich</lspan>
</label>
<button class="w3-button w3-round-large w3-light-blue" style="margin-top:5%" id="btn_suche_sel">Los
gehts!</button>
</div>
</div>
<!--Ausgabe----->
<div id="ausgabe" class="w3-container w3-border-light-green padobenunten "
style="display:none;padding-left:2%;padding-right:2%">
<span>Ergebnisse</span>
<!--Schulen-Liste-->
<div id="divausgabeliste" style="display:none">
<ul class="w3-ul w3-small " id="ausgabe_list">
</ul>
</div>
<!--Routenplaner Tabelle-->
<div id="divausgabetabelle" style="display:none;margin-top:3%">
<table id="ausgabetabelle" class="w3-table-all">
</table>
</div>
<button class="w3-button w3-round w3-small w3-display-bottomright w3-light-green" id="btn_moreinfo"
style="display:none;border:1px"></button>
</div>
</div>
<!--/Sidebar-------------------------------------------------------------------------------------------------------------->
<!--Main-------------------------------------------------------------------------------------------------------------->
<div id="main" class="w3-container"
style="width:100%; height:100%">
<!--Header-------------------------------------------------------------------------------------------->
<div class="w3-light-green" style="height:6%">
<button id="btn_open_side" class="w3-button w3-light-green w3-large" value="open">☰</button>
<span>Schulen Rheinland-Pfalz</span><span style="position:absolute;right:3%;top:1.5%"><a
href="https://www.hs-mainz.de">HS Mainz</a>|<a
href="http://landesrecht.rlp.de/jportal/portal/t/1d6x/page/bsrlpprod.psml/action/portlets.jw.MainAction?p1=2o&eventSubmit_doNavigate=searchInSubtreeTOC&showdoccase=1&doc.hl=0&doc.id=jlr-SchulGRP2004V15P69&doc.part=S&toc.poskey=#focuspoint">Schulgesetz➚</a>
</span>
</div>
<!--Header-------------------------------------------------------------------------------------------->
<!--Map-------------------------------------------------------------------------------------------->
<div class="w3-container " style="width:100%;height:94%">
<div id="mapid" style="height:100%" class="leaflet-container leaflet-touch leaflet-retina
leaflet-fade-anim leaflet-grab leaflet-touch-drag leaflet-touch-zoom divcenter w3-rest">
</div>
<!-- InfoBox -->
<div class="w3-container w3-light-green-opacity scroll"
style="width:100%;height:70%;display:none;padding:2%" id="divinfo">
<button id="btn_info_close" class=" w3-bar-item w3-button w3-hover-light-green w3-small">Schließen
×</button>
<label id="kategorienlabel" style="display:block;padding:10px;font-size:12px">
<!--wird immer ausgetauscht-->
</label>
<table id="kategorientabelle" class="w3-table-all" style="padding:1%;font-size:12px">
</table>
<label id="infolabel" style="display:block;padding:10px;font-size:12px">
<!--Info.text immer fest-->
</label>
</div>
</div>
<!--/Map-------------------------------------------------------------------------------------------->
</div>
<!--/ Main-------------------------------------------------------------------------------------------------------------->
</body>
</html>