NIHVIVO-653: Styled revisionInfo.ftl.

This commit is contained in:
mb863 2010-11-12 22:00:51 +00:00
parent 54a6cd4dba
commit 4f62fe72f1
2 changed files with 63 additions and 22 deletions

View file

@ -0,0 +1,34 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/* Styles for Freemarker template revisionInfo */
#revision-build-date{
width:475px;
float:right;
border-left:1px solid #DFE6E6;
padding-left:35px;
height:200px;
}
#revision-levels{
width:375px;
float:left;
}
#revision-levels caption{
padding: 10px 0 12px 0;
margin:0;
font-size: 18px;
color: #2485ae;
text-align: left;
}
#revision-levels th{
font-weight:bold;
padding:15px 20px 15px 20px;
border:1px solid #DFE6E6;
}
#revision-levels td{
padding:8px 20px 8px 20px;
border:1px solid #DFE6E6;
text-align:center;
}

View file

@ -2,27 +2,34 @@
<#-- Template for the Revision Information page. -->
<div>
<h1>Revision Information</h1>
${stylesheets.add("/css/revision.css")}
<section role="region">
<h2>Revision Information</h2>
<h2>Build date:</h2>
<div>
${revisionInfoBean.buildDate?datetime?string.full}
</div>
<section id="revision-levels" role="region">
<table summary = "This table shows revision levels">
<caption>Levels:</caption>
<tr>
<th>name</th>
<th>release</th>
<th>revision</th>
</tr>
<#list revisionInfoBean.levelInfos as level>
<tr>
<td>${level.name}</td>
<td>${level.release}</td>
<td>${level.revision}</td>
</tr>
</#list>
</table>
</section>
<h2>Levels:</h2>
<table>
<tr>
<th>name</th>
<th>release</th>
<th>revision</th>
</tr>
<#list revisionInfoBean.levelInfos as level>
<tr>
<td>${level.name}</td>
<td>${level.release}</td>
<td>${level.revision}</td>
</tr>
</#list>
</table>
</div>
<section id="revision-build-date" role="region">
<h3>Build date:</h3>
<p>${revisionInfoBean.buildDate?datetime?string.full}</p>
</section>
</section>