From c5a5c333b5b930ccc8d879067eddd874313f9574 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Mon, 02 Nov 2020 20:25:34 +0000
Subject: [PATCH] [map] New API approach

---
 index.html |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/index.html b/index.html
index 7476401..f2e1c86 100644
--- a/index.html
+++ b/index.html
@@ -5,6 +5,7 @@
 		<meta charset="utf-8">
 		<meta http-equiv="X-UA-Compatible" content="IE=edge">
 		<meta name="viewport" content="width=device-width, initial-scale=1">
+		<link rel="manifest" href="index.manifest" />
 		<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
 		<link rel="stylesheet" type="text/css" href="index.css">
 		<style type="text/css" id="vehicle-data-style"></style>
@@ -56,7 +57,7 @@
 			
 			<div class="row">
 				<div class="col-md-6">
-					<h2 id="times-stop-name"></h2>
+					<h2 id="times-stop"><small id="times-stop-type"></small><br /><span id="times-stop-name"></span></h2>
 					
 					<div id="times-alerts"></div>
 					
@@ -66,7 +67,7 @@
 								<th data-translate="header_line">Linia</th>
 								<th>
 									<span data-translate="header_direction">Kierunek</span>
-									<a id="vehicle-data" data-translate="header_vehicle">Pojazd</span>
+									<a id="vehicle-data" data-translate="header_vehicle">Pojazd</a>
 								</th>
 								<th data-translate="header_vehicle" class="vehicleData">Pojazd</th>
 								<th data-translate="header_time">Czas</th>
@@ -129,13 +130,13 @@
 					
 					<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>
 					
-					<p class="small">&copy; 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>
+					<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>
 				</div>
 			</div>
 		</div>
-		<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha384-tsQFqpEReu7ZLhBV2VZlAu7zcOV+rXbYlF2cqB8txI/8aZajjp4Bqd+V6D5IgvKT" crossorigin="anonymous"></script>
-		<script type="text/javascript" src="lang_pl.js?v4" id="lang_script"></script>
-		<script type="text/javascript" src="common.js?v4"></script>
-		<script type="text/javascript" src="index.js?v2"></script>
+		<script src="https://polyfill.io/v3/polyfill.min.js?features=Promise,XMLHttpRequest"></script>
+		<script type="text/javascript" src="lang_pl.js?v10" id="lang_script"></script>
+		<script type="text/javascript" src="common.js?v11"></script>
+		<script type="text/javascript" src="index.js?v8"></script>
 	</body>
 </html>

--
Gitblit v1.9.1