[WebProfilerBundle] Use a liquid layout rather than a fixed width layout.
This commit is contained in:
parent
ae7a2df104
commit
d56fadfbb9
@ -215,20 +215,22 @@ fieldset
|
||||
top: 20px;
|
||||
}
|
||||
|
||||
#navigation, #collector_content
|
||||
{
|
||||
float:left
|
||||
}
|
||||
|
||||
#navigation
|
||||
{
|
||||
width:250px;
|
||||
#collector_wrapper {
|
||||
float: left;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#collector_content
|
||||
{
|
||||
width:620px;
|
||||
padding:40px 0 40px 50px;
|
||||
margin-left: 250px;
|
||||
padding: 40px 50px;
|
||||
}
|
||||
|
||||
#navigation
|
||||
{
|
||||
float: left;
|
||||
width: 250px;
|
||||
margin-left: -100%;
|
||||
}
|
||||
|
||||
#collector_content table td
|
||||
|
@ -21,9 +21,12 @@
|
||||
<div id="main">
|
||||
|
||||
<div class="clear_fix">
|
||||
|
||||
<div id="collector_wrapper">
|
||||
<div id="collector_content">
|
||||
{% block panel '' %}
|
||||
</div>
|
||||
</div>
|
||||
<div id="navigation">
|
||||
|
||||
{% if templates is defined %}
|
||||
<ul id="menu_profiler">
|
||||
{% for name, template in templates %}
|
||||
@ -36,15 +39,8 @@
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
{% render 'WebProfilerBundle:Profiler:searchBar' %}
|
||||
|
||||
{% include 'WebProfilerBundle:Profiler:admin.html.twig' with { 'token': token } only %}
|
||||
|
||||
</div>
|
||||
|
||||
<div id="collector_content">
|
||||
{% block panel '' %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -12,10 +12,7 @@
|
||||
|
||||
<div id="main">
|
||||
<div class="clear_fix">
|
||||
<div id="navigation">
|
||||
{% render 'WebProfilerBundle:Profiler:searchBar' with { 'token': token } %}
|
||||
{% include 'WebProfilerBundle:Profiler:admin.html.twig' with { 'token': token } only %}
|
||||
</div>
|
||||
<div id="collector_wrapper">
|
||||
<div id="collector_content">
|
||||
{% block panel%}
|
||||
<h2>Token not found</h2>
|
||||
@ -25,6 +22,11 @@
|
||||
{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
<div id="navigation">
|
||||
{% render 'WebProfilerBundle:Profiler:searchBar' with { 'token': token } %}
|
||||
{% include 'WebProfilerBundle:Profiler:admin.html.twig' with { 'token': token } only %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user