From dc6ee81196918affb2fab5f80894d2e027b0ed3b Mon Sep 17 00:00:00 2001 From: John Bafford Date: Fri, 24 Jul 2015 14:53:39 -0400 Subject: [PATCH] Profiler View Latest should preserve all the current query parameters * Restore View Latest button * In order to fit into the horizontal space available, shorten the names of the Latest Profiles and View Latest buttons and adjust the buttons' margin and padding. --- .../Resources/views/Profiler/layout.html.twig | 3 ++- .../Resources/views/Profiler/profiler.css.twig | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/layout.html.twig b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/layout.html.twig index 41fbe54361..17aa347439 100644 --- a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/layout.html.twig +++ b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/layout.html.twig @@ -57,7 +57,8 @@ {{ include('@WebProfiler/Icon/menu.svg') }} - Latest profiles + Last 10 + Latest {{ include('@WebProfiler/Icon/search.svg') }} Search diff --git a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/profiler.css.twig b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/profiler.css.twig index 376b9e054c..f8cc023642 100644 --- a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/profiler.css.twig +++ b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/profiler.css.twig @@ -512,7 +512,10 @@ tr.status-warning td { color: #F5F5F5; } #sidebar #sidebar-shortcuts .btn + .btn { - margin-left: 10px; + margin-left: 5px; +} +#sidebar #sidebar-shortcuts .btn { + padding: .5em .6em; } {# Sidebar Search