NIHVIVO-653: Styled revisionInfo.ftl.
This commit is contained in:
parent
54a6cd4dba
commit
4f62fe72f1
2 changed files with 63 additions and 22 deletions
34
webapp/web/css/revision.css
Normal file
34
webapp/web/css/revision.css
Normal 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;
|
||||||
|
}
|
|
@ -2,27 +2,34 @@
|
||||||
|
|
||||||
<#-- Template for the Revision Information page. -->
|
<#-- Template for the Revision Information page. -->
|
||||||
|
|
||||||
<div>
|
${stylesheets.add("/css/revision.css")}
|
||||||
<h1>Revision Information</h1>
|
|
||||||
|
|
||||||
<h2>Build date:</h2>
|
<section role="region">
|
||||||
<div>
|
<h2>Revision Information</h2>
|
||||||
${revisionInfoBean.buildDate?datetime?string.full}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<h2>Levels:</h2>
|
<section id="revision-levels" role="region">
|
||||||
<table>
|
|
||||||
<tr>
|
<table summary = "This table shows revision levels">
|
||||||
<th>name</th>
|
<caption>Levels:</caption>
|
||||||
<th>release</th>
|
|
||||||
<th>revision</th>
|
<tr>
|
||||||
</tr>
|
<th>name</th>
|
||||||
<#list revisionInfoBean.levelInfos as level>
|
<th>release</th>
|
||||||
<tr>
|
<th>revision</th>
|
||||||
<td>${level.name}</td>
|
</tr>
|
||||||
<td>${level.release}</td>
|
<#list revisionInfoBean.levelInfos as level>
|
||||||
<td>${level.revision}</td>
|
<tr>
|
||||||
</tr>
|
<td>${level.name}</td>
|
||||||
</#list>
|
<td>${level.release}</td>
|
||||||
</table>
|
<td>${level.revision}</td>
|
||||||
</div>
|
</tr>
|
||||||
|
</#list>
|
||||||
|
</table>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section id="revision-build-date" role="region">
|
||||||
|
<h3>Build date:</h3>
|
||||||
|
|
||||||
|
<p>${revisionInfoBean.buildDate?datetime?string.full}</p>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
|
Loading…
Add table
Reference in a new issue