aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/templates/index.html
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2012-04-29 21:22:00 +1200
committerAldo Cortesi <aldo@nullcube.com>2012-04-29 21:22:00 +1200
commitccd6eeed4b8eafcfd2530057fb645915fe335caf (patch)
treef950def13a56a87c9b8c7eb5dc8ea0ab5d49f33d /libpathod/templates/index.html
parent1431b36c4a226dc9b57a3334364a0c40162c388f (diff)
downloadmitmproxy-ccd6eeed4b8eafcfd2530057fb645915fe335caf.tar.gz
mitmproxy-ccd6eeed4b8eafcfd2530057fb645915fe335caf.tar.bz2
mitmproxy-ccd6eeed4b8eafcfd2530057fb645915fe335caf.zip
Make "Go" button on preview form work.
Diffstat (limited to 'libpathod/templates/index.html')
-rw-r--r--libpathod/templates/index.html11
1 files changed, 1 insertions, 10 deletions
diff --git a/libpathod/templates/index.html b/libpathod/templates/index.html
index f5808c4d..396137d6 100644
--- a/libpathod/templates/index.html
+++ b/libpathod/templates/index.html
@@ -1,13 +1,4 @@
{% extends frame.html %}
{% block body %}
- <form class="well form-search" method="GET" action="/preview">
- <input style="width: 30em;" name="spec" class="input-medium search-query">
- <input type="submit" class="btn" value="preview">
- <a href="#" class="btn">go</a>
- </form>
- <script>
- $(function(){
- console.log("pigs");
- });
- </script>
+ {% include previewform.html %}
{% end %}