Skip to content

Commit

Permalink
merged branch alexandresalome/feat-profiler-view-all (PR symfony#4506)
Browse files Browse the repository at this point in the history
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) (merged 4d29c75 into 1541fe2).

---------------------------------------------------------------------------

by nomack84 at 2012-06-06T20:36:10Z

+1
  • Loading branch information
fabpot committed Jun 8, 2012
2 parents ed4f809 + 4d29c75 commit 8d41b64
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,14 +236,25 @@ 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;
-webkit-border-top-right-radius: 16px;
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;
Expand Down Expand Up @@ -455,4 +466,4 @@ td.main, td.menu {
background: transparent url(../images/profiler/spinner.gif) scroll no-repeat 50% 50%;
height: 30px;
display: none;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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'] %}
Expand Down

0 comments on commit 8d41b64

Please sign in to comment.