Switch to the Jaguar theme

In addition to a nicer layout, this adds a searchable sidebar
and a source code viewer.
This commit is contained in:
Andreas Hocevar
2014-05-06 12:46:59 -05:00
parent e6dbb61d68
commit e2c9dd279d
37 changed files with 1814 additions and 702 deletions
+26 -15
View File
@@ -1,19 +1,30 @@
<?js
var data = obj;
if (data.description) {
var data = obj;
?>
<div class="param-desc">
<?js= description ?>
</div>
<?js } ?>
<?js if (data.type && data.type.names) {?>
<?js if (data.description && data.type && data.type.names) { ?>
<dl>
<dt>
Type
</dt>
<dd>
<?js= this.partial('type.tmpl', data.type.names) ?>
</dd>
<dt>
<div class="param-desc">
<?js= data.description ?>
</div>
</dt>
<dt>
<dl>
<dt>
Type
</dt>
<dd>
<?js= this.partial('type.tmpl', data.type.names) ?>
</dd>
</dl>
</dt>
</dl>
<?js } ?>
<?js } else { ?>
<div class="param-desc">
<?js if (data.description) { ?>
<?js= data.description ?>
<?js } else if (data.type && data.type.names) { ?>
<?js= this.partial('type.tmpl', data.type.names) ?>
<?js } ?>
</div>
<?js } ?>