首页 / 软件开发 / 数据结构与算法 / 实战从需求文档到设计文档的书写规范(八)
实战从需求文档到设计文档的书写规范(八)2011-01-233.5 显示界面模版显示界面模版在velocity模版文件buildinfo_list.vm中实现。这个文件引用了nightlyfrag.vm文件,另外定义宏headerCell的文在为GlobalMacros.vm。模版文件buildinfo_list.vm:<html><head><meta http-equiv="content-type" content="text/html; charset=gb2312"><title>每晚构建</title><link href="css/default.css" type="text/css" rel="stylesheet"></head><body bgcolor="#ffffff"><center><table border="2" cellspacing="0" cellpadding="3" bordercolor="#000000"><tr><td class="page-title" bordercolor="#000000" align="left" nowrap><font size="+2"><b> 每晚构建 </b> </font></td></tr></table><p/><table border="1" cellspacing="0" cellpadding="3">#parse( "nightlyfrag.vm" )</table></center></html>