diff options
-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> |