This repository was archived by the owner on Nov 22, 2019. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathindex.html.twig
More file actions
77 lines (72 loc) · 3.28 KB
/
index.html.twig
File metadata and controls
77 lines (72 loc) · 3.28 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{% extends 'layout.html.twig' %}
{% import 'base/macros.html.twig' as macros %}
{% block heroUnit %}
<div class="hero-unit">
<h1>{{ project.name|raw }}</h1>
<h2>Documentation</h2>
</div>
{% endblock %}
{% block content %}
<div class="row">
<div class="span7">
{% if project.indexes.namespaces|length > 0 or not project.indexes.packages %}
<div class="well">
<ul class="nav nav-list">
<li class="nav-header">Namespaces</li>
{% block listRootNamespaces %}
<li><a href="{{ path(project.namespace) }}">Global ({{ project.namespace.name }})</a></li>
{% for namespace in project.namespace.children|sort_asc %}
<li><a href="{{ path(namespace) }}">{{ namespace.name }}</a></li>
{% endfor %}
{% endblock %}
</ul>
</div>
{% endif %}
{% if project.indexes.packages|length > 0 %}
<div class="well">
<ul class="nav nav-list">
<li class="nav-header">Packages</li>
{% block listRootPackages %}
<li><a href="{{ path(project.indexes.packages|first) }}">Global ({{ (project.indexes.packages|first).name }})</a></li>
{% for package in (project.indexes.packages|first).children|sort_asc %}
<li><a href="{{ path(package) }}">{{ 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('errors.html') }}">
<i class="icon-list-alt"></i> Errors {{ macros.renderErrorCounter(project.files) }}
</a>
</li>
<li>
<a href="{{ path('deprecated.html') }}">
<i class="icon-list-alt"></i> Deprecated {{ macros.renderDeprecatedCounter(project.indexes.elements) }}
</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 %}