NIHVIVO-564 Style modifications for dump output

This commit is contained in:
rjy7 2010-08-09 18:59:24 +00:00
parent a0e94628eb
commit 5c9b3cf8da
6 changed files with 19 additions and 10 deletions

View file

@ -3,7 +3,7 @@
/* Styles for Freemarker template variable dump */ /* Styles for Freemarker template variable dump */
.dump { .dump {
border-top: 1px solid #ccc; border-top: 3px solid #ccc;
border-bottom: 3px solid #ccc; border-bottom: 3px solid #ccc;
padding: 1em 0; padding: 1em 0;
margin: 1em 0; margin: 1em 0;
@ -16,3 +16,9 @@
.dump.directive h6 { .dump.directive h6 {
margin-top: 1em; margin-top: 1em;
} }
.dump.datamodel .var, .dump.datamodel .directive {
border-bottom: 1px solid #ccc;
padding: 1em 0;
margin: 1em 0;
}

View file

@ -2,7 +2,7 @@
<#-- Template for dumping a template variable --> <#-- Template for dumping a template variable -->
<div class="dump"> <div class="var">
<h6>Variable name: <em>${var}</em></h6> <h6>Variable name: <em>${var}</em></h6>
<strong>Type:</strong> ${type}<br /> <strong>Type:</strong> ${type}<br />

View file

@ -2,8 +2,10 @@
<#-- Template for dump directive --> <#-- Template for dump directive -->
<h3>Template variable dump</h3> <div class="dump">
<h3>Template variable dump</h3>
${var} ${var}
</div>
${stylesheets.add("/css/dump.css")} ${stylesheets.add("/css/dump.css")}

View file

@ -2,7 +2,7 @@
<#-- Template for displaying directive help --> <#-- Template for displaying directive help -->
<div class="dump directive"> <div class="directive">
<p><strong>Directive name:</strong> ${name}</p> <p><strong>Directive name:</strong> ${name}</p>
<#if effect??> <#if effect??>

View file

@ -2,9 +2,10 @@
<#-- Template for displaying directive help --> <#-- Template for displaying directive help -->
<div class="dump help">
<h3>Template directive help</h3>
<h3>Template directive help</h3> ${help}
</div>
${help}
${stylesheets.add("/css/dump.css")} ${stylesheets.add("/css/dump.css")}

View file

@ -51,7 +51,6 @@
<@dump var="urls" /> <@dump var="urls" />
<@dump var="fruit" /> <@dump var="fruit" />
<@dump var="trueStatement" /> <@dump var="trueStatement" />
<@dump var="falseStatement" />
<@dump var="zoo1" /> <@dump var="zoo1" />
@ -65,3 +64,4 @@ ${scripts.add("/js/script1.js", "/js/script2.js", "/js/script3.js")}
<@help directive="dump" /> <@help directive="dump" />
<@describe var="stylesheets" /> <@describe var="stylesheets" />