-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
74 lines (68 loc) · 3.82 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>Poloha vozidel PID</title>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"
integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ=="
crossorigin=""/>
<link rel="stylesheet" type="text/css" href="PID_location.css">
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"
integrity="sha512-gZwIG9x3wUXg2hdXF6+rVkLF/0Vi9U8D2Ntg4Ga5I5BZpVkVxlJWbSQtXPSiUTtC0TjtGOmxa1AJPuV0CPthew=="
crossorigin=""></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script type="text/javascript">
function include(file) {
var script = document.createElement('script');
script.src = file;
script.type = 'text/javascript';
script.defer = true;
document.head.appendChild(script);
}
include('PID_location.js');
include('PID_vehicles.js');
include('PID_zones.js');
include('PID_list.js');
include('PID_filter.js');
</script>
</head>
<body>
<div id="map">
<button id="zoom_button" onclick="zoom_all_vehicles(vehicles_all)">
ZOOM<br>vše
</button>
</div>
<div id="headline_div">
<p id="headline">Poloha vozidel<br>Pražské integrované dopravy</p>
</div>
<div id="settings">
<div id="search field">
<input type="text" id="search_text" name="search_text" placeholder="Evidenční číslo vozu">
<input type="button" id="search_button" name="search_button" value="Hledat" onclick="find_vehicle()">
</div>
<div class="filter_checkbox" id="tram_button" onclick="filter_type_button('tram')" tabindex="1">Tramvaje</div><div class="filter_amount" id="tram_amount" tabindex="1">-</div>
<div class="filter_checkbox" id="tbus_button" onclick="filter_type_button('tbus')" tabindex="2">Trolejbusy</div><div class="filter_amount" id="tbus_amount" tabindex="2">-</div>
<div class="filter_checkbox" id="bus_button" onclick="filter_type_button('bus')" tabindex="3">Autobusy</div><div class="filter_amount" id="bus_amount" tabindex="3">-</div>
<div class="filter_checkbox" id="busreg_button" onclick="filter_type_button('busreg')" tabindex="4">Autobusy regionální</div><div class="filter_amount" id="busreg_amount" tabindex="4">-</div>
<div class="filter_checkbox" id="train_button" onclick="filter_type_button('train')" tabindex="5">Vlaky</div><div class="filter_amount" id="train_amount" tabindex="5">-</div>
<div class="filter_checkbox" id="boat_button" onclick="filter_type_button('boat')" tabindex="6">Přívozy</div><div class="filter_amount" id="boat_amount" tabindex="6">-</div>
<div class="filter_checkbox" id="other_button" onclick="filter_type_button('other')" tabindex="7">Ostatní</div><div class="filter_amount" id="other_amount" tabindex="7">-</div>
<div class="filter_checkbox_wide" id="lf_button" onclick="filter_lf_button()" tabindex="8">Pouze nízkopodlažní vozy</div>
<div class="filter_checkbox_wide" id="line_button" onclick="filter_line_button()" tabindex="9">Výběr podle linek</div>
<div class="filter_checkbox_line" id="line_list"></div>
<div id="list">
<table id="list_table">
<tr>
<th onclick="sortTable(0)" class="table_headline">#</th>
<th onclick="sortTable(1)" class="table_headline">NP</th>
<th onclick="sortTable(2)" class="table_headline">linka</th>
<th onclick="sortTable(3)" class="table_headline">směr</th>
<th onclick="sortTable(4)" class="table_headline">zpoždění</th>
</tr>
</table>
</div>
</div>
<p id="author"><b>Autor: Jan BRODSKÝ, Brno 2020. Zdroj dat: <a href="http://opendata.praha.eu/">Opendata hlavního města Prahy</a>. Optimalizováno pro prohlížeč Mozilla Firefox verze 77.x</b></p>
</body>
</html>