Tidy up navigation

This commit is contained in:
Andreas Hocevar
2019-10-23 13:26:47 +02:00
parent 3cb0aae796
commit 4fe16d0281
2 changed files with 31 additions and 24 deletions

View File

@@ -14,6 +14,11 @@ function toShortName(name) {
?>
<li class="item" data-name="<?js= item.longname ?>" data-shortname="<?js= item.name.toLowerCase() ?>">
<span class="title">
<?js if (item.type === 'module') { ?>
<span class="glyphicon glyphicon-plus"></span>
<?js } else if (item.type === 'class') { ?>
<span class="glyphicon glyphicon-chevron-right"></span>
<?js } ?>
<?js= self.linkto(item.longname, item.prettyname) ?>
<?js if (item.type === 'namespace' &&
(item.members.length + item.typedefs.length + item.methods.length +