mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-01-30 23:09:44 +00:00
web: minor ux improvements
This commit is contained in:
parent
dcb42b3016
commit
f39e6c5c18
@ -166,6 +166,10 @@ class RevertFlow(RequestHandler):
|
|||||||
|
|
||||||
class ReplayFlow(RequestHandler):
|
class ReplayFlow(RequestHandler):
|
||||||
def post(self, flow_id):
|
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)
|
r = self.master.replay_request(self.flow)
|
||||||
if r:
|
if r:
|
||||||
raise APIError(400, r)
|
raise APIError(400, r)
|
||||||
|
@ -155,6 +155,7 @@ header .menu {
|
|||||||
top: 27px;
|
top: 27px;
|
||||||
display: block;
|
display: block;
|
||||||
max-width: none;
|
max-width: none;
|
||||||
|
opacity: 0.9;
|
||||||
}
|
}
|
||||||
.filter-input .popover .popover-content {
|
.filter-input .popover .popover-content {
|
||||||
max-height: 500px;
|
max-height: 500px;
|
||||||
|
@ -24,6 +24,8 @@ header {
|
|||||||
top: 27px;
|
top: 27px;
|
||||||
display: block;
|
display: block;
|
||||||
max-width: none;
|
max-width: none;
|
||||||
|
opacity: 0.9;
|
||||||
|
|
||||||
.popover-content {
|
.popover-content {
|
||||||
max-height: 500px;
|
max-height: 500px;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
Loading…
Reference in New Issue
Block a user