summaryrefslogtreecommitdiff
path: root/buildscripts/apigen/pradosoft/overview.latte
blob: 96d205ff3df8c6a738371d5bee5bf30a61b767e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{*
ApiGen 2.8.0 - API documentation generator for PHP 5.3+

Copyright (c) 2010-2011 David Grudl (http://davidgrudl.com)
Copyright (c) 2011-2012 Jaroslav Hanslík (https://github.com/kukulich)
Copyright (c) 2011-2012 Ondřej Nešpor (https://github.com/Andrewsville)

For the full copyright and license information, please view
the file LICENSE.md that was distributed with this source code.
*}
{layout '@layout.latte'}
{var $active = 'overview'}

{block #title}{$config->title ?: 'Overview'}{/block}

{block #content}
<div id="content">
	<h1>{include #title}</h1>

	{var $group = false}

	{if $namespaces}
	{if}
	<table class="summary" id="namespaces">
	<caption>Namespaces summary</caption>
	{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>
	{/if $iterations}
	{/if}

	{if $packages}
	{if}
	<table class="summary" id="packages">
	<caption>Packages summary</caption>
	{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>
	{/if $iterations}
	{/if}

	{if !$group}
	{include '@elementlist.latte'}
	{/if}
</div>
{/block}