2010-11-12 18:02:06 +00:00
|
|
|
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
|
|
|
|
|
|
|
<#-- Test widget -->
|
|
|
|
|
|
|
|
<#macro assets>
|
|
|
|
${stylesheets.add("/css/test.css")}
|
|
|
|
${scripts.add("/js/testscript.js")}
|
|
|
|
${headScripts.add("/js/testheadscript.js")}
|
|
|
|
</#macro>
|
|
|
|
|
|
|
|
<#macro markup>
|
2010-11-15 02:11:08 +00:00
|
|
|
<#import "lib-list.ftl" as l>
|
2010-11-12 18:02:06 +00:00
|
|
|
<div class="testWidget">
|
2010-11-15 02:11:08 +00:00
|
|
|
<h4>This is the test widget using macros.</h4>
|
2010-11-12 18:02:06 +00:00
|
|
|
<p>I like ${fruit}.</p>
|
|
|
|
</div>
|
2010-11-15 02:11:08 +00:00
|
|
|
</#macro>
|
|
|
|
|
|
|
|
<#macro altMarkup>
|
|
|
|
<div class="testWidget">
|
|
|
|
<h4>This is the alternate version of the test widget.</h4>
|
|
|
|
<p>I hate ${fruit}.</p>
|
|
|
|
</div>
|
2010-11-12 18:02:06 +00:00
|
|
|
</#macro>
|