This repository has been archived on 2024-07-18. You can view files and clone it, but cannot push or open issues or pull requests.
lwb6/legacyworlds-web/legacyworlds-web-admin/WebContent/WEB-INF/fm/layout/datatable.ftl

20 lines
594 B
Text
Raw Normal View History

2018-10-23 09:38:02 +02:00
<#macro dt_main title="">
<table class="data-table">
<#if title != "">
<tr><th colspan="2" class="title">${title}</th></tr>
</#if>
<#nested>
</table>
</#macro>
<#macro dt_entry title abbr="" width=0>
<tr>
<th<#if width gt 0> style="width: ${width}px"</#if>><#if title == "">&nbsp;<#else><#if abbr != ""><abbr title="${title?xhtml}">${abbr?xhtml}</abbr><#else>${title?xhtml}</#if>:</#if></th>
<td><#nested></td>
</tr>
</#macro>
<#macro dt_blank>
<tr><td colspan="2">&nbsp;</td></tr>
</#macro>
<#macro dt_status>
<tr><td colspan="2" class="status"><#nested></td></tr>
</#macro>