Version 0.2.8

This commit is contained in:
Rob Glew 2016-03-08 15:50:48 -06:00
parent f4274e1e82
commit 9a58a915c2
36 changed files with 1885 additions and 819 deletions

11
pappyproxy/site/base.html Normal file
View file

@ -0,0 +1,11 @@
<html>
<head>
<title>Pappy</title>
</head>
<body style="background-color: #414141">
<div style="padding: 12pt; width:960px; margin:auto; background-color: #AAA">
<h1>Pappy</h1>
{% block body %}{% endblock %}
</div>
</body>
</html>

View file

@ -0,0 +1,6 @@
{% extends "base.html" %}
{% block body %}
<h2>Cert Download</h2>
Click <a href="/certs/download">here to download the CA cert.</a>
{% endblock %}

View file

@ -0,0 +1,8 @@
{% extends "base.html" %}
{% block body %}
<ul>
<li><a href="/certs">Certs</a></li>
<li>View responses in browser from <a href="http://pappy/rsp">http://pappy/rsp/&lt;reqid&gt;</a>
</ul>
{% endblock %}

View file

@ -0,0 +1,8 @@
{% extends "base.html" %}
{% block body %}
<h2>Unable To Return Response Body</h2>
{% if errmsg %}
<p>{{ errmsg }}</p>
{% endif %}
{% endblock %}

View file

@ -0,0 +1 @@
asdfasdfasdf

View file

@ -0,0 +1,6 @@
{% extends "base.html" %}
{% block body %}
<h2>View Response</h2>
<p>View http://pappy/rsp/&lt;id&gt; to view a response in your browser. The body of the response returned to your browser will be the same, but the headers will not.</p>
{% endblock %}