Ignore:
Timestamp:
11/03/08 17:13:29 (13 years ago)
Author:
cbyrom
Message:

Add code to utilise the new drag and drop control - allowing layers
to be selected from the viewItems tab treeviews. These then populate
a list which can be re-ordered by dragging and dropping. Also the
items can be deleted one at a time. Supporting icons and stylesheet
added.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/templates/viewItems.kid

    r3547 r3588  
    1616 
    1717<!-- TreeView Menu Style --> 
    18 <link   rel="stylesheet" type="text/css" href="/js/yui/treeview/assets/treeview-menu.css"/>  
     18<link rel="stylesheet" type="text/css" href="/js/yui/treeview/assets/treeview-menu.css"/>  
     19 
     20<link rel="stylesheet" type="text/css" href="/js/yui/fonts/fonts-min.css?_yuiversion=2.5.0" /> 
     21<script type="text/javascript" src="/js/yui/utilities/utilities.js?_yuiversion=2.5.0"></script> 
     22 
     23<script type="text/javascript" src="/js/yui/yahoo-dom-event/yahoo-dom-event.js" ></script>  
     24<script type="text/javascript" src="/js/yui/dragdrop/dragdrop-min.js" ></script> 
     25<link type="text/css" rel="stylesheet" href="/layout/drag_drop_style.css"/> 
     26<script src = "js/dragAndDrop.js" ></script>  
     27 
     28 
    1929<!-- END: Yahoo Interface Library --> 
    2030 
     
    118128<table class="controlTable"> 
    119129<tr class="controlHeadings"> 
    120 <th>Dataset</th><th>Field</th> 
     130<th>Dataset</th><th>Layer</th> 
    121131</tr> 
    122132<tr> 
     
    126136<td class="controlPanel"> 
    127137        <div class="controlContent" id="layerLeaves"> 
    128                 Select a dataset to view available fields 
     138                <div id="layerMessage"> 
     139                        Expand a dataset and select a layer to view 
     140                </div> 
     141                <div class="workarea"> 
     142                        <ul class="draglist" id="layerlist"> 
     143                        </ul> 
     144                </div> 
    129145        </div> 
    130146</td> 
Note: See TracChangeset for help on using the changeset viewer.