commit | author | age
|
896879
|
1 |
<!DOCTYPE html> |
da2d4d
|
2 |
<html lang="pl"> |
896879
|
3 |
<head> |
da2d4d
|
4 |
<title>TTSS Kraków - Odjazdy tramwajów na żywo</title> |
896879
|
5 |
<meta charset="utf-8"> |
JK |
6 |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
|
7 |
<meta name="viewport" content="width=device-width, initial-scale=1"> |
|
8 |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> |
5dd112
|
9 |
<link rel="stylesheet" type="text/css" href="index.css"> |
896879
|
10 |
</head> |
JK |
11 |
<body> |
|
12 |
<nav class="navbar navbar-default"> |
|
13 |
<div class="container-fluid"> |
0426dc
|
14 |
<ul class="nav navbar-nav"> |
JK |
15 |
<li class="navbar-header"> |
|
16 |
<a class="navbar-brand" href="" data-translate="page_name">TTSS Kraków</a> |
|
17 |
</li> |
|
18 |
<li> |
|
19 |
<form class="navbar-form navbar-left"> |
|
20 |
<select class="form-control" id="lang-select"> |
|
21 |
<option value="pl">PL</option> |
da2d4d
|
22 |
<option value="en">EN</option> |
0426dc
|
23 |
</select> |
JK |
24 |
</form> |
|
25 |
</li> |
57b8d3
|
26 |
<li> |
da2d4d
|
27 |
<a href="/map.html" data-translate="map">Mapa</a> |
57b8d3
|
28 |
</li> |
0426dc
|
29 |
</ul> |
9e6757
|
30 |
|
JK |
31 |
|
896879
|
32 |
<form class="navbar-form navbar-left"> |
JK |
33 |
<div class="input-group"> |
|
34 |
<span class="input-group-btn"> |
5515fc
|
35 |
<input type="text" class="form-control form-round-left" id="stop-name" placeholder="Stop name" autofocus="autofocus" /> |
896879
|
36 |
</span> |
JK |
37 |
<select class="form-control" id="stop-name-autocomplete"> |
|
38 |
</select> |
|
39 |
<span class="input-group-btn"> |
9e6757
|
40 |
<button type="submit" class="btn btn-default" data-translate="go_button">Go</button> |
896879
|
41 |
</span> |
JK |
42 |
</div> |
|
43 |
</form> |
|
44 |
|
da2d4d
|
45 |
<button type="button" class="btn btn-default navbar-btn pull-right" id="refresh" disabled="disabled" data-translate="refresh_button">⟳ Odśwież</button> |
JK |
46 |
<p class="navbar-text pull-right" id="refresh-text">Ładowanie...</p> |
896879
|
47 |
</div> |
JK |
48 |
</nav> |
9e6757
|
49 |
|
896879
|
50 |
<div class="container-fluid"> |
JK |
51 |
<div id="alert" class="alert alert-danger alert-dismissible" style="display:none"> |
|
52 |
<a href="#" class="close" id="alert-close" aria-label="close">×</a> |
da2d4d
|
53 |
<strong data-translate="error_title">Wystąpił błąd!</strong> <span id="alert-text"></span> |
896879
|
54 |
</div> |
JK |
55 |
|
|
56 |
<div class="row"> |
|
57 |
<div class="col-md-6"> |
|
58 |
<h2 id="times-stop-name"></h2> |
|
59 |
|
|
60 |
<div id="times-alerts"></div> |
|
61 |
|
|
62 |
<table class="table table-striped table-condensed"> |
|
63 |
<thead> |
|
64 |
<tr> |
da2d4d
|
65 |
<th data-translate="header_line">Linia</th> |
JK |
66 |
<th data-translate="header_direction">Kierunek</th> |
|
67 |
<th data-translate="header_time">Czas</th> |
|
68 |
<th data-translate="header_delay">Opóźn.</th> |
896879
|
69 |
</tr> |
JK |
70 |
</thead> |
|
71 |
<tbody id="times-table"> |
|
72 |
</tbody> |
|
73 |
</table> |
|
74 |
</div> |
|
75 |
<div class="col-md-6"> |
68aeb4
|
76 |
<!-- |
da2d4d
|
77 |
<h3 data-translate="header_lines">Linie</h3> |
896879
|
78 |
|
JK |
79 |
<table class="table table-condensed"> |
|
80 |
<thead> |
|
81 |
<tr> |
da2d4d
|
82 |
<th data-translate="header_line">Linia</th> |
JK |
83 |
<th data-translate="header_route">Trasa</th> |
|
84 |
<th data-translate="header_carrier">Przewoźnik</th> |
896879
|
85 |
</tr> |
JK |
86 |
</thead> |
|
87 |
<tbody id="times-lines"> |
|
88 |
</tbody> |
|
89 |
</table> |
68aeb4
|
90 |
--> |
896879
|
91 |
|
da2d4d
|
92 |
<p data-translate="help_click_for_schedule">Kliknij na wpis w tabeli odjazdów by zobaczyć rozkład jazdy danego tramwaju.</p> |
68aeb4
|
93 |
|
896879
|
94 |
<h3 id="route-line"></h3> |
JK |
95 |
|
|
96 |
<table class="table table-condensed"> |
|
97 |
<thead> |
|
98 |
<tr> |
da2d4d
|
99 |
<th data-translate="header_time">Czas</th> |
JK |
100 |
<th data-translate="header_stop">Przystanek</th> |
896879
|
101 |
</tr> |
JK |
102 |
</thead> |
|
103 |
<tbody id="route-table"> |
|
104 |
</tbody> |
|
105 |
</table> |
525a8b
|
106 |
|
a03a80
|
107 |
<p class="small"> |
da2d4d
|
108 |
<span data-translate="help_legend">Legenda:</span> |
JK |
109 |
<span class="label bg-active" data-translate="status_departed">Odjechał</span> |
|
110 |
<span class="label bg-success" data-translate="status_stopped">Na przystanku</span> |
|
111 |
<span class="label bg-default" data-translate="status_default">W trasie</span> |
|
112 |
<span class="label bg-warning" data-translate="status_delayed_4">Opóźniony 4′+</span> |
|
113 |
<span class="label bg-danger" data-translate="status_delayed_10">Opóźniony 10′+</span> |
a03a80
|
114 |
</p> |
JK |
115 |
|
27662b
|
116 |
<p class="small"> |
da2d4d
|
117 |
<span class="bigger" title="Bombardier NGT6, Bombardier NGT8, PESA 2014N Krakowiak, Newag Nevelo 126N" data-translate="low_floor_sign">♿</span> - <span data-translate="low_floor_description">tramwaj niskopodłogowy</span>. |
JK |
118 |
<span class="bigger" title="Düwag/Man/MPK N8C-NF, Düwag/MPK GT8C, Bombardier-Rotax/MPK EU8N, Protram 405N-Kr" data-translate="partially_low_floor_sign">*♿</span> - <span data-translate="partially_low_floor_description">tramwaj częściowo niskopodłogowy</span>. |
|
119 |
<span class="bigger" title="other tram types" data-translate="high_floor_sign">‐</span> - <span data-translate="high_floor_description">tramwaj wysokopodłogowy</span>. |
|
120 |
<span data-translate="help_hover_for_more">Najedź na ikonę, by uzyskać więcej informacji.</span> |
27662b
|
121 |
</p> |
JK |
122 |
|
da2d4d
|
123 |
<p class="small" data-translate="help_text">Względne czasy (np. 3 min) są podawane na podstawie faktycznej lokalizacji tramwajów. Czasy bezwzględne (np. 8:01) to odjazdy rozkładowe, pokazywane gdy tramwaj nie może być zlokalizowany. "?" oznacza nieznane opóźnienie.</p> |
a03a80
|
124 |
|
da2d4d
|
125 |
<p class="small">© 2016-2017 Jacek Kowalski - <a href="https://github.com/jacekkow/mpk-ttss" data-translate="help_source">Źródło</a> - <a href="https://raw.githubusercontent.com/jacekkow/mpk-ttss/master/LICENSE" data-translate="help_license">Licencja</a></p> |
896879
|
126 |
</div> |
JK |
127 |
</div> |
|
128 |
</div> |
|
129 |
<script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha384-3ceskX3iaEnIogmQchP8opvBy3Mi7Ce34nWjpBIwVTHfGYWQS9jwHDVRnpKKHJg7" crossorigin="anonymous"></script> |
da2d4d
|
130 |
<script tyle="text/javascript" src="lang_pl.js" id="lang_script"></script> |
68aeb4
|
131 |
<script tyle="text/javascript" src="common.js"></script> |
c25e91
|
132 |
<script type="text/javascript" src="index.js"></script> |
896879
|
133 |
</body> |
JK |
134 |
</html> |