buildframework/helium/external/helium-antlib/metadata/src/templates/summary.html.ftl
changeset 179 d8ac696cc51f
parent 1 be27ed110b50
equal deleted inserted replaced
1:be27ed110b50 179:d8ac696cc51f
    95                 "${helium_node_id}" />
    95                 "${helium_node_id}" />
    96         </#list>
    96         </#list>
    97     </@helium_logger_node_head>
    97     </@helium_logger_node_head>
    98     <@helium_logger_node_content nodeid="${helium_node_id}">
    98     <@helium_logger_node_content nodeid="${helium_node_id}">
    99         <#list component_ids as component_id>
    99         <#list component_ids as component_id>
   100             <#assign helium_node_id = helium_node_id + 1>
   100             <#if "${component_table['${component_id}']}" != "general" >
   101             <@helium_logger_node_head nodeid="${helium_node_id}" title="${component_table['${component_id}']}">
   101                 <#assign helium_node_id = helium_node_id + 1>
       
   102                 <@helium_logger_node_head nodeid="${helium_node_id}" title="${component_table['${component_id}']}">
       
   103                     <#list priority_ids as priority>
       
   104                         <#assign priority_text = "${priority_table['${priority}']}"?lower_case>
       
   105                         <#assign priority_count = "${table_info['select count(data) as COUNT from metadata where logpath_id=${logpath} and priority_id = ${priority} and component_id = ${component_id}'][0]['COUNT']}" >
       
   106                         <@logfile_severity "${component_table['${component_id}']}", "${priority_text}", 
       
   107                                 "${priority_count}", 
       
   108                                 "${helium_node_id}" />
       
   109                     </#list>
       
   110                 </@helium_logger_node_head>
       
   111                 <@helium_logger_node_content nodeid="${helium_node_id}">
   102                 <#list priority_ids as priority>
   112                 <#list priority_ids as priority>
   103                     <#assign priority_text = "${priority_table['${priority}']}"?lower_case>
   113                     <#list table_info['select * from metadata where logpath_id = ${logpath} and priority_id = ${priority} and component_id = ${component_id}'] as recordentry >
   104                     <#assign priority_count = "${table_info['select count(data) as COUNT from metadata where logpath_id=${logpath} and priority_id = ${priority} and component_id = ${component_id}'][0]['COUNT']}" >
   114                         <#-- <#if sublog?node_name == "logfile"> --> 
   105                     <@logfile_severity "${component_table['${component_id}']}", "${priority_text}", 
   115                             <@logfile_entry_detail recordentry, "${helium_node_id}" />
   106                             "${priority_count}", 
   116                         <#-- <#elseif sublog?node_name == "log">
   107                             "${helium_node_id}" />
   117                             <@antlognode sublog/>
       
   118                         </#if> -->
       
   119                     </#list>
   108                 </#list>
   120                 </#list>
   109             </@helium_logger_node_head>
   121                 </@helium_logger_node_content>
   110             <@helium_logger_node_content nodeid="${helium_node_id}">
   122             </#if>
   111             <#list priority_ids as priority>
       
   112                 <#list table_info['select * from metadata where logpath_id = ${logpath} and priority_id = ${priority} and component_id = ${component_id}'] as recordentry >
       
   113                     <#-- <#if sublog?node_name == "logfile"> --> 
       
   114                         <@logfile_entry_detail recordentry, "${helium_node_id}" />
       
   115                     <#-- <#elseif sublog?node_name == "log">
       
   116                         <@antlognode sublog/>
       
   117                     </#if> -->
       
   118                 </#list>
       
   119             </#list>
       
   120             </@helium_logger_node_content>
       
   121         </#list>
   123         </#list>
   122     </@helium_logger_node_content>
   124     </@helium_logger_node_content>
   123 </#list>
   125 </#list>
   124 </@helium_logger_content>
   126 </@helium_logger_content>
   125 </body>
   127 </body>