template.singlehtml.index.ftl Maven / Gradle / Ivy
The newest version!
[#ftl]
[#include "include/head.ftl"/]
[#include "include/table.ftl"/]
[#include "include/group.ftl"/]
[#assign allImages = report.allImages/]
[#assign allSequences= report.allSequences/]
[#assign idx=0/]
${report.system.name} ${report.system.version!} ${report.title}
目 录
1. 数据库对象
[#assign idx=2/]
- 1.1 表格一览
[#if allSequences?size >0 ]- 1.${idx} [#assign idx=dix+1/] 序列一览
[/#if]
[#if allImages?size >0]- 1.${idx} [#assign idx=idx+1/] 模块关系图
[/#if]
2. 模块列表
[#list report.allGroups as m]
[@grouptree "2."+(m_index+1),m;prefix,group/]
[/#list]
2. 数据库对象列表
2.1 表格列表
[#include "include/tables.ftl"/]
[#if allSequences?size >0 ]
2.2 序列一览
[#include "include/sequences.ftl"/]
[/#if]
[#if allImages?size>0]
[#if allSequences?size >0 ]2.3[#else]2.2[/#if] 模块关系图
[#list allImages as img]
${img_index+1}. ${img.title}
- 关系图
[#if img.description?? && img.description?length>0]
- 说明
${img.description}
[/#if]
[/#list]
[/#if]
3. 具体模块明细
[#list report.allGroups as m]
[@grouptables "3."+(m_index+1),m;prefix,group/]
[/#list]