[WebProfilerBundle] Replay referer URL
This commit is contained in:
parent
4d757b5382
commit
9020d49765
@ -16,6 +16,10 @@
|
|||||||
<a href="{{ profile.url }}">{{ profile.url }}</a>
|
<a href="{{ profile.url }}">{{ profile.url }}</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ profile.url }}
|
{{ profile.url }}
|
||||||
|
{% set referer = profile.collector('request').requestheaders.get('referer') %}
|
||||||
|
{% if referer %}
|
||||||
|
<a href="{{ referer }}" class="referer">Replay referer URL</a>
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
|
@ -585,10 +585,19 @@ tr.status-warning td {
|
|||||||
font-size: 21px;
|
font-size: 21px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
#summary h2 a:hover {
|
#summary h2 a:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
#summary h2 a.referer {
|
||||||
|
margin-left: .5em;
|
||||||
|
font-size: 75%;
|
||||||
|
color: rgba(255, 255, 255, 0.5);
|
||||||
|
}
|
||||||
|
#summary h2 a.referer:before {
|
||||||
|
content: '\1F503\00a0';
|
||||||
|
}
|
||||||
|
|
||||||
#summary .status-success { background: var(--color-success); }
|
#summary .status-success { background: var(--color-success); }
|
||||||
#summary .status-warning { background: var(--color-warning); }
|
#summary .status-warning { background: var(--color-warning); }
|
||||||
|
Reference in New Issue
Block a user