diff options
| author | Aldo Cortesi <aldo@nullcube.com> | 2012-07-29 13:55:59 +1200 |
|---|---|---|
| committer | Aldo Cortesi <aldo@nullcube.com> | 2012-07-29 13:55:59 +1200 |
| commit | 483e8182ff07359900dada138ec309a9a589e42a (patch) | |
| tree | 7b15332f64fabecc4ab98e286342d6d27a541b38 /libpathod/templates | |
| parent | d8c53cbc57574bfce0be617d36e7ccf6f1b55885 (diff) | |
| download | mitmproxy-483e8182ff07359900dada138ec309a9a589e42a.tar.gz mitmproxy-483e8182ff07359900dada138ec309a9a589e42a.tar.bz2 mitmproxy-483e8182ff07359900dada138ec309a9a589e42a.zip | |
Add new styling (thanks to bootswatch.com)
Diffstat (limited to 'libpathod/templates')
| -rw-r--r-- | libpathod/templates/frame.html | 5 | ||||
| -rw-r--r-- | libpathod/templates/index.html | 46 |
2 files changed, 32 insertions, 19 deletions
diff --git a/libpathod/templates/frame.html b/libpathod/templates/frame.html index 33c96d19..f16e6d47 100644 --- a/libpathod/templates/frame.html +++ b/libpathod/templates/frame.html @@ -26,6 +26,7 @@ </head> <body> + <div class="navbar navbar-fixed-top"> <div class="navbar-inner"> <div class="container"> @@ -69,8 +70,8 @@ </div> <hr> <footer> - <p>© Aldo Cortesi 2012</p> - <p class="pull-right">[served by pathod]</p> + <span>© Aldo Cortesi 2012</span> + <span class="pull-right">[served by pathod]</span> </footer> </div> </body> diff --git a/libpathod/templates/index.html b/libpathod/templates/index.html index d9ebc8d8..10197222 100644 --- a/libpathod/templates/index.html +++ b/libpathod/templates/index.html @@ -1,20 +1,44 @@ {% extends "frame.html" %} {% block body %} -<div class="hero-unit"> -<h1>Testing and torturing HTTP clients and servers.</h1> +<div class="row"> + <div class="span6 bigtitle"> + <div> + <img src="/static/torture.png"> + </div> + </div> + <div class="span6 bigtitle"> + <div>Tormenting HTTP clients and servers</div> + </div> </div> +<br> <div class="row"> <div class="span6"> <div class="well"> <h1> <a href="/docs/pathod">pathod</a> </h1> - A pathological web daemon. + <p>A pathological web daemon.</p> {% include "response_previewform.html" %} + </div> + </div> + <div class="span6"> + <div class="well"> + <h1> <a href="/docs/pathoc">pathoc</a> </h1> + + <p>A perverse HTTP client.</p> + + {% include "request_previewform.html" %} + + </div> + </div> +</div> +<div class="row"> + <div class="span6"> + <div class="well"> <h1>public pathod server</h1> <p>http://p.pathod.org/<input @@ -30,6 +54,7 @@ <p>Please use responsibly. There are some restrictions on the public server.</p> + <script> $(function(){ $("#submitspec").click(function(){ @@ -41,22 +66,9 @@ </div> <div class="span6"> <div class="well"> - <h1> <a href="/docs/pathoc">pathoc</a> </h1> - - A perverse HTTP client. - - {% include "request_previewform.html" %} - - </div> - </div> -</div> - -<div class="row"> - <div class="span12"> - <div class="well"> <h1> <a href="/docs/test">libpathod.test</a> </h1> - Using pathod and pathoc in your unit tests. + <p>Using pathod and pathoc in your unit tests.</p> </div> </div> |
