aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2015-03-27 18:51:25 +0100
committerMaximilian Hils <git@maximilianhils.com>2015-03-27 18:51:25 +0100
commitf39e6c5c18890de902d061226ba413254114c8ad (patch)
treead391bb24ae3c016b032ba5fe9cfbadefb72d1a6
parentdcb42b3016415865848cdc2607ff640c1fd50818 (diff)
downloadmitmproxy-f39e6c5c18890de902d061226ba413254114c8ad.tar.gz
mitmproxy-f39e6c5c18890de902d061226ba413254114c8ad.tar.bz2
mitmproxy-f39e6c5c18890de902d061226ba413254114c8ad.zip
web: minor ux improvements
-rw-r--r--libmproxy/web/app.py4
-rw-r--r--libmproxy/web/static/app.css1
-rw-r--r--web/src/css/header.less2
3 files changed, 7 insertions, 0 deletions
diff --git a/libmproxy/web/app.py b/libmproxy/web/app.py
index d95fb8ea..6bb522e1 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 bc52381c..7d02299a 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 6e61b956..73326288 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;