From fe326bb2c01a599fabb86c3cb250cb170e4499be Mon Sep 17 00:00:00 2001 From: Olivier Lechevalier Date: Thu, 17 Oct 2019 16:57:06 +0900 Subject: [PATCH] Add collapsible request and response section on profiler. Closes #222 --- src/Resources/views/profiler.html.twig | 58 ++++++++++++++++++-------- 1 file changed, 40 insertions(+), 18 deletions(-) diff --git a/src/Resources/views/profiler.html.twig b/src/Resources/views/profiler.html.twig index 6248d9d..333d7eb 100644 --- a/src/Resources/views/profiler.html.twig +++ b/src/Resources/views/profiler.html.twig @@ -47,10 +47,14 @@ -
-

Request

- - +
+

+ + Request + +

+ +
@@ -79,11 +83,15 @@
Protocol Version {{ message.request.protocolVersion }}
-
-

Response

+
+

+ + Response + +

{% if message.response %} - +
@@ -114,18 +122,32 @@
Protocol Version {{ message.response.protocolVersion }}