NIHVIVO-564 Style modifications for dump output
This commit is contained in:
parent
a0e94628eb
commit
5c9b3cf8da
6 changed files with 19 additions and 10 deletions
|
@ -3,7 +3,7 @@
|
|||
/* Styles for Freemarker template variable dump */
|
||||
|
||||
.dump {
|
||||
border-top: 1px solid #ccc;
|
||||
border-top: 3px solid #ccc;
|
||||
border-bottom: 3px solid #ccc;
|
||||
padding: 1em 0;
|
||||
margin: 1em 0;
|
||||
|
@ -16,3 +16,9 @@
|
|||
.dump.directive h6 {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
.dump.datamodel .var, .dump.datamodel .directive {
|
||||
border-bottom: 1px solid #ccc;
|
||||
padding: 1em 0;
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
<#-- Template for dumping a template variable -->
|
||||
|
||||
<div class="dump">
|
||||
<div class="var">
|
||||
|
||||
<h6>Variable name: <em>${var}</em></h6>
|
||||
<strong>Type:</strong> ${type}<br />
|
||||
|
|
|
@ -2,8 +2,10 @@
|
|||
|
||||
<#-- Template for dump directive -->
|
||||
|
||||
<div class="dump">
|
||||
<h3>Template variable dump</h3>
|
||||
|
||||
${var}
|
||||
</div>
|
||||
|
||||
${stylesheets.add("/css/dump.css")}
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
<#-- Template for displaying directive help -->
|
||||
|
||||
<div class="dump directive">
|
||||
<div class="directive">
|
||||
<p><strong>Directive name:</strong> ${name}</p>
|
||||
|
||||
<#if effect??>
|
||||
|
|
|
@ -2,9 +2,10 @@
|
|||
|
||||
<#-- Template for displaying directive help -->
|
||||
|
||||
|
||||
<div class="dump help">
|
||||
<h3>Template directive help</h3>
|
||||
|
||||
${help}
|
||||
</div>
|
||||
|
||||
${stylesheets.add("/css/dump.css")}
|
|
@ -51,7 +51,6 @@
|
|||
<@dump var="urls" />
|
||||
<@dump var="fruit" />
|
||||
<@dump var="trueStatement" />
|
||||
<@dump var="falseStatement" />
|
||||
<@dump var="zoo1" />
|
||||
|
||||
|
||||
|
@ -65,3 +64,4 @@ ${scripts.add("/js/script1.js", "/js/script2.js", "/js/script3.js")}
|
|||
<@help directive="dump" />
|
||||
|
||||
<@describe var="stylesheets" />
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue