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>
|
|
|
|
|
2010-11-15 02:22:37 +00:00
|
|
|
<#macro loggedIn>
|
2010-11-12 18:02:06 +00:00
|
|
|
<div class="testWidget">
|
2010-11-15 02:22:37 +00:00
|
|
|
<h4>This is the test widget for logged-in users.</h4>
|
|
|
|
<p>Login status: ${status}.</p>
|
2010-11-12 18:02:06 +00:00
|
|
|
</div>
|
2010-11-15 02:11:08 +00:00
|
|
|
</#macro>
|
|
|
|
|
2010-11-15 02:22:37 +00:00
|
|
|
<#macro notLoggedIn>
|
2010-11-15 02:11:08 +00:00
|
|
|
<div class="testWidget">
|
2010-11-15 02:22:37 +00:00
|
|
|
<h4>This is the test widget for non-logged-in users.</h4>
|
|
|
|
<p>Login status: ${status}.</p>
|
2010-11-15 02:11:08 +00:00
|
|
|
</div>
|
2010-11-12 18:02:06 +00:00
|
|
|
</#macro>
|