/
layout.html.twig
52 lines (40 loc) · 1.92 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
{% extends 'WebProfilerBundle:Profiler:base.html.twig' %}
{% block body %}
{% render 'WebProfilerBundle:Profiler:toolbar' with { 'token': token, 'position': 'normal' } %}
<div id="content">
{% include 'WebProfilerBundle:Profiler:header.html.twig' only %}
{% if not profiler.isempty %}
<div class="resume">
<p>
<strong><a href="{{ profiler.url }}">{{ profiler.url }}</a></strong>
<span class="date">
<strong>by {{ profiler.ip }}</strong> at <strong>{{ profiler.time|date('r') }}</strong>
</span>
</p>
</div>
{% endif %}
<div class="main">
<div class="clear_fix">
<div class="navigation">
{% if templates is defined %}
<ul class="menu_profiler">
{% for name, template in templates %}
{% set menu %}{{ template.renderBlock('menu', { 'collector': profiler.get(name)}) }}{% endset %}
{% if menu != '' %}
<li class="{{ name }}{% if name == panel %} selected{% endif %}">
<a href="{{ path('_profiler_panel', { 'token': token, 'panel': name }) }}">{{ menu|raw }}</a>
</li>
{% endif %}
{% endfor %}
</ul>
{% endif %}
{% render 'WebProfilerBundle:Profiler:searchBar' %}
{% include 'WebProfilerBundle:Profiler:admin.html.twig' with { 'token': token } only %}
</div>
<div class="collector_content">
{% block panel '' %}
</div>
</div>
</div>
</div>
{% endblock %}