improve display of tunables and booleans
This commit is contained in:
parent
4d7511ba57
commit
34bbe50d50
11
refpolicy/doc/templates/global_bool_list.html
vendored
11
refpolicy/doc/templates/global_bool_list.html
vendored
@ -1,11 +1,14 @@
|
||||
<h3>Global booleans:</h3>
|
||||
|
||||
[[for bool in booleans]]
|
||||
<div id="interfacesmall">
|
||||
<h4>[[bool['bool_name']]]</h4>
|
||||
<p>Default Value: [[bool['def_val']]]</p>
|
||||
<div id="interface">
|
||||
<div id="codeblock">[[bool['bool_name']]]</div>
|
||||
<div id="description">
|
||||
<h5>Default value</h5>
|
||||
<p>[[bool['def_val']]]</p>
|
||||
[[if bool['desc']]]
|
||||
<h5>Description</h5>
|
||||
<p>[[bool['desc']]]</p>
|
||||
[[end]]
|
||||
</div>
|
||||
</div></div>
|
||||
[[end]]
|
||||
|
11
refpolicy/doc/templates/global_tun_list.html
vendored
11
refpolicy/doc/templates/global_tun_list.html
vendored
@ -1,11 +1,14 @@
|
||||
<h3>Global tunables:</h3>
|
||||
|
||||
[[for tun in tunables]]
|
||||
<div id="interfacesmall">
|
||||
<h4>[[tun['tun_name']]]</h4>
|
||||
<p>Default Value: [[tun['def_val']]]</p>
|
||||
<div id="interface">
|
||||
<div id="codeblock">[[tun['tun_name']]]</div>
|
||||
<div id="description">
|
||||
<h5>Default value</h5>
|
||||
<p>[[tun['def_val']]]</p>
|
||||
[[if tun['desc']]]
|
||||
<h5>Description</h5>
|
||||
<p>[[tun['desc']]]</p>
|
||||
[[end]]
|
||||
</div>
|
||||
</div></div>
|
||||
[[end]]
|
||||
|
Loading…
Reference in New Issue
Block a user