diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2012-07-25 13:07:27 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2012-07-25 13:07:27 +1200 |
commit | b879890412041e7364a294151a3a8aef5fb62e48 (patch) | |
tree | da8973b2a8de6d7645c0f6fdea62287f973c7f6a | |
parent | eb43291b3c061c654dc93c26e924ca3cd0210b61 (diff) | |
download | mitmproxy-b879890412041e7364a294151a3a8aef5fb62e48.tar.gz mitmproxy-b879890412041e7364a294151a3a8aef5fb62e48.tar.bz2 mitmproxy-b879890412041e7364a294151a3a8aef5fb62e48.zip |
Add the public pathod server.
-rw-r--r-- | libpathod/templates/frame.html | 1 | ||||
-rw-r--r-- | libpathod/templates/index.html | 25 |
2 files changed, 26 insertions, 0 deletions
diff --git a/libpathod/templates/frame.html b/libpathod/templates/frame.html index 9f6c3574..33c96d19 100644 --- a/libpathod/templates/frame.html +++ b/libpathod/templates/frame.html @@ -70,6 +70,7 @@ <hr> <footer> <p>© Aldo Cortesi 2012</p> + <p class="pull-right">[served by pathod]</p> </footer> </div> </body> diff --git a/libpathod/templates/index.html b/libpathod/templates/index.html index 6702ea2a..d9ebc8d8 100644 --- a/libpathod/templates/index.html +++ b/libpathod/templates/index.html @@ -13,6 +13,30 @@ A pathological web daemon. {% include "response_previewform.html" %} + + + <h1>public pathod server</h1> + + <p>http://p.pathod.org/<input + style="width: 15em" + id="publicspec" + name="spec" + class="input-medium search-query" + value="{{spec}}" + placeholder="code[msg]:[features]" + > + <a href="#" id="submitspec" class="btn">go</a> + </p> + + <p>Please use responsibly. There are some restrictions on the + public server.</p> + <script> + $(function(){ + $("#submitspec").click(function(){ + document.location = "http://p.pathod.org/" + $("#publicspec").val() + }); + }); + </script> </div> </div> <div class="span6"> @@ -22,6 +46,7 @@ A perverse HTTP client. {% include "request_previewform.html" %} + </div> </div> </div> |