| 1 | <!--
|
|---|
| 2 | Copyright (C) 2016 - 2018 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
|
|---|
| 3 |
|
|---|
| 4 | This program is free software: you can redistribute it and/or modify
|
|---|
| 5 | it under the terms of the GNU General Public License as published by
|
|---|
| 6 | the Free Software Foundation, either version 3 of the License, or
|
|---|
| 7 | (at your option) any later version.
|
|---|
| 8 |
|
|---|
| 9 | This program is distributed in the hope that it will be useful,
|
|---|
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|---|
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|---|
| 12 | GNU General Public License for more details.
|
|---|
| 13 |
|
|---|
| 14 | You should have received a copy of the GNU General Public License
|
|---|
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|---|
| 16 | -->
|
|---|
| 17 | <!DOCTYPE HTML>
|
|---|
| 18 | <html>
|
|---|
| 19 | <head profile="http://www.w3.org/2005/10/profile">
|
|---|
| 20 | <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
|
|---|
| 21 | <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|---|
| 22 | <link rel="icon" type="image/png" href="resources/gnuboat-256-256-transparent.png"/>
|
|---|
| 23 | <title>GNUBoat Web Application</title>
|
|---|
| 24 |
|
|---|
| 25 | <link rel="stylesheet" href="lib/css/pure/pure-min.css" type="text/css"/>
|
|---|
| 26 | <!--[if lte IE 8]>
|
|---|
| 27 | <link rel="stylesheet" content="text/css" href="lib/css/pure/grids-responsive-old-ie-min.css">
|
|---|
| 28 | <![endif]-->
|
|---|
| 29 | <!--[if gt IE 8]><!-->
|
|---|
| 30 | <link rel="stylesheet" content="text/css" href="lib/css/pure/grids-responsive-min.css">
|
|---|
| 31 | <!--<![endif]-->
|
|---|
| 32 | <link rel="stylesheet" content="text/css" href="lib/css/leaflet/leaflet.css"/>
|
|---|
| 33 |
|
|---|
| 34 | <script src="lib/js/jquery-3.2.1.min.js" type="text/javascript"></script>
|
|---|
| 35 | <script src="lib/js/leaflet.js" type="text/javascript"></script>
|
|---|
| 36 | <!--<script src="lib/js/leaflet.hotline.min.js" type="text/javascript"></script>-->
|
|---|
| 37 |
|
|---|
| 38 | <link rel="stylesheet" href="css/GnuBoat.css" type="text/css"/>
|
|---|
| 39 | <link rel="stylesheet" href="css/side-menu.css" type="text/css"/>
|
|---|
| 40 | <script language="javascript" src="js/GnuBoat.js" type="text/javascript"></script>
|
|---|
| 41 | <script language="javascript" src="js/GnuBoat.Webserver.js" type="text/javascript"></script>
|
|---|
| 42 | <script language="javascript" type="text/javascript">
|
|---|
| 43 | var active = 'active';
|
|---|
| 44 | var layout = null;
|
|---|
| 45 | var menu = null;
|
|---|
| 46 | var menuLink = null;
|
|---|
| 47 | var content = null;
|
|---|
| 48 |
|
|---|
| 49 | function toggleAll() {
|
|---|
| 50 | layout.toggleClass(active);
|
|---|
| 51 | menu.toggleClass(active);
|
|---|
| 52 | menuLink.toggleClass(active);
|
|---|
| 53 | }
|
|---|
| 54 |
|
|---|
| 55 | $(document).ready(function () {
|
|---|
| 56 | layout = $("#layout");
|
|---|
| 57 | menu = $("#menu");
|
|---|
| 58 | menuLink = $("#menuLink");
|
|---|
| 59 | content = $("#main");
|
|---|
| 60 |
|
|---|
| 61 | menuLink.click(function () {
|
|---|
| 62 | toggleAll();
|
|---|
| 63 | });
|
|---|
| 64 |
|
|---|
| 65 | content.click(function() {
|
|---|
| 66 | if (menu.hasClass(active)) {
|
|---|
| 67 | toggleAll();
|
|---|
| 68 | }
|
|---|
| 69 | });
|
|---|
| 70 |
|
|---|
| 71 | GnuBoat.Webserver.initialize();
|
|---|
| 72 | });
|
|---|
| 73 | </script>
|
|---|
| 74 | </head>
|
|---|
| 75 | <body>
|
|---|
| 76 | <div id="layout" class="">
|
|---|
| 77 | <a id="menuLink" class="menu-link" href="#menu"><!-- Hamburger icon --><span></span></a>
|
|---|
| 78 | <div id="menu" class="">
|
|---|
| 79 | <div class="pure-menu">
|
|---|
| 80 | <a class="pure-menu-heading" href="#">GNUBoat</a>
|
|---|
| 81 | <ul class="pure-menu-list">
|
|---|
| 82 | <li class="pure-menu-item"><a class="pure-menu-link" href="#map">Map</a></li>
|
|---|
| 83 | <li class="pure-menu-item"><a class="pure-menu-link" href="#upload">Upload</a></li>
|
|---|
| 84 | <li class="pure-menu-item"><a class="pure-menu-link" href="#mygnuboat">My GnuBoat</a></li>
|
|---|
| 85 | </ul>
|
|---|
| 86 | </div>
|
|---|
| 87 | </div>
|
|---|
| 88 | <div id="main">
|
|---|
| 89 | <div class="header">
|
|---|
| 90 | <h1><img src="resources/gnuboat-256-256-transparent.png" /></h1>
|
|---|
| 91 | </div>
|
|---|
| 92 | <!--<div class="content">-->
|
|---|
| 93 | <a name="map"></a>
|
|---|
| 94 | <div id="mapViewport" class="viewportGeometry"></div>
|
|---|
| 95 | <!--</div>-->
|
|---|
| 96 | </div>
|
|---|
| 97 | </body>
|
|---|
| 98 | </html>
|
|---|