buildframework/helium/doc/src/api/properties-table.html.ftl
branchfix
changeset 391 877485b44765
parent 217 0f5e3a7fb6af
equal deleted inserted replaced
390:421e376bfce4 391:877485b44765
    23 
    23 
    24 <@helium_api_header title="Properties (Helium API)"/>
    24 <@helium_api_header title="Properties (Helium API)"/>
    25 
    25 
    26 <script type="text/javascript" src="properties-table.js"></script>
    26 <script type="text/javascript" src="properties-table.js"></script>
    27 
    27 
       
    28     <#assign propertyInfo = {}>
       
    29     <#list doc.antDatabase.project.property as property>
       
    30         <#assign propertyInfo = propertyInfo + {property.name: property}>
       
    31     </#list>
       
    32         
    28     <center>
    33     <center>
    29     <h1>
    34     <h1>Properties table(Sortable)
    30     Properties table(Sortable)
       
    31     </h1>
    35     </h1>
       
    36     
    32     <table class="sortable" border="1" cellpadding="5" ID="tableSort">
    37     <table class="sortable" border="1" cellpadding="5" ID="tableSort">
    33     <tr>
    38         <tr>
    34     <th onmouseover="this.style.cursor = 'pointer';"><font color="blue"><u>Property</u></font></th>
    39             <th onmouseover="this.style.cursor = 'pointer';"><font color="blue"><u>Property</u></font></th>
    35     <th onmouseover="this.style.cursor = 'pointer';"><font color="blue"><u>Description</u></font></th>
    40             <th onmouseover="this.style.cursor = 'pointer';"><font color="blue"><u>Description</u></font></th>
    36     <th onmouseover="this.style.cursor = 'pointer';"><font color="blue"><u>Edit Status</u></font></th>
    41             <th onmouseover="this.style.cursor = 'pointer';"><font color="blue"><u>Scope</u></font></th>
    37     <th onmouseover="this.style.cursor = 'pointer';"><font color="blue"><u>Type</u></font></th>
    42             <th onmouseover="this.style.cursor = 'pointer';"><font color="blue"><u>Editable</u></font></th>
    38     </tr>
    43             <th onmouseover="this.style.cursor = 'pointer';"><font color="blue"><u>Type</u></font></th>
    39     <#assign propertySort=data.heliumDataModel.property.name?sort>
    44         </tr>
    40     <#assign propertyTable=data.heliumDataModel.property>
    45         <#list propertyInfo?keys?sort as name>
    41     <#list propertySort as propertyName>
    46         <tr>
    42     <#list propertyTable as property>
    47             <td><a href="property-${name}.html" title="${name}" target="classframe">${name}</a></td>
    43     <#if propertyName == property.name>
    48             <td>${propertyInfo[name].summary}</td>
    44     <tr>
    49             <td>${propertyInfo[name].scope}</td>
    45     <td><a href="property-${property.name}.html" title="${property.name}" target="classframe">${property.name}</a></td>
    50             <td>${propertyInfo[name].editable}</td>
    46     <td>${property.description}</td>
    51             <td>${propertyInfo[name].type}</td>
    47     <td>${property.editStatus}</td>
    52         </tr>
    48     <td>${property.type}</td>
    53         </#list>
    49     </tr>
       
    50     </#if>
       
    51     </#list>
       
    52     </#list>
       
    53     </table>
    54     </table>
    54 
    55 
    55 
    56 
    56 <@helium_api_html_footer/>
    57 <@helium_api_html_footer/>
       
    58 
       
    59 
       
    60