aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/templates/index.html
blob: 10197222ca577dc2bda6dea9c369ef7f142b8764 (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
66
67
68
69
70
71
72
73
74
75
76
77
{% extends "frame.html" %}
{% block body %}  

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

            <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 
                    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/test">libpathod.test</a> </h1>

            <p>Using pathod and pathoc in your unit tests.</p>

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

{% endblock %}