mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
Sizing and placeholder for preview forms.
This commit is contained in:
parent
7dab85e8b1
commit
e1df7f47a6
@ -1,4 +1,11 @@
|
||||
<form class="form-inline" method="GET" action="/request_preview">
|
||||
<input id="spec" name="spec" class="input-medium search-query" value="{{spec}}">
|
||||
<input
|
||||
style="width: 20em"
|
||||
id="spec"
|
||||
name="spec"
|
||||
class="input-medium search-query"
|
||||
value="{{spec}}"
|
||||
placeholder="method:path:[features]"
|
||||
>
|
||||
<input type="submit" class="btn" value="preview">
|
||||
</form>
|
||||
|
@ -1,5 +1,12 @@
|
||||
<form class="form-inline" method="GET" action="/response_preview">
|
||||
<input id="spec" name="spec" class="input-medium search-query" value="{{spec}}">
|
||||
<input
|
||||
style="width: 20em"
|
||||
id="spec"
|
||||
name="spec"
|
||||
class="input-medium search-query"
|
||||
value="{{spec}}"
|
||||
placeholder="code[msg]:[features]"
|
||||
>
|
||||
<input type="submit" class="btn" value="preview">
|
||||
{% if not nocraft %}
|
||||
<a href="#" id="submitspec" class="btn">go to</a>
|
||||
|
@ -59,6 +59,3 @@ class TestApp(tutils.DaemonTests):
|
||||
assert r.status_code == 200
|
||||
assert 'Request' in r.content
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user