Changeset d7e6e9c for webapp/root


Ignore:
Timestamp:
Jul 10, 2016, 1:03:34 PM (10 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
0.5, app-cordova, debian/bullseye, debian/jessie, master
Children:
36be960
Parents:
e82ce68
Message:
  • Added webservice file to return displayed data (currently random generated)
    • Load the displayed data from webservice using JQuery
    • Added license statements

Signed-off-by: Joachim Langenbach <joachim.langenbach@…>

Location:
webapp/root
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • webapp/root/index.php

    re82ce68 rd7e6e9c  
    1 <html>
    2         <head>
    3                 <title>GNU Boat - Web Application</title>
    4                 <link rel="stylesheet" type="text/css" href="css/main.css"/>
    5         </head>
    6         <body>
     1<?php
     2/*
     3    Copyright (C) 2016 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
     4
     5    This program is free software: you can redistribute it and/or modify
     6    it under the terms of the GNU General Public License as published by
     7    the Free Software Foundation, either version 3 of the License, or
     8    (at your option) any later version.
     9
     10    This program is distributed in the hope that it will be useful,
     11    but WITHOUT ANY WARRANTY; without even the implied warranty of
     12    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     13    GNU General Public License for more details.
     14
     15    You should have received a copy of the GNU General Public License
     16    along with this program.  If not, see <http://www.gnu.org/licenses/>.
     17*/
     18
     19$title = "Web Application";
     20
     21require_once("inc/header.php");
     22?>
    723                <div id="display">
    8                         <div id="stw">
     24                        <div id="speedthroughwater">
    925                                <h2>STW</h2>
    10                                 <span id="value">12.5</span> kts
     26                                <span id="value">-</span> kts
    1127                        </div>
    12                         <div id="depth">
     28                        <div id="waterdepth">
    1329                                <h2>Depth</h2>
    14                                 <span id="value">22.1</span> m
     30                                <span id="value">-</span> m
    1531                        </div>
    16                         <div id="sog">
     32                        <div id="speedoverground">
    1733                                <h2>SOG</h2>
    18                                 <span id="value">15.0</span> kts
     34                                <span id="value">-</span> kts
    1935                        </div>
    2036                        <div id="gps">
    2137                                <h2>Sat</h2>
    22                                 <span id="value">0</span>
     38                                <span id="value">-</span>
    2339                        </div>
    24                         <div id="temperaturewater">
     40                        <div id="watertemperature">
    2541                                <h2>Water</h2>
    26                                 <span id="value">22</span>&#176;C
     42                                <span id="value">-</span>&#176;C
    2743                        </div>
    2844                </div>
    2945                <div id="map"/>
    30         </body>
    31 </head>
     46<?php
     47require_once("inc/footer.php");
     48?>
Note: See TracChangeset for help on using the changeset viewer.