Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.

Changes between Initial Version and Version 1 of Ticket #7340


Ignore:
Timestamp:
11/28/11 13:15:06 (12 years ago)
Author:
wmoore
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7340 – Description

    initial v1  
    2727 
    2828This should allow 3rd parties to extend webclient with their own pages and have them fully update with selection etc.  
     29 
     30In the above example, icons would need to be specified in the tree itself. Currently the data_tree looks like: 
     31{{{ 
     32<ul> 
     33    <li id="experimenter-0" rel="experimenter"><a href="#">Will Moore</a> 
     34        <ul> 
     35            <li id='project-151' rel="project"><a href="#">big images <span id="counter-project-151">[3]</span></a> 
     36                <ul> 
     37                    <li id='dataset-151' rel="dataset" class="jstree-closed"> 
     38                        <a href="#"> 
     39                            Beta set 
     40                            <span id="counter-dataset-151">[7 
     41                                <span id="page-dataset-151"></span>] 
     42                            </span> 
     43                        </a> 
     44                    </li> 
     45...etc               
     46}}} 
     47 
     48This might need to include more 'dynamic' attributes of each node, E.g: 
     49{{{ 
     50<li icon="{{ STATIC_WEBCLIENT_PREFIX }}image/folder_image_locked16.png}}"  
     51    delete_node = "{% if eContext.isLeader %}true{% else %}false{% endif %}" > 
     52}}} 

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.11992 sec.)

We're Hiring!