2015-01-16 16:06:58 +00:00
|
|
|
{layout '@layout.latte'}
|
|
|
|
{var $active = 'overview'}
|
|
|
|
|
|
|
|
{block title}{$config->title ?: 'Overview'}{/block}
|
|
|
|
|
|
|
|
{block content}
|
|
|
|
<div id="content">
|
|
|
|
<h1>{include title}</h1>
|
|
|
|
|
|
|
|
{var $group = false}
|
|
|
|
|
2015-11-20 10:05:33 +00:00
|
|
|
{if count($namespaces)}
|
|
|
|
<div class="panel panel-default">
|
2015-11-24 06:25:23 +00:00
|
|
|
<div class="panel-heading"><h2>Namespaces summary</h2></div>
|
2015-11-20 10:05:33 +00:00
|
|
|
<table class="summary table table-bordered table-striped" id="namespaces">
|
|
|
|
{foreach $namespaces as $namespace}
|
|
|
|
{continueIf $config->main && 0 !== strpos($namespace, $config->main)}
|
|
|
|
<tr>
|
|
|
|
{var $group = true}
|
|
|
|
<td class="name"><a href="{$namespace|namespaceUrl}">{$namespace}</a></td>
|
|
|
|
</tr>
|
|
|
|
{/foreach}
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
{/if}
|
2015-01-16 16:06:58 +00:00
|
|
|
|
2015-11-20 10:05:33 +00:00
|
|
|
{if count($packages)}
|
|
|
|
<div class="panel panel-default">
|
2015-11-24 06:25:23 +00:00
|
|
|
<div class="panel-heading"><h2>Packages summary</h2></div>
|
2015-11-20 10:05:33 +00:00
|
|
|
<table class="summary table table-bordered table-striped" id="packages">
|
|
|
|
{foreach $packages as $package}
|
|
|
|
{continueIf $config->main && 0 !== strpos($package, $config->main)}
|
|
|
|
<tr>
|
|
|
|
{var $group = true}
|
|
|
|
<td class="name">
|
|
|
|
<a href="{$package|packageUrl}">{$package}</a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{/foreach}
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
{/if}
|
2015-01-16 16:06:58 +00:00
|
|
|
|
|
|
|
{if ! $group}
|
|
|
|
{include '@elementlist.latte'}
|
|
|
|
{/if}
|
|
|
|
</div>
|
|
|
|
{/block}
|