forked from joomla/api.joomla.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html.twig
60 lines (56 loc) · 2.77 KB
/
index.html.twig
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
57
58
59
60
{% extends 'layout.html.twig' %}
{% import 'base/macros.html.twig' as macros %}
{% block content %}
<div class="row-fluid">
<div class="span7">
{% if project.namespace|length > 0 or not project.indexes.packages %}
<div class="well">
<ul class="nav nav-list">
<li class="nav-header">Namespaces</li>
{% block listRootNamespaces %}
{% for namespace in project.namespace.children %}
<li><a href="{{ path(namespace|route('url')) }}">{{ namespace.name }}</a></li>
{% endfor %}
{% endblock %}
</ul>
</div>
{% endif %}
{% if project.package|length %}
<div class="well">
<ul class="nav nav-list">
<li class="nav-header">Packages</li>
{% block listRootPackages %}
{% for package in project.package.children %}
<li><a href="{{ path(package|route('url')) }}">{{ package.name }}</a></li>
{% endfor %}
{% endblock %}
</ul>
</div>
{% endif %}
</div>
<div class="span5">
<div class="well">
<ul class="nav nav-list">
<li class="nav-header">Charts</li>
{% block listCharts %}
<li>
<a href="{{ path('graph_class.html') }}">
<i class="icon-list-alt"></i> Class inheritance diagram
</a>
</li>
{% endblock %}
</ul>
</div>
<div class="well">
<ul class="nav nav-list">
<li class="nav-header">Reports</li>
{% block listReports %}
<li><a href="{{ path('deprecated.html') }}"><i class="icon-list-alt"></i> Deprecated {{ macros.renderDeprecatedCounter(project.indexes.elements) }}</a></li>
<li><a href="{{ path('errors.html') }}"><i class="icon-list-alt"></i> Errors {{ macros.renderErrorCounter(project.files) }}</a></li>
<li><a href="{{ path('markers.html') }}"><i class="icon-list-alt"></i> Markers {{ macros.renderMarkerCounter(project.files) }}</a></li>
{% endblock %}
</ul>
</div>
</div>
</div>
{% endblock %}