Changes in / [581a6b2:6f4cade]


Ignore:
Location:
src/webapp/webclient
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/webapp/webclient/css/main.css

    r581a6b2 r6f4cade  
    4949}*/
    5050
    51 .l-box {
    52         padding: 1em;
    53 }
    54 
    5551#display {
    5652        background-color: #BCD9D9;
     53        width: 100%;
    5754        height: 9em;
    58         min-width: 14em;
    5955        font-size: 12pt;
    6056        font-weight: normal;
    … …  
    121117}
    122118
     119#shutdown {
     120        width: 100%;
     121        margin-top: 3em;
     122}
     123
    123124.shutdown-button {
    124125        background-color: #8C1C00;
    … …  
    126127        font-weight: bold;
    127128        font-size: 24pt;
     129        width: 100%;
    128130        height: 3em;
    129131}
  • src/webapp/webclient/index.html

    r581a6b2 r6f4cade  
    11<!--
    2     Copyright (C) 2016 - 2017 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
     2    Copyright (C) 2016 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
    33
    44    This program is free software: you can redistribute it and/or modify
    … …  
    2222                <link rel="icon" type="image/png" href="resources/gnuboat-256-256-transparent.png"/>
    2323                <title>GNUBoat Web Application</title>
    24                
    2524                <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]-->
    3225                <link rel="stylesheet" content="text/css" href="lib/css/leaflet.css"/>
    33                
    3426                <script language="javascript" src="lib/js/jquery-3.2.1.min.js" type="text/javascript"></script>
    3527                <script src="lib/js/jquery.validate.min.js" type="text/javascript"></script>
    … …  
    5244                                                <li class="pure-menu-item"><a class="pure-menu-link" href="#map">Map</a></li>
    5345                                                <li class="pure-menu-item"><a class="pure-menu-link" href="#download">Download</a></li>
     46                                                <li class="pure-menu-item"><a class="pure-menu-link" href="#shutdown">Shutdown</a></li>
    5447                                        </ul>
    5548                                </div>
    … …  
    6053                                </div>
    6154                                <div class="content">
    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>
     55                                        <div id="display">
     56                                                <a name="display"></a>
     57                                                <div id="speedthroughwater">
     58                                                        <h2>STW</h2>
     59                                                        <span id="value" class="important">-</span> kts
    8960                                                </div>
    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>
     61                                                <div id="speedoverground">
     62                                                        <h2>SOG</h2>
     63                                                        <span id="value" class="important">-</span> kts
     64                                                </div>
     65                                                <div id="waterdepth">
     66                                                        <h2>Depth</h2>
     67                                                        <span id="value">-</span> m
     68                                                </div>
     69                                                <div id="watertemperature">
     70                                                        <h2>Water</h2>
     71                                                        <span id="value">-</span>&#176;C
     72                                                </div>
     73                                                <div id="gpsfix">
     74                                                        <h2>Fix</h2>
     75                                                        <span id="value">-</span>
    9676                                                </div>
    9777                                        </div>
    … …  
    10585                                                </fieldset>
    10686                                        </form>
     87
     88                                        <h2 class="content-subhead">Shutdown</h2>
     89                                        <div id="shutdown">
     90                                                <a name="shutdown"></a>
     91                                                <p id="shutdownMessage"/>
     92                                                <button type="button" class="pure-button shutdown-button" id="shutdownButton">SHUTDOWN</button>
     93                                        </div>
    10794                                </div>
    10895                        </div>
Note: See TracChangeset for help on using the changeset viewer.