forked from phpDocumentor/template.clean
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout.html.twig
168 lines (160 loc) · 8.08 KB
/
layout.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
{% use 'elements/constant.html.twig' %}
{% use 'elements/property.html.twig' %}
{% use 'elements/method.html.twig' %}
{% use 'elements/namespaces.sidebar.html.twig' %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
<meta charset="utf-8"/>
<title>{% block title %}{{ project.name }}{% endblock %}</title>
<meta name="author" content=""/>
<meta name="description" content=""/>
<link href="{{ path('css/bootstrap-combined.no-icons.min.css') }}" rel="stylesheet">
<link href="{{ path('css/font-awesome.min.css') }}" rel="stylesheet">
<link href="{{ path('css/prism.css') }}" rel="stylesheet" media="all"/>
<link href="{{ path('css/template.css') }}" rel="stylesheet" media="all"/>
{% block stylesheets %}{% endblock %}
<!--[if lt IE 9]>
<script src="{{ path('js/html5.js') }}"></script>
<![endif]-->
<script src="{{ path('js/jquery-1.11.0.min.js') }}"></script>
<script src="{{ path('js/ui/1.10.4/jquery-ui.min.js') }}"></script>
<script src="{{ path('js/bootstrap.min.js') }}"></script>
<script src="{{ path('js/jquery.smooth-scroll.js') }}"></script>
<script src="{{ path('js/prism.min.js') }}"></script>
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
{% block javascripts %}{% endblock %}
<link rel="shortcut icon" href="{{ path('images/favicon.ico') }}"/>
<link rel="apple-touch-icon" href="{{ path('images/apple-touch-icon.png') }}"/>
<link rel="apple-touch-icon" sizes="72x72" href="{{ path('images/apple-touch-icon-72x72.png') }}"/>
<link rel="apple-touch-icon" sizes="114x114" href="{{ path('images/apple-touch-icon-114x114.png') }}"/>
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<i class="icon-ellipsis-vertical"></i>
</a>
<a class="brand" href="{{ path('index.html') }}">{{ project.name }}</a>
<div class="nav-collapse">
<ul class="nav pull-right">
{% if project.namespace.children|length > 0 %}
<li class="dropdown">
<a href="{{ path('index.html') }}" class="dropdown-toggle" data-toggle="dropdown">
API Documentation <b class="caret"></b>
</a>
<ul class="dropdown-menu">
{% for namespace in project.namespace.children|sort_asc %}
<li>{{ namespace|route|raw }}</li>
{% endfor %}
</ul>
</li>
{% endif %}
<li class="dropdown" id="charts-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
Charts <b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li>
<a href="{{ path('graphs/class.html') }}">
<i class="icon-list-alt"></i> Class hierarchy diagram
</a>
</li>
</ul>
</li>
<li class="dropdown" id="reports-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
Reports <b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li>
<a href="{{ path('reports/errors.html') }}">
{% set errorCount = 0 %}
{% for file in project.files %}
{% set errorCount = errorCount + file.allerrors.count %}
{% endfor %}
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">{{ errorCount }}</span>
</a>
</li>
<li>
<a href="{{ path('reports/markers.html') }}">
{% set markerCount = 0 %}
{% for file in project.files %}
{% set markerCount = markerCount + file.markers.count %}
{% endfor %}
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">{{ markerCount }}</span>
</a>
</li>
<li>
<a href="{{ path('reports/deprecated.html') }}">
{% set deprecatedCount = 0 %}
{% for element in project.indexes.elements if element.deprecated %}
{% set deprecatedCount = deprecatedCount + element.tags.deprecated.count %}
{% endfor %}
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">{{ deprecatedCount }}</span>
</a>
</li>
</ul>
</li>
</ul>
</div>
</div>
</div>
<!--<div class="go_to_top">-->
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
<!--</div>-->
</div>
<div id="___" class="container-fluid">
{% block content %}{% endblock %}
<footer class="row-fluid">
<section class="span10 offset2">
<section class="row-fluid">
<section class="span10 offset1">
<section class="row-fluid footer-sections">
<section class="span4">
{#Doc#}
<h1><i class="icon-code"></i></h1>
<div>
<ul>
{% for namespace in project.namespace.children|sort_asc %}
<li>{{ namespace|route|raw }}</li>
{% endfor %}
</ul>
</div>
</section>
<section class="span4">
{#Graphs#}
<h1><i class="icon-bar-chart"></i></h1>
<div>
<ul>
<li><a href="{{ path('graphs/class.html') }}">Class Hierarchy Diagram</a></li>
</ul>
</div>
</section>
<section class="span4">
{#Reports#}
<h1><i class="icon-pushpin"></i></h1>
<div>
<ul>
<li><a href="{{ path('reports/errors.html') }}">Errors</a></li>
<li><a href="{{ path('reports/markers.html') }}">Markers</a></li>
</ul>
</div>
</section>
</section>
</section>
</section>
<section class="row-fluid">
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on {{ "now"|date('F jS, Y \\a\\t H:i') }}.
</section>
</section>
</section>
</footer>
</div>
</body>
</html>