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-main/WebContent/WEB-INF/fm/layout/columns.ftl

19 lines
375 B
Text
Raw Normal View History

2018-10-23 09:38:02 +02:00
<#macro left_column width=0>
<#if width gt 0>
<div class="left-column" style="width: ${width}px">
<#else>
<div class="column left-column">
</#if>
<#nested>
</div>
</#macro>
<#macro right_column width=0>
<#if width gt 0>
<div style="width: ${width}px; padding: 0 0 0 ${width}px">
<#else>
<div class="column right-column">
</#if>
<#nested>
</div>
</#macro>