aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/templates/index.html
blob: d9ebc8d89a629de2a8d24af9188d7aac9437b653 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{% extends "frame.html" %}
{% block body %}  

<div class="hero-unit">
<h1>Testing and torturing HTTP clients and servers.</h1>
</div>

<div class="row">
    <div class="span6">
        <div class="well">
            <h1> <a href="/docs/pathod">pathod</a> </h1>

            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">
        <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.

        </div>
    </div>
</div>

{% endblock %}