8000 merged branch alexandresalome/feat-profiler-view-all (PR #4506) · MattKetmo/symfony@8d41b64 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8d41b64

Browse files
committed
merged branch alexandresalome/feat-profiler-view-all (PR symfony#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) (merged 4d29c75 into 1541fe2). --------------------------------------------------------------------------- by nomack84 at 2012-06-06T20:36:10Z +1
2 parents ed4f809 + 4d29c75 commit 8d41b64

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/public/css/profiler.css

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,14 +236,25 @@ li {
236236
background-color: #f6f6f6;
237237
border-bottom: 1px solid #dfdfdf;
238238
padding: 10px 50px;
239-
margin-left: 250px;
239+
margin-left: 210px;
240240
color: #313131;
241241
font-size: 12px;
242242
-moz-border-radius-topright: 16px;
243243
-webkit-border-top-right-radius: 16px;
244244
border-top-right-radius: 16px;
245245
}
246246

247+
a#resume-view-all {
248+
display: inline-block;
249+
padding: 0.2em 0.7em;
250+
margin-right: 0.5em;
251+
background-color: #666;
252+
border-radius: 16px;
253+
color: white;
254+
font-weight: bold;
255+
text-decoration: none;
256+
}
257+
247258
table th.value {
248259
width: 450px;
249260
background-color: #dfeeb8;
@@ -455,4 +466,4 @@ td.main, td.menu {
455466
background: transparent url(../images/profiler/spinner.gif) scroll no-repeat 50% 50%;
456467
height: 30px;
457468
display: none;
458-
}
469+
}

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/layout.html.twig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<div id="collector_wrapper">
1414
{% if profile %}
1515
<div id="resume">
16+
<a id="resume-view-all" href="{{ path('_profiler_search', {limit: 10}) }}">View all</a>
1617
<strong>Profile for:</strong>
1718
{{ profile.method|upper }}
1819
{% if profile.method|upper in ['GET', 'HEAD'] %}

0 commit comments

Comments
 (0)
0