Changes between Version 6 and Version 7 of Html5UI


Ignore:
Timestamp:
Apr 3, 2013, 11:49:23 PM (11 years ago)
Author:
delawen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Html5UI

    v6 v7  
    5555Tested in Chrome, Firefox and IE>8 (also works but with some penalties on IE7).
    5656
    57 === Changing Style
     57=== Changing Style ===
    5858
    5959Basic changing styling is pretty easy with this UI:
    6060
    61 ==== Colors
     61==== Colors ====
    6262 
    6363There is a file on web-client/src/main/resources/apps/html5ui/css/colors.css
    6464which contains all the colors of the app.
    6565
    66 ==== Page design
     66==== Page design ====
    6767
    6868The html is loaded from web/src/main/webapp/xsl/search.xsl This xsl is
     
    7575Specific css for this UI (not shared with other UIs like search or tabsearch) is placed on web-client/src/main/resources/apps/html5ui/css/main.css
    7676
    77 ==== Results view templates
     77==== Results view templates ====
    7878
    7979They are on web/src/main/resources/apps/html5ui/js/Templates.js
    8080
    81 ==== Add more tabs
     81==== Add more tabs ====
    8282
    8383To add more tabs just look on search.xsl around line 240 (id="main-navigation") and add a new element like this:
     
    9393corresponds to the language used.
    9494
    95 ==== Add a footer link
     95==== Add a footer link ====
    9696
    9797Look for the div element with id = "footer" and just add it:
     
    101101        </li>
    102102
    103 ==== Maps and other elements: change display behaviour
     103==== Maps and other elements: change display behaviour  ====
    104104
    105105Maps are always loaded even if they are not displayed. You can change this
     
    122122 hidden or shown when you want.
    123123
    124 === Changing more complex features
     124=== Changing more complex features ===
    125125
    126 ==== Debugging
     126==== Debugging ====
    127127
    128128To debug javascript you only have to add a "debug" or "debug=true" parameter to
    129129the url like this: http://....../srv/eng/search?debug
    130130
    131 ==== Adding more widgets
     131==== Adding more widgets ====
    132132
    133133Widgets are usually added on the file
     
    160160
    161161       
    162 ===== app.loginApp
     162===== app.loginApp =====
    163163
    164164Should contain everything related to the authentication of the user like
    165165control buttons to log in and log out and handles the cookie.
    166166
    167 ===== app.mapApp
     167===== app.mapApp =====
    168168
    169169Should control everything related to maps. For example, if you want to add a new layer to
     
    172172Also initializes the maps (preview and big).
    173173
    174 ===== app.searchApp
     174===== app.searchApp =====
    175175
    176176Closely related to Catalogue.js, it launches searches and initializes the