Improved www.ttss.krakow.pl
Jacek Kowalski
2020-03-13 b470addbdbc536f1da04e004282ba73d15f78ae1
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">
3edf35 8         <link rel="manifest" href="index.manifest" />
896879 9         <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
5dd112 10         <link rel="stylesheet" type="text/css" href="index.css">
4b0eda 11         <style type="text/css" id="vehicle-data-style"></style>
896879 12     </head>
JK 13     <body>
14         <nav class="navbar navbar-default">
15             <div class="container-fluid">
0426dc 16                 <ul class="nav navbar-nav">
JK 17                     <li class="navbar-header">
18                         <a class="navbar-brand" href="" data-translate="page_name">TTSS Kraków</a>
19                     </li>
20                     <li>
21                         <form class="navbar-form navbar-left">
22                             <select class="form-control" id="lang-select">
23                                 <option value="pl">PL</option>
da2d4d 24                                 <option value="en">EN</option>
0426dc 25                             </select>
JK 26                         </form>
27                     </li>
57b8d3 28                     <li>
da2d4d 29                         <a href="/map.html" data-translate="map">Mapa</a>
57b8d3 30                     </li>
0426dc 31                 </ul>
9e6757 32                 
JK 33                 
896879 34                 <form class="navbar-form navbar-left">
JK 35                     <div class="input-group">
36                         <span class="input-group-btn">
877a78 37                             <input type="text" class="form-control form-round-left" id="stop-name" placeholder="Nazwa przystanku" autofocus="autofocus" />
896879 38                         </span>
JK 39                         <select class="form-control" id="stop-name-autocomplete">
40                         </select>
41                         <span class="input-group-btn">
877a78 42                             <button type="submit" class="btn btn-default" data-translate="go_button">Dalej</button>
896879 43                         </span>
JK 44                     </div>
45                 </form>
46                 
da2d4d 47                 <button type="button" class="btn btn-default navbar-btn pull-right" id="refresh" disabled="disabled" data-translate="refresh_button">&#x27f3; Odśwież</button>
JK 48                 <p class="navbar-text pull-right" id="refresh-text">Ładowanie...</p>
896879 49             </div>
JK 50         </nav>
9e6757 51         
896879 52         <div class="container-fluid">
JK 53             <div id="alert" class="alert alert-danger alert-dismissible" style="display:none">
54                 <a href="#" class="close" id="alert-close" aria-label="close">&times;</a>
da2d4d 55                 <strong data-translate="error_title">Wystąpił błąd!</strong> <span id="alert-text"></span>
896879 56             </div>
JK 57             
58             <div class="row">
59                 <div class="col-md-6">
448c31 60                     <h2 id="times-stop"><small id="times-stop-type"></small><br /><span id="times-stop-name"></span></h2>
896879 61                     
JK 62                     <div id="times-alerts"></div>
63                     
64                     <table class="table table-striped table-condensed">
65                         <thead>
66                             <tr>
da2d4d 67                                 <th data-translate="header_line">Linia</th>
4b0eda 68                                 <th>
JK 69                                     <span data-translate="header_direction">Kierunek</span>
8cd75b 70                                     <a id="vehicle-data" data-translate="header_vehicle">Pojazd</a>
4b0eda 71                                 </th>
JK 72                                 <th data-translate="header_vehicle" class="vehicleData">Pojazd</th>
da2d4d 73                                 <th data-translate="header_time">Czas</th>
JK 74                                 <th data-translate="header_delay">Opóźn.</th>
896879 75                             </tr>
JK 76                         </thead>
77                         <tbody id="times-table">
78                         </tbody>
79                     </table>
80                 </div>
81                 <div class="col-md-6">
68aeb4 82                     <!--
da2d4d 83                     <h3 data-translate="header_lines">Linie</h3>
896879 84                     
JK 85                     <table class="table table-condensed">
86                         <thead>
87                             <tr>
da2d4d 88                                 <th data-translate="header_line">Linia</th>
JK 89                                 <th data-translate="header_route">Trasa</th>
90                                 <th data-translate="header_carrier">Przewoźnik</th>
896879 91                             </tr>
JK 92                         </thead>
93                         <tbody id="times-lines">
94                         </tbody>
95                     </table>
68aeb4 96                     -->
896879 97                     
a0814e 98                     <p data-translate="help_click_for_schedule">Kliknij na wpis w tabeli odjazdów by zobaczyć rozkład jazdy danego pojazdu.</p>
68aeb4 99                     
896879 100                     <h3 id="route-line"></h3>
JK 101                     
0f11d0 102                     <p id="route-vehicle"></p>
JK 103                     
896879 104                     <table class="table table-condensed">
JK 105                         <thead>
106                             <tr>
da2d4d 107                                 <th data-translate="header_time">Czas</th>
JK 108                                 <th data-translate="header_stop">Przystanek</th>
896879 109                             </tr>
JK 110                         </thead>
111                         <tbody id="route-table">
112                         </tbody>
113                     </table>
525a8b 114                     
a03a80 115                     <p class="small">
da2d4d 116                         <span data-translate="help_legend">Legenda:</span>
JK 117                         <span class="label bg-active" data-translate="status_departed">Odjechał</span>
118                         <span class="label bg-success" data-translate="status_stopped">Na przystanku</span>
119                         <span class="label bg-default" data-translate="status_default">W trasie</span>
120                         <span class="label bg-warning" data-translate="status_delayed_4">Opóźniony 4′+</span>
121                         <span class="label bg-danger" data-translate="status_delayed_10">Opóźniony 10′+</span>
a03a80 122                     </p>
JK 123                     
27662b 124                     <p class="small">
a0814e 125                         <span class="bigger" title="Bombardier NGT6, Bombardier NGT8, PESA 2014N Krakowiak, Newag Nevelo 126N" data-translate="low_floor_sign">&#x267F;</span> - <span data-translate="low_floor_description">pojazd niskopodłogowy</span>.
JK 126                         <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">*&#x267F;</span> - <span data-translate="partially_low_floor_description">pojazd częściowo niskopodłogowy</span>.
127                         <span class="bigger" title="other tram types" data-translate="high_floor_sign">&#x2010;</span> - <span data-translate="high_floor_description">pojazd wysokopodłogowy</span>.
da2d4d 128                         <span data-translate="help_hover_for_more">Najedź na ikonę, by uzyskać więcej informacji.</span>
27662b 129                     </p>
JK 130                     
a0814e 131                     <p class="small" data-translate="help_text">Względne czasy (np. 3 min) są podawane na podstawie faktycznej lokalizacji pojazdów. Czasy bezwzględne (np. 8:01) to odjazdy rozkładowe, pokazywane gdy pojazd nie może być zlokalizowany. "?" oznacza nieznane opóźnienie.</p>
a03a80 132                     
3dd66f 133                     <p class="small">&copy; 2016-2019 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 134                 </div>
JK 135             </div>
136         </div>
2b6454 137         <script src="https://polyfill.io/v3/polyfill.min.js?features=Promise,XMLHttpRequest"></script>
5be662 138         <script type="text/javascript" src="lang_pl.js?v10" id="lang_script"></script>
e82356 139         <script type="text/javascript" src="common.js?v11"></script>
ca42d3 140         <script type="text/javascript" src="index.js?v8"></script>
896879 141     </body>
JK 142 </html>