source: src/webapp/webclient/index.html@ f03591a

0.5 app-cordova debian/bullseye debian/jessie
Last change on this file since f03591a was f03591a, checked in by Joachim Langenbach <joachim.langenbach@…>, 9 years ago
  • Improved webclient file uploading
  • Improvded webservice
    • Map uploading
    • tileserver searches it's maps under maps now
  • Maps have spoken names now (set by the user during upload)
  • Moved to leaflet 1.1.0
  • Property mode set to 100644
File size: 5.0 KB
RevLine 
[4972eea]1<!--
[cb748ed]2 Copyright (C) 2016 - 2017 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
[4972eea]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>
[cb748ed]24
[4972eea]25 <link rel="stylesheet" href="lib/css/pure/pure-min.css" type="text/css"/>
[cb748ed]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]-->
[4972eea]32 <link rel="stylesheet" content="text/css" href="lib/css/leaflet.css"/>
[cb748ed]33
[4972eea]34 <script language="javascript" src="lib/js/jquery-3.2.1.min.js" type="text/javascript"></script>
35 <script src="lib/js/jquery.validate.min.js" type="text/javascript"></script>
36 <script src="lib/js/additional-methods.min.js" type="text/javascript"></script>
37 <script language="javascript\" src="lib/js/leaflet.js" type="text/javascript"></script>
38
39 <link rel="stylesheet" href="css/main.css" type="text/css"/>
40 <link rel="stylesheet" href="css/side-menu.css" type="text/css"/>
41 <script language="javascript" src="js/side-menu.js" type="text/javascript"></script>
42 <script language="javascript" src="js/main.js" type="text/javascript"></script>
43 </head>
44 <body>
45 <div id="layout" class="">
46 <a id="menuLink" class="menu-link" href="#menu"><!-- Hamburger icon --><span></span></a>
47 <div id="menu" class="">
48 <div class="pure-menu">
49 <a class="pure-menu-heading" href="#">GNUBoat</a>
50 <ul class="pure-menu-list">
51 <li class="pure-menu-item"><a class="pure-menu-link" href="#display">Home</a></li>
52 <li class="pure-menu-item"><a class="pure-menu-link" href="#map">Map</a></li>
53 <li class="pure-menu-item"><a class="pure-menu-link" href="#download">Download</a></li>
54 </ul>
55 </div>
56 </div>
57 <div id="main">
58 <div class="header">
[c8d4933]59 <h1><img src="resources/gnuboat-256-256-transparent.png" />Boat</h1>
[4972eea]60 </div>
61 <div class="content">
[cb748ed]62 <div class="pure-g">
63 <div class="pure-u-1 pure-u-md-1-2 pure-u-lg-1-2">
64 <div class="l-box">
65 <div id="display">
66 <a name="display"></a>
67 <div id="speedthroughwater">
68 <h2>STW</h2>
69 <span id="value" class="important">-</span> kts
70 </div>
71 <div id="speedoverground">
72 <h2>SOG</h2>
73 <span id="value" class="important">-</span> kts
74 </div>
75 <div id="waterdepth">
76 <h2>Depth</h2>
77 <span id="value">-</span> m
78 </div>
79 <div id="watertemperature">
80 <h2>Water</h2>
81 <span id="value">-</span>&#176;C
82 </div>
83 <div id="gpsfix">
84 <h2>Fix</h2>
85 <span id="value">-</span>
86 </div>
87 </div>
88 </div>
[4972eea]89 </div>
[cb748ed]90 <div class="pure-u-1 pure-u-md-1-2 pure-u-lg-1-2">
91 <div id="shutdown" class="l-box">
92 <a name="shutdown"></a>
93 <p id="shutdownMessage"/>
94 <button type="button" class="pure-button shutdown-button" id="shutdownButton">SHUTDOWN</button>
95 </div>
[4972eea]96 </div>
97 </div>
98
99 <h2 class="content-subhead">Map</h2>
[f03591a]100 <div id="map">
101 <a name="map"></a>
102 <form id="mapSelectForm" class="pure-form"><select id="mapSelect" class="pure-input-1" size="1"></select></form>
103 <div id="mapViewport"></div>
104 </div>
105 <form id="mapTileUpload" class="pure-form pure-form-aligned" enctype="multipart/form-data">
106 <fieldset>
107 <legend>Map Upload</legend>
108 <div class="pure-control-group">
109 <label for="mapName">Map Name:</label>
110 <input id="mapName" type="text" name="mapName" value="" placeholder="Name of your map">
111 </div>
112 <div class="pure-control-group">
113 <label for="mapFileInput">MBTiles File:</label>
114 <input id="mapFileInput" type="file" name="mapFile" value="" placeholder="Path to MAPTile file"><progress id="mapTileUploadProgress"></progress>
115 </div>
[4972eea]116 <input type="submit" class="pure-button pure-button-primary" name="buttonSendMap" value="Upload"/>
117 </fieldset>
118 </form>
119 </div>
120 </div>
121 </body>
122</html>
Note: See TracBrowser for help on using the repository browser.