Changeset cb748ed for src


Ignore:
Timestamp:
Aug 8, 2017, 8:00:45 AM (9 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
0.5, app-cordova, debian/bullseye, debian/jessie, master
Children:
581a6b2
Parents:
c8d4933
Message:

Improved webclient html layout

Location:
src/webapp/webclient
Files:
2 edited

Legend:

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

    rc8d4933 rcb748ed  
    4949}*/
    5050
     51.l-box {
     52        padding: 1em;
     53}
     54
    5155#display {
    5256        background-color: #BCD9D9;
    53         width: 100%;
    5457        height: 9em;
     58        min-width: 14em;
    5559        font-size: 12pt;
    5660        font-weight: normal;
    … …  
    117121}
    118122
    119 #shutdown {
    120         width: 100%;
    121         margin-top: 3em;
    122 }
    123 
    124123.shutdown-button {
    125124        background-color: #8C1C00;
    … …  
    127126        font-weight: bold;
    128127        font-size: 24pt;
    129         width: 100%;
    130128        height: 3em;
    131129}
  • src/webapp/webclient/index.html

    rc8d4933 rcb748ed  
    11<!--
    2     Copyright (C) 2016 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
     2    Copyright (C) 2016 - 2017 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               
    2425                <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]-->
    2532                <link rel="stylesheet" content="text/css" href="lib/css/leaflet.css"/>
     33               
    2634                <script language="javascript" src="lib/js/jquery-3.2.1.min.js" type="text/javascript"></script>
    2735                <script src="lib/js/jquery.validate.min.js" type="text/javascript"></script>
    … …  
    4452                                                <li class="pure-menu-item"><a class="pure-menu-link" href="#map">Map</a></li>
    4553                                                <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>
    4754                                        </ul>
    4855                                </div>
    … …  
    5360                                </div>
    5461                                <div class="content">
    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
     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>
    6089                                                </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>
     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>
    7696                                                </div>
    7797                                        </div>
    … …  
    85105                                                </fieldset>
    86106                                        </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>
    94107                                </div>
    95108                        </div>
Note: See TracChangeset for help on using the changeset viewer.