From 4d882e6d16036c99055cfb8df0bf8c25bcbb8d8c Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sun, 14 May 2017 22:21:25 +0000
Subject: [PATCH] Change alert view and add top menu

---
 map.html |   49 +++++++++++++++++++++++++++++--------------------
 1 files changed, 29 insertions(+), 20 deletions(-)

diff --git a/map.html b/map.html
index ab987b6..e1e2047 100644
--- a/map.html
+++ b/map.html
@@ -1,23 +1,32 @@
 <!DOCTYPE html>
 <html>
-<head>
-<title>TTSS Kraków - Mapa</title>
-<meta charset="utf-8" />
-<meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width" />
-<link rel="stylesheet" href="https://openlayers.org/en/v4.1.0/css/ol.css" type="text/css" />
-<link rel="stylesheet" href="map.css" type="text/css" />
-</head>
-<body>
-<div id="map">
-<div id="title" class="ol-unselectable ol-control"><a href="/">TTSS Kraków</a></div>
-<div id="fail" class="ol-unselectable ol-control"></div>
-</div>
-<div id="popup"></div>
-<script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha384-3ceskX3iaEnIogmQchP8opvBy3Mi7Ce34nWjpBIwVTHfGYWQS9jwHDVRnpKKHJg7" crossorigin="anonymous"></script>
-<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList"></script>
-<script src="https://openlayers.org/en/v4.1.0/build/ol.js" integrity="sha384-FkrvSU9IkctjoF6eTvw82jZvg4Rn04zw5X2nCQnYF+vT8IbAY+DJ23IIoaVDtiMe" crossorigin="anonymous"></script>
-<script tyle="text/javascript" src="lang_pl.js" id="lang_script"></script>
-<script tyle="text/javascript" src="common.js"></script>
-<script tyle="text/javascript" src="map.js"></script>
-</body>
+	<head>
+		<title>TTSS Kraków - Mapa tramwajów</title>
+		<meta charset="utf-8" />
+		<meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width" />
+		<link rel="manifest" href="map.manifest" />
+		<link rel="stylesheet" href="https://openlayers.org/en/v4.1.0/css/ol.css" type="text/css" />
+		<link rel="stylesheet" href="map.css" type="text/css" />
+	</head>
+	<body>
+		<div id="header">
+			<ul>
+				<li><a href="/map.html" data-translate="page_name">TTSS Kraków</a></li>
+				<li><a href="/" data-translate="index">Odjazdy</a></li>
+				<li><span id="alert">Ładowanie, ładowanie, ładowanie, ładowanie...</span></li>
+			</ul>
+		</div>
+		
+		<div id="map"></div>
+		
+		<div id="panel"></div>
+		
+		<script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha384-3ceskX3iaEnIogmQchP8opvBy3Mi7Ce34nWjpBIwVTHfGYWQS9jwHDVRnpKKHJg7" crossorigin="anonymous"></script>
+		<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList"></script>
+		<script src="https://openlayers.org/en/v4.1.0/build/ol.js" integrity="sha384-FkrvSU9IkctjoF6eTvw82jZvg4Rn04zw5X2nCQnYF+vT8IbAY+DJ23IIoaVDtiMe" crossorigin="anonymous"></script>
+		<script tyle="text/javascript" src="lang_pl.js" id="lang_script"></script>
+		<script tyle="text/javascript" src="common.js"></script>
+		<script tyle="text/javascript" src="map.js"></script>
+		<script tyle="text/javascript" src="serviceworker-install.js"></script>
+	</body>
 </html>

--
Gitblit v1.9.1