Changeset 46eee06 for src/webapp


Ignore:
Timestamp:
Oct 28, 2018, 11:03:24 AM (8 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
debian/bullseye, master
Children:
3b7e9f6
Parents:
c0e66e6
Message:

Moved common files and data (like color scheme) into new folder common. Adapted webclient to use the common files.

Location:
src/webapp
Files:
1 added
4 edited
2 moved

Legend:

Unmodified
Added
Removed
  • src/webapp/build.xml

    rc0e66e6 r46eee06  
    44        <property name="builddir" value="../../build/webapp" override="true" />
    55
     6        <fileset dir="./common/resources/" id="filesCommonResources">
     7        </fileset>
     8        <fileset dir="./common/css/" id="filesCommonCss">
     9        </fileset>
     10        <fileset dir="../icon/" id="filesGnuboatIcons">
     11                <include name="gnuboat-256-256-transparent.png"/>
     12        </fileset>
     13       
    614        <target name="prepare">
    715                <echo msg="Making directory ${builddir}" />
    … …  
    1321                        <!-- <exclude name=""/> -->
    1422                </fileset>
    15                 <fileset dir="../icon/" id="filesGnuboatIcons">
    16                         <include name="gnuboat-256-256-transparent.png"/>
    17                 </fileset>
    1823
    1924                <copy todir="${builddir}/webclient">
    … …  
    2227                <copy todir="${builddir}/webclient/resources">
    2328                        <fileset refid="filesGnuboatIcons"/>
     29                </copy>
     30               
     31                <copy todir="${builddir}/webclient/resources">
     32                        <fileset refid="filesCommonResources"/>
     33                </copy>
     34                <copy todir="${builddir}/webclient/css">
     35                        <fileset refid="filesCommonCss"/>
    2436                </copy>
    2537        </target>
  • src/webapp/webclient/css/GnuBoat.css

    rc0e66e6 r46eee06  
    11/*
    2     Copyright (C) 2016 - 2017 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
     2    Copyright (C) 2016 - 2018 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
    33
    44    This program is free software: you can redistribute it and/or modify
    … …  
    1616*/
    1717
    18 .backgroundblue {
    19         background-color: #93C0C0;
    20         background-image: linear-gradient(#BCD9D9, #93C0C0);
    21 }
    22 
    23 .backgroundgreen {
    24         background-color: #ACDFAC;
    25         background-image: linear-gradient(#CCECCC, #ACDFAC);
    26 }
     18@import url("GnuBoatColors.css");
    2719
    2820.l-box {
    … …  
    3628
    3729#display {
    38         background-color: #BCD9D9;
     30        background-color: var(--gnuboat-primary-light);
    3931        height: 9em;
    4032        min-width: 14em;
    … …  
    10294
    10395#mapViewport {
    104         border: 1px solid #347C7C;
     96        border: 1px solid var(--gnuboat-primary-dark);
    10597        margin-top: 1em;
    10698}
    10799
    108100.shutdown-button {
    109         background-color: #8C1C00;
     101        background-color: var(--gnuboat-warning);
    110102        color: white;
    111103        font-weight: bold;
    … …  
    117109#message .error {
    118110        font-weight: bold;
    119         color: #8C1C00;
     111        color: var(--gnuboat-warning);
    120112}
    121113
    122114#message .info {
    123115        font-weight: bold;
    124         color: #45A545;
     116        color: var(--gnuboat-primary-dark);
    125117}
    126118
  • src/webapp/webclient/css/side-menu.css

    rc0e66e6 r46eee06  
    11/*
    2     Copyright (C) 2017 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
     2    Copyright (C) 2017 - 2018 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
    33
    44    This program is free software: you can redistribute it and/or modify
    … …  
    1515    along with this program.  If not, see <http://www.gnu.org/licenses/>.
    1616*/
     17
     18@import url("GnuBoatColors.css");
    1719
    1820body {
    … …  
    105107    bottom: 0;
    106108    z-index: 1000; /* so the menu or its navicon stays above all content */
    107     background: #347C7C;
     109    background: var(--gnuboat-primary-dark);
    108110    overflow-y: auto;
    109111    -webkit-overflow-scrolling: touch;
    … …  
    132134    #menu .pure-menu ul,
    133135    #menu .pure-menu .menu-item-divided {
    134         border-top: 1px solid #BCD9D9;
     136        border-top: 1px solid var(--gnuboat-primary-light);
    135137    }
    136138        /*
    … …  
    139141        #menu .pure-menu li a:hover,
    140142        #menu .pure-menu li a:focus {
    141             background: #BCD9D9;
     143            background: var(--gnuboat-primary-light);
    142144        }
    143145
    … …  
    147149    #menu .pure-menu-selected,
    148150    #menu .pure-menu-heading {
    149         background: #45A545;
     151        background: var(--gnuboat-secondary-dark);
    150152    }
    151153        /*
  • src/webapp/webclient/index.html

    rc0e66e6 r46eee06  
    11<!--
    2     Copyright (C) 2016 - 2017 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
     2    Copyright (C) 2016 - 2018 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
    33
    44    This program is free software: you can redistribute it and/or modify
Note: See TracChangeset for help on using the changeset viewer.