Ignore:
Timestamp:
11/10/10 14:36:40 (9 years ago)
Author:
astephen
Message:

Updated to be compatible with:

  • python 2.6
  • pylons 1.0
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cowsclient/trunk/cowsclient/templates/wmsviz.html

    r6119 r7592  
    1818<head> 
    1919 
    20 <link type="text/css" rel="stylesheet" href="$g.server/layout/ndg2.css"/> 
    21 <link type="text/css" rel="stylesheet" href="$g.server/layout/ddc_style.css"/> 
    22 <link type="text/css" rel="stylesheet" href="$g.server/layout/ddc_vis.css"/> 
    23 <link type="text/css" rel="stylesheet" href="$g.server/layout/wmsviz.css"/> 
    24 <link type="text/css" rel="stylesheet" href="$g.server/layout/open_layers_map.css"/> 
     20<link type="text/css" rel="stylesheet" href="$app_globals.server/layout/ndg2.css"/> 
     21<link type="text/css" rel="stylesheet" href="$app_globals.server/layout/ddc_style.css"/> 
     22<link type="text/css" rel="stylesheet" href="$app_globals.server/layout/ddc_vis.css"/> 
     23<link type="text/css" rel="stylesheet" href="$app_globals.server/layout/wmsviz.css"/> 
     24<link type="text/css" rel="stylesheet" href="$app_globals.server/layout/open_layers_map.css"/> 
    2525 
    2626<!--  script type='text/javascript'  
     
    3131 
    3232<!-- css files --> 
    33 <link type="text/css" rel="stylesheet" href="$g.server/js/yui_2.7.0b/treeview/assets/skins/sam/treeview.css"/>  
    34 <link rel="stylesheet" type="text/css" href="$g.server/js/yui_old_treeview_style/treeview-menu.css"/>  
    35 <link rel="stylesheet" type="text/css" href="$g.server/js/yui_2.7.0b/fonts/fonts.css" /> 
    36  
    37 <link rel="stylesheet" type="text/css" href="$g.server/js/yui_2.7.0b/button/assets/skins/sam/button.css" /> 
     33<link type="text/css" rel="stylesheet" href="$app_globals.server/js/yui_2.7.0b/treeview/assets/skins/sam/treeview.css"/>  
     34<link rel="stylesheet" type="text/css" href="$app_globals.server/js/yui_old_treeview_style/treeview-menu.css"/>  
     35<link rel="stylesheet" type="text/css" href="$app_globals.server/js/yui_2.7.0b/fonts/fonts.css" /> 
     36 
     37<link rel="stylesheet" type="text/css" href="$app_globals.server/js/yui_2.7.0b/button/assets/skins/sam/button.css" /> 
    3838 
    3939<!-- Dependency source files -->   
     
    4242  <py:when test="False"> 
    4343   
    44     <script type="text/javascript" src ="$g.server/js/yui_2.7.0b/yahoo/yahoo.js" ></script>  
    45     <script type="text/javascript" src="$g.server/js/yui_2.7.0b/event/event.js"></script> 
    46     <script type="text/javascript" src="$g.server/js/yui_2.7.0b/dom/dom.js" ></script> 
     44    <script type="text/javascript" src ="$app_globals.server/js/yui_2.7.0b/yahoo/yahoo.js" ></script>  
     45    <script type="text/javascript" src="$app_globals.server/js/yui_2.7.0b/event/event.js"></script> 
     46    <script type="text/javascript" src="$app_globals.server/js/yui_2.7.0b/dom/dom.js" ></script> 
    4747     
    4848    <!-- YUI treevieew  -->   
    49     <script type="text/javascript" src="$g.server/js/yui_2.7.0b/treeview/treeview.js" ></script>  
     49    <script type="text/javascript" src="$app_globals.server/js/yui_2.7.0b/treeview/treeview.js" ></script>  
    5050     
    5151    <!-- YUI drag and drop  --> 
    52     <script type="text/javascript" src="$g.server/js/yui_2.7.0b/utilities/utilities.js" ></script> 
    53     <script type="text/javascript" src="$g.server/js/yui_2.7.0b/dragdrop/dragdrop.js" ></script> 
     52    <script type="text/javascript" src="$app_globals.server/js/yui_2.7.0b/utilities/utilities.js" ></script> 
     53    <script type="text/javascript" src="$app_globals.server/js/yui_2.7.0b/dragdrop/dragdrop.js" ></script> 
    5454   
    5555  </py:when> 
     
    5757 
    5858    <!-- minified js code --> 
    59     <script type="text/javascript" src ="$g.server/js/yui_2.7.0b/yuiloader-dom-event/yuiloader-dom-event.js" ></script>  
     59    <script type="text/javascript" src ="$app_globals.server/js/yui_2.7.0b/yuiloader-dom-event/yuiloader-dom-event.js" ></script>  
    6060     
    6161    <!-- YUI treevieew  -->   
    62     <script type="text/javascript" src="$g.server/js/yui_2.7.0b/treeview/treeview-min.js" ></script>  
     62    <script type="text/javascript" src="$app_globals.server/js/yui_2.7.0b/treeview/treeview-min.js" ></script>  
    6363     
    6464    <!-- YUI drag and drop  --> 
    65     <script type="text/javascript" src="$g.server/js/yui_2.7.0b/utilities/utilities.js" ></script> 
    66     <script type="text/javascript" src="$g.server/js/yui_2.7.0b/dragdrop/dragdrop-min.js" ></script> 
     65    <script type="text/javascript" src="$app_globals.server/js/yui_2.7.0b/utilities/utilities.js" ></script> 
     66    <script type="text/javascript" src="$app_globals.server/js/yui_2.7.0b/dragdrop/dragdrop-min.js" ></script> 
    6767   
    6868  </py:otherwise> 
     
    7070 
    7171<!--  customisation of the drag and drop control --> 
    72 <script type="text/javascript" src = "$g.server/js/dragAndDrop.js" ></script> 
     72<script type="text/javascript" src = "$app_globals.server/js/dragAndDrop.js" ></script> 
    7373 
    7474<!-- END: Yahoo Interface Library --> 
    7575 
    76 <link type="text/css" rel="stylesheet" href="$g.server/layout/drag_drop_style.css"/> 
    77 <link type="text/css" rel="stylesheet" href="$g.server/layout/control.css"/> 
    78 <link rel="stylesheet" type="text/css" href="$g.server/layout/layer_properties.css" /> 
    79  
    80 <script type="text/javascript" src="$g.server/js/json2.js"></script> 
     76<link type="text/css" rel="stylesheet" href="$app_globals.server/layout/drag_drop_style.css"/> 
     77<link type="text/css" rel="stylesheet" href="$app_globals.server/layout/control.css"/> 
     78<link rel="stylesheet" type="text/css" href="$app_globals.server/layout/layer_properties.css" /> 
     79 
     80<script type="text/javascript" src="$app_globals.server/js/json2.js"></script> 
    8181<script type="text/javascript" src="${h.getOpenLayersImportPath()}"></script> 
    82 <script type="text/javascript" src="$g.server/js/openlayers-x.js"></script> 
    83 <script type="text/javascript" src="$g.server/js/LoadingPanel.js"></script> 
    84 <script type="text/javascript" src="$g.server/js/prototype.js"></script> 
    85  
    86 <script type="text/javascript" src="$g.server/js/toggleDiv.js"></script> 
     82<script type="text/javascript" src="$app_globals.server/js/openlayers-x.js"></script> 
     83<script type="text/javascript" src="$app_globals.server/js/LoadingPanel.js"></script> 
     84<script type="text/javascript" src="$app_globals.server/js/prototype.js"></script> 
     85 
     86<script type="text/javascript" src="$app_globals.server/js/toggleDiv.js"></script> 
    8787 
    8888<!-- BEGIN: WMSC library --> 
     
    9595 <py:when test="False"> 
    9696  <py:for each="file in javascript_files"> 
    97     <script type="text/javascript" src="$g.server/js/${file}"></script> 
     97    <script type="text/javascript" src="$app_globals.server/js/${file}"></script> 
    9898  </py:for> 
    9999 </py:when> 
    100100  
    101101 <py:otherwise> 
    102    <script type="text/javascript" src="$g.server/js/compressed_client.js"></script> 
     102   <script type="text/javascript" src="$app_globals.server/js/compressed_client.js"></script> 
    103103 </py:otherwise> 
    104104   
     
    135135        var initialBounds = new OpenLayers.Bounds(-180,-90,180,90); 
    136136 
    137     var makeFigureURL = "$g.server/wmsviz/get_figure"; 
    138     var bgImagePath = '$g.server/layout/images/clear.gif'; 
     137    var makeFigureURL = "$app_globals.server/wmsviz/get_figure"; 
     138    var bgImagePath = '$app_globals.server/layout/images/clear.gif'; 
    139139     
    140140    var allEvents = []; 
     
    173173    outlineControl.addNewOutline(); 
    174174         
    175     for (var i=0;i&lt;initialEndpoints.length;i++) { 
     175    for (var i=0; i /*<![CDATA[*/ < /*]]>*/  initialEndpoints.length; i++) { 
    176176        var endpoint = initialEndpoints[i]; 
    177177 
     
    211211      <span> 
    212212         <a href="javascript:;" title="Toggle help" onclick="toggleDiv(1,'$value','shown','hidden','$elementType'); return false;"> 
    213          <img src="$g.helpIcon" alt="Toggle help" class="helpicon"/></a> 
     213         <img src="$app_globals.helpIcon" alt="Toggle help" class="helpicon"/></a> 
    214214      </span> 
    215215</span>     
     
    290290                                        Select a dataset to expand it and make its map layers visible; these can then be selected to add to the 'Layer' 
    291291                                        panel for visualisation.<br/>   
    292                                         Remove datasets from the display by clicking their <img src="$g.server/js/img/close.gif" alt="close" /> icon. 
     292                                        Remove datasets from the display by clicking their <img src="$app_globals.server/js/img/close.gif" alt="close" /> icon. 
    293293                                </div> 
    294294                            </div> 
     
    300300                                      to the top.<br/> 
    301301                                      NB, if the topmost layer has legend data available then this will be displayed under the completed map.<br/> 
    302                                       Remove layers from the displayed map by clicking their <img src="$g.server/js/img/close.gif" alt="close" /> icon. 
     302                                      Remove layers from the displayed map by clicking their <img src="$app_globals.server/js/img/close.gif" alt="close" /> icon. 
    303303                                </div> 
    304304                            </div> 
Note: See TracChangeset for help on using the changeset viewer.