From ca04024bb1baf52ada13edcf23ad7c640ef0c0a7 Mon Sep 17 00:00:00 2001 From: Fabricio Date: Sat, 23 Nov 2019 11:00:09 -0300 Subject: [PATCH] change flex to grid --- dashboard.go | 122 ++++++++++++++++++++++++++++++++------------------- 1 file changed, 76 insertions(+), 46 deletions(-) diff --git a/dashboard.go b/dashboard.go index 43c903c..51914cf 100644 --- a/dashboard.go +++ b/dashboard.go @@ -6,11 +6,14 @@ const dashboardHTML = ` + Dashboard -
+
@@ -191,8 +219,8 @@ const dashboardHTML = ` :class="{selected: selectedItem.id == item.id}"> {{item.method}} ‎{{item.path}}‎ - {{item.status == 999 ? 'failed' : item.status}} {{item.elapsed}}ms + {{item.status == 999 ? 'failed' : item.status}}
@@ -204,6 +232,7 @@ const dashboardHTML = `
+
req
{{selectedItem.request}}
@@ -213,11 +242,12 @@ const dashboardHTML = `
+
res
{{selectedItem.response}}
-
+

Waiting for requests on http://localhost:<<.ProxyPort>>/
Proxying <<.TargetURL>>