merged branch alexandresalome/feat-profiler-view-all (PR #4506)
Commits -------4d29c75
[WebProfilerBundle] Add a button "View all" in top of the page Discussion ---------- [WebProfilerBundle] Add a button "View all" in top of the page This is a link in the toolbar to search for last queries. This actions is often achieved and having a link in top of the page to reach the 10 last queries seems useful. View on Twitpic: http://twitpic.com/9ti0yx --------------------------------------------------------------------------- by travisbot at 2012-06-06T20:04:49Z This pull request [passes](http://travis-ci.org/symfony/symfony/builds/1550622) (merged4d29c755
into1541fe26
). --------------------------------------------------------------------------- by nomack84 at 2012-06-06T20:36:10Z +1
This commit is contained in:
commit
8d41b64e7e
@ -236,7 +236,7 @@ li {
|
||||
background-color: #f6f6f6;
|
||||
border-bottom: 1px solid #dfdfdf;
|
||||
padding: 10px 50px;
|
||||
margin-left: 250px;
|
||||
margin-left: 210px;
|
||||
color: #313131;
|
||||
font-size: 12px;
|
||||
-moz-border-radius-topright: 16px;
|
||||
@ -244,6 +244,17 @@ li {
|
||||
border-top-right-radius: 16px;
|
||||
}
|
||||
|
||||
a#resume-view-all {
|
||||
display: inline-block;
|
||||
padding: 0.2em 0.7em;
|
||||
margin-right: 0.5em;
|
||||
background-color: #666;
|
||||
border-radius: 16px;
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
table th.value {
|
||||
width: 450px;
|
||||
background-color: #dfeeb8;
|
||||
@ -455,4 +466,4 @@ td.main, td.menu {
|
||||
background: transparent url(../images/profiler/spinner.gif) scroll no-repeat 50% 50%;
|
||||
height: 30px;
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
@ -13,6 +13,7 @@
|
||||
<div id="collector_wrapper">
|
||||
{% if profile %}
|
||||
<div id="resume">
|
||||
<a id="resume-view-all" href="{{ path('_profiler_search', {limit: 10}) }}">View all</a>
|
||||
<strong>Profile for:</strong>
|
||||
{{ profile.method|upper }}
|
||||
{% if profile.method|upper in ['GET', 'HEAD'] %}
|
||||
|
Reference in New Issue
Block a user