8000 [WebProfilerBundle] Profiler View Latest should preserve all the current query parameters by jbafford · Pull Request #15356 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[WebProfilerBundle] Profiler View Latest should preserve all the current query parameters #15356

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 28, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
  • Loading branch information
jbaff 8000 ord committed Sep 28, 2015
commit dc6ee81196918affb2fab5f80894d2e027b0ed3b
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@
<span class="icon">{{ include('@WebProfiler/Icon/menu.svg') }}</span>
</a>

<a class="btn btn-sm" href="{{ path('_profiler_search', { limit: 10 }) }}">Latest profiles</a>
<a class="btn btn-sm" href="{{ path('_profiler_search', { limit: 10 }) }}">Last 10</a>
<a class="btn btn-sm" href="{{ path('_profiler', { token: 'latest' }|merge(request.query.all)) }}">Latest</a>

<a class="sf-toggle btn btn-sm" data-toggle-selector="#sidebar-search" {% if tokens is defined or about is defined %}data-toggle-initial="display"{% endif %}>
{{ include('@WebProfiler/Icon/search.svg') }} <span class="hidden-small">Search</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
0