From 53747186cf6157b8f604345f241e9df9a893c768 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Thu, 04 May 2017 11:33:28 +0000
Subject: [PATCH] Service worker draft

---
 index.html |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/index.html b/index.html
index a2f7763..4939a22 100644
--- a/index.html
+++ b/index.html
@@ -7,6 +7,7 @@
 		<meta name="viewport" content="width=device-width, initial-scale=1">
 		<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>
 	</head>
 	<body>
 		<nav class="navbar navbar-default">
@@ -63,7 +64,11 @@
 						<thead>
 							<tr>
 								<th data-translate="header_line">Linia</th>
-								<th data-translate="header_direction">Kierunek</th>
+								<th>
+									<span data-translate="header_direction">Kierunek</span>
+									<a id="vehicle-data" data-translate="header_vehicle">Pojazd</span>
+								</th>
+								<th data-translate="header_vehicle" class="vehicleData">Pojazd</th>
 								<th data-translate="header_time">Czas</th>
 								<th data-translate="header_delay">Opóźn.</th>
 							</tr>
@@ -92,6 +97,8 @@
 					<p data-translate="help_click_for_schedule">Kliknij na wpis w tabeli odjazdów by zobaczyć rozkład jazdy danego tramwaju.</p>
 					
 					<h3 id="route-line"></h3>
+					
+					<p id="route-vehicle"></p>
 					
 					<table class="table table-condensed">
 						<thead>
@@ -130,5 +137,6 @@
 		<script tyle="text/javascript" src="lang_pl.js" id="lang_script"></script>
 		<script tyle="text/javascript" src="common.js"></script>
 		<script type="text/javascript" src="index.js"></script>
+		<script tyle="text/javascript" src="serviceworker-install.js"></script>
 	</body>
 </html>

--
Gitblit v1.9.1