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