From f39e6c5c18890de902d061226ba413254114c8ad Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Fri, 27 Mar 2015 18:51:25 +0100 Subject: [PATCH] web: minor ux improvements --- libmproxy/web/app.py | 4 ++++ libmproxy/web/static/app.css | 1 + web/src/css/header.less | 2 ++ 3 files changed, 7 insertions(+) diff --git a/libmproxy/web/app.py b/libmproxy/web/app.py index d95fb8ea0..6bb522e11 100644 --- a/libmproxy/web/app.py +++ b/libmproxy/web/app.py @@ -166,6 +166,10 @@ class RevertFlow(RequestHandler): class ReplayFlow(RequestHandler): def post(self, flow_id): + self.flow.backup() + self.flow.response = None + self.state.update_flow(self.flow) + r = self.master.replay_request(self.flow) if r: raise APIError(400, r) diff --git a/libmproxy/web/static/app.css b/libmproxy/web/static/app.css index bc52381cc..7d02299af 100644 --- a/libmproxy/web/static/app.css +++ b/libmproxy/web/static/app.css @@ -155,6 +155,7 @@ header .menu { top: 27px; display: block; max-width: none; + opacity: 0.9; } .filter-input .popover .popover-content { max-height: 500px; diff --git a/web/src/css/header.less b/web/src/css/header.less index 6e61b956c..733262885 100644 --- a/web/src/css/header.less +++ b/web/src/css/header.less @@ -24,6 +24,8 @@ header { top: 27px; display: block; max-width: none; + opacity: 0.9; + .popover-content { max-height: 500px; overflow-y: auto;