improve display of tunables and booleans

This commit is contained in:
Chris PeBenito 2005-07-11 14:41:21 +00:00
parent 4d7511ba57
commit 34bbe50d50
2 changed files with 14 additions and 8 deletions

View File

@ -1,11 +1,14 @@
<h3>Global booleans:</h3> <h3>Global booleans:</h3>
[[for bool in booleans]] [[for bool in booleans]]
<div id="interfacesmall"> <div id="interface">
<h4>[[bool['bool_name']]]</h4> <div id="codeblock">[[bool['bool_name']]]</div>
<p>Default Value: [[bool['def_val']]]</p> <div id="description">
<h5>Default value</h5>
<p>[[bool['def_val']]]</p>
[[if bool['desc']]] [[if bool['desc']]]
<h5>Description</h5>
<p>[[bool['desc']]]</p> <p>[[bool['desc']]]</p>
[[end]] [[end]]
</div> </div></div>
[[end]] [[end]]

View File

@ -1,11 +1,14 @@
<h3>Global tunables:</h3> <h3>Global tunables:</h3>
[[for tun in tunables]] [[for tun in tunables]]
<div id="interfacesmall"> <div id="interface">
<h4>[[tun['tun_name']]]</h4> <div id="codeblock">[[tun['tun_name']]]</div>
<p>Default Value: [[tun['def_val']]]</p> <div id="description">
<h5>Default value</h5>
<p>[[tun['def_val']]]</p>
[[if tun['desc']]] [[if tun['desc']]]
<h5>Description</h5>
<p>[[tun['desc']]]</p> <p>[[tun['desc']]]</p>
[[end]] [[end]]
</div> </div></div>
[[end]] [[end]]