diff options
| author | Aldo Cortesi <aldo@nullcube.com> | 2012-07-25 10:24:09 +1200 |
|---|---|---|
| committer | Aldo Cortesi <aldo@nullcube.com> | 2012-07-25 10:24:09 +1200 |
| commit | e1df7f47a670e5f2f3cfb27d77efecec1157333e (patch) | |
| tree | 7fb47246c00df8fe1820fad47ebabaa804b2050b /libpathod | |
| parent | 7dab85e8b1de9101cadcc75768672a7ca26da3b8 (diff) | |
| download | mitmproxy-e1df7f47a670e5f2f3cfb27d77efecec1157333e.tar.gz mitmproxy-e1df7f47a670e5f2f3cfb27d77efecec1157333e.tar.bz2 mitmproxy-e1df7f47a670e5f2f3cfb27d77efecec1157333e.zip | |
Sizing and placeholder for preview forms.
Diffstat (limited to 'libpathod')
| -rw-r--r-- | libpathod/templates/request_previewform.html | 9 | ||||
| -rw-r--r-- | libpathod/templates/response_previewform.html | 9 |
2 files changed, 16 insertions, 2 deletions
diff --git a/libpathod/templates/request_previewform.html b/libpathod/templates/request_previewform.html index accb1631..a7130da0 100644 --- a/libpathod/templates/request_previewform.html +++ b/libpathod/templates/request_previewform.html @@ -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> diff --git a/libpathod/templates/response_previewform.html b/libpathod/templates/response_previewform.html index d98a72f7..a82535e4 100644 --- a/libpathod/templates/response_previewform.html +++ b/libpathod/templates/response_previewform.html @@ -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> |
