[WebProfilerBundle] Make the IP address in the profiler header clickable to view requests by IP

This commit is contained in:
James Halsall 2016-09-01 15:30:42 +01:00 committed by James Halsall
parent 03a824a117
commit 52606a19cf
No known key found for this signature in database
GPG Key ID: 40958F5830D67B2C
2 changed files with 5 additions and 2 deletions

View File

@ -68,7 +68,9 @@
<dd>{{ status_code }}</dd>
<dt>IP</dt>
<dd>{{ profile.ip }}</dd>
<dd>
<a href="{{ path('_profiler_search_results', { token: token, limit: 10, ip: profile.ip }) }}">{{ profile.ip }}</a>
</dd>
<dt>Profiled on</dt>
<dd>{{ profile.time|date('r') }}</dd>

View File

@ -491,7 +491,8 @@ tr.status-warning td {
color: #FFF;
}
#summary dl.metadata {
#summary dl.metadata,
#summary dl.metadata a {
margin: 5px 0 0;
color: rgba(255, 255, 255, 0.75);
}