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.
This commit is contained in:
parent
3bea01bd0d
commit
dc6ee81196
@ -57,7 +57,8 @@
|
|||||||
<span class="icon">{{ include('@WebProfiler/Icon/menu.svg') }}</span>
|
<span class="icon">{{ include('@WebProfiler/Icon/menu.svg') }}</span>
|
||||||
</a>
|
</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 %}>
|
<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>
|
{{ include('@WebProfiler/Icon/search.svg') }} <span class="hidden-small">Search</span>
|
||||||
|
@ -512,7 +512,10 @@ tr.status-warning td {
|
|||||||
color: #F5F5F5;
|
color: #F5F5F5;
|
||||||
}
|
}
|
||||||
#sidebar #sidebar-shortcuts .btn + .btn {
|
#sidebar #sidebar-shortcuts .btn + .btn {
|
||||||
margin-left: 10px;
|
margin-left: 5px;
|
||||||
|
}
|
||||||
|
#sidebar #sidebar-shortcuts .btn {
|
||||||
|
padding: .5em .6em;
|
||||||
}
|
}
|
||||||
|
|
||||||
{# Sidebar Search
|
{# Sidebar Search
|
||||||
|
Reference in New Issue
Block a user