Index: src/app/www/index.html
===================================================================
--- src/app/www/index.html	(revision 319628579364895b97c34f0793ad609dff445814)
+++ src/app/www/index.html	(revision 319628579364895b97c34f0793ad609dff445814)
@@ -0,0 +1,142 @@
+<!DOCTYPE html>
+<!--
+    Copyright (C) 2016 - 2017 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+-->
+<html>
+    <head>
+        <meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self'; media-src *; img-src 'self' data: content:;">
+        <meta name="format-detection" content="telephone=no">
+        <meta name="msapplication-tap-highlight" content="no">
+        <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">
+        
+        <title>GNUBoat Web Application</title>
+		
+		<link rel="stylesheet" href="lib/css/pure/pure-min.css" type="text/css"/>
+		<!--[if lte IE 8]>
+		<link rel="stylesheet" content="text/css" href="lib/css/pure/grids-responsive-old-ie-min.css">
+		<![endif]-->
+		<!--[if gt IE 8]><!-->
+		<link rel="stylesheet" content="text/css" href="lib/css/pure/grids-responsive-min.css">
+		<!--<![endif]-->
+		<link rel="stylesheet" content="text/css" href="lib/css/leaflet.css"/>
+		
+		<script language="javascript" src="lib/js/jquery-3.2.1.min.js" type="text/javascript"></script>
+		<script src="lib/js/jquery.validate.min.js" type="text/javascript"></script>
+		<script src="lib/js/additional-methods.min.js" type="text/javascript"></script>
+		<script language="javascript\" src="lib/js/leaflet.js" type="text/javascript"></script>
+		
+		<link rel="stylesheet" href="css/main.css" type="text/css"/>
+		<link rel="stylesheet" href="css/side-menu.css" type="text/css"/>
+		<script language="javascript" src="js/side-menu.js" type="text/javascript"></script>
+		<script language="javascript" src="js/main.js" type="text/javascript"></script>
+
+		<!-- may be not needed! -->
+        <link rel="stylesheet" type="text/css" href="css/cordova.css">
+    </head>
+    <body>
+        <div class="app">
+			<div id="layout" class="">
+				<a id="menuLink" class="menu-link" href="#menu"><!-- Hamburger icon --><span></span></a>
+				<div id="menu" class="">
+					<div class="pure-menu">
+						<a class="pure-menu-heading" href="#">GNUBoat</a>
+						<ul class="pure-menu-list">
+							<li class="pure-menu-item"><a class="pure-menu-link" href="#display">Display</a></li>
+							<li class="pure-menu-item"><a class="pure-menu-link" href="#map">Map</a></li>
+							<li class="pure-menu-item"><a class="pure-menu-link" href="#logfiles">Logfiles</a></li>
+							<li class="pure-menu-item"><button type="button" class="pure-button shutdown-button" id="shutdownButton">SHUTDOWN</button></li>
+						</ul>
+					</div>
+				</div>
+				<div id="main">
+					<div class="header">
+						<h1><img src="resources/gnuboat-256-256-transparent.png" />Boat</h1>
+					</div>
+					<div class="content">
+						<div class="pure-g">
+							<div class="pure-u-1 pure-u-md-1-2 pure-u-lg-1-2">
+								<div class="l-box">
+									<div id="display">
+										<a name="display"></a>
+										<div id="speedthroughwater">
+											<h2>STW</h2>
+											<span id="value" class="important">-</span> kts
+										</div>
+										<div id="speedoverground">
+											<h2>SOG</h2>
+											<span id="value" class="important">-</span> kts
+										</div>
+										<div id="waterdepth">
+											<h2>Depth</h2>
+											<span id="value">-</span> m
+										</div>
+										<div id="watertemperature">
+											<h2>Water</h2>
+											<span id="value">-</span>&#176;C
+										</div>
+										<div id="gpsfix">
+											<h2>Fix</h2>
+											<span id="value">-</span>
+										</div>
+									</div>
+								</div>
+							</div>
+							<div class="pure-u-1 pure-u-md-1-2 pure-u-lg-1-2">
+								<div id="shutdown" class="l-box">
+									<a name="shutdown"></a>
+									<p id="shutdownMessage"/>
+	<!-- 								<button type="button" class="pure-button shutdown-button" id="shutdownButton">SHUTDOWN</button> -->
+								</div>
+							</div>
+						</div>
+
+						<h2 class="content-subhead">Map</h2>
+						<div id="map">
+							<a name="map"></a>
+							<form id="mapSelectForm" class="pure-form"><select id="mapSelect" class="pure-input-1" size="1"></select></form>
+							<div id="mapViewport"></div>
+						</div>
+						<form id="mapTileUpload" class="pure-form pure-form-aligned" enctype="multipart/form-data">
+							<fieldset>
+								<legend>Map Upload</legend>
+								<div class="pure-control-group">
+									<label for="mapName">Map Name:</label>
+									<input id="mapName" type="text" name="mapName" value="" placeholder="Name of your map" required>
+								</div>
+								<div class="pure-control-group">
+									<label for="mapFileInput">MBTiles File:</label>
+									<input id="mapFileInput" type="file" name="mapFile" value="" placeholder="Path to MAPTile file" required><progress id="mapTileUploadProgress"></progress>
+								</div>
+								<input type="submit" class="pure-button pure-button-primary" name="mapUploadButton" value="Upload"/>
+							</fieldset>
+						</form>
+										
+						<h2 class="content-subhead">
+							Logfiles
+							<button id="logfilesReload" class="pure-button logfiles-reload-button"></button>
+						</h2>
+						<div>
+							<a name="logfiles"></a>
+							<form id="logfilesForm" class="pure-form" method="POST" action="../webservice/?request=logfiles"></form>
+						</div>
+					</div>
+				</div>
+			</div>
+        </div>
+        <script type="text/javascript" src="cordova.js"></script>
+        <script type="text/javascript" src="js/index.js"></script>
+    </body>
+</html>
