mitmproxy/libpathod/templates/request_preview.html
2012-07-25 12:49:22 +12:00

27 lines
504 B
HTML

{% extends "frame.html" %}
{% block body %}
<h1>Preview</h1>
{% if syntaxerror %}
<h2> Error: {{ syntaxerror }} </h2>
<pre>{{ marked }}</pre>
{% elif error %}
<p style="color: #ff0000">{{ error }}</p>
{% else %}
<h2>Spec:</h2>
<pre>{{ spec }}</pre>
<h2>Request:</h2>
<pre>{{ output }}</pre>
{% if pauses %}
<p>Note: pauses are skipped when generating previews!</p>
{% endif %}
{% endif %}
{% include "request_previewform.html" %}
{% endblock %}