source: src/webapp/webclient/index.html@ 86da110

debian/bullseye debian/jessie
Last change on this file since 86da110 was c455d7b, checked in by Joachim Langenbach <joachim.langenbach@…>, 9 years ago
  • Webservice now leverages PHP classes and autoloader functionality. All webservice tasks are combined in index.php and served by Webservice.php
  • Webclient lists available log files and webservice provides them to download
  • Property mode set to 100644
File size: 5.4 KB
Line 
1<!--
2 Copyright (C) 2016 - 2017 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.css"/>
33
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">Display</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="#logfiles">Logfiles</a></li>
54 <li class="pure-menu-item"><button type="button" class="pure-button shutdown-button" id="shutdownButton">SHUTDOWN</button></li>
55 </ul>
56 </div>
57 </div>
58 <div id="main">
59 <div class="header">
60 <h1><img src="resources/gnuboat-256-256-transparent.png" />Boat</h1>
61 </div>
62 <div class="content">
63 <div class="pure-g">
64 <div class="pure-u-1 pure-u-md-1-2 pure-u-lg-1-2">
65 <div class="l-box">
66 <div id="display">
67 <a name="display"></a>
68 <div id="speedthroughwater">
69 <h2>STW</h2>
70 <span id="value" class="important">-</span> kts
71 </div>
72 <div id="speedoverground">
73 <h2>SOG</h2>
74 <span id="value" class="important">-</span> kts
75 </div>
76 <div id="waterdepth">
77 <h2>Depth</h2>
78 <span id="value">-</span> m
79 </div>
80 <div id="watertemperature">
81 <h2>Water</h2>
82 <span id="value">-</span>&#176;C
83 </div>
84 <div id="gpsfix">
85 <h2>Fix</h2>
86 <span id="value">-</span>
87 </div>
88 </div>
89 </div>
90 </div>
91 <div class="pure-u-1 pure-u-md-1-2 pure-u-lg-1-2">
92 <div id="shutdown" class="l-box">
93 <a name="shutdown"></a>
94 <p id="shutdownMessage"/>
95<!-- <button type="button" class="pure-button shutdown-button" id="shutdownButton">SHUTDOWN</button> -->
96 </div>
97 </div>
98 </div>
99
100 <h2 class="content-subhead">Map</h2>
101 <div id="map">
102 <a name="map"></a>
103 <form id="mapSelectForm" class="pure-form"><select id="mapSelect" class="pure-input-1" size="1"></select></form>
104 <div id="mapViewport"></div>
105 </div>
106 <form id="mapTileUpload" class="pure-form pure-form-aligned" enctype="multipart/form-data">
107 <fieldset>
108 <legend>Map Upload</legend>
109 <div class="pure-control-group">
110 <label for="mapName">Map Name:</label>
111 <input id="mapName" type="text" name="mapName" value="" placeholder="Name of your map" required>
112 </div>
113 <div class="pure-control-group">
114 <label for="mapFileInput">MBTiles File:</label>
115 <input id="mapFileInput" type="file" name="mapFile" value="" placeholder="Path to MAPTile file" required><progress id="mapTileUploadProgress"></progress>
116 </div>
117 <input type="submit" class="pure-button pure-button-primary" name="mapUploadButton" value="Upload"/>
118 </fieldset>
119 </form>
120
121 <h2 class="content-subhead">
122 Logfiles
123 <button id="logfilesReload" class="pure-button logfiles-reload-button"></button>
124 </h2>
125 <div>
126 <a name="logfiles"></a>
127 <form id="logfilesForm" class="pure-form" method="POST" action="../webservice/?request=logfiles"></form>
128 </div>
129 </div>
130 </div>
131 </body>
132</html>
Note: See TracBrowser for help on using the repository browser.