Changeset 5772


Ignore:
Timestamp:
28/09/09 14:08:45 (10 years ago)
Author:
pnorton
Message:

Fixed the wrapping problem with the tree view. Also extracted the menu treeview style from the old yui directory as it isn't included with version 2.7.

Location:
cowsclient/trunk/cowsclient
Files:
3 added
4 edited

Legend:

Unmodified
Added
Removed
  • cowsclient/trunk/cowsclient/public/js/mapControl.js

    r5759 r5772  
    5050            {  
    5151                resolutions: resolutions, 
    52                 controls: [] 
     52                controls: [], 
     53                tileSize: new OpenLayers.Size(320,320) 
     54                            
    5355            } 
    5456        ); 
  • cowsclient/trunk/cowsclient/public/layout/control.css

    r5719 r5772  
    7979 
    8080/* YUI styling */ 
     81 
     82/* Make the tables fill the space */ 
     83.ygtvtable { 
     84        width:100%; 
     85} 
     86.ygtvrow table { 
     87    width:100%; 
     88} 
     89 
     90/*  
     91    need to set the margin-left to 0 as the tree node labels are 
     92    contained in <table> elements which have 100% width, so setting 
     93    an extra margin is causing them to take up more than a whole line.  
     94*/ 
    8195.ygtvlabel { 
    8296    font-size: 12px; 
     97    margin: 0px; 
    8398} 
    84  
     99.ygtvlabel:hover { 
     100    margin: 0px; 
     101} 
    85102 
    86103 
  • cowsclient/trunk/cowsclient/public/layout/ddc_vis.css

    r5744 r5772  
    55} 
    66 
    7 DIV#visBody TABLE { 
     7DIV#visBody>TABLE { 
    88  width: 100%; 
    99} 
     
    5555 
    5656 
     57#WMSC_sel table { 
     58        width:100%; 
     59} 
     60 
     61 
    5762/* Required to make things look like the main site.  The main site is somehow 
    5863   changing the styling in it's menu javascript. 
  • cowsclient/trunk/cowsclient/templates/wmsviz.html

    r5759 r5772  
    3939 
    4040<!-- TreeView Menu Style --> 
    41 <link rel="stylesheet" type="text/css" href="$g.server/js/yui/treeview/assets/treeview-menu.css"/>  
     41  
     42<link rel="stylesheet" type="text/css" href="$g.server/js/yui_old_treeview_style/treeview-menu.css"/>  
     43 
    4244 
    4345<link rel="stylesheet" type="text/css" href="$g.server/js/yui_2.7.0b/fonts/fonts.css" /> 
     
    186188          baseLayerData.url,  
    187189          baseLayerData.params, 
    188           {isBaseLayer:false}); 
     190          {isBaseLayer:false, buffer:3}); 
    189191 
    190192    // must set these parameters or the map wil not draw 
     
    354356                    <input type="button" id="add_new_endpoint" value="Add"/> 
    355357                </div> 
     358                 
    356359                <div id="endpoint_help" class="hidden"> 
    357360                  <div class="helptxt"> 
Note: See TracChangeset for help on using the changeset viewer.