mitmproxy/libpathod/templates/request_preview.html

23 lines
399 B
HTML
Raw Normal View History

{% extends "frame.html" %}
2012-04-29 09:15:02 +00:00
{% 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>
2012-04-29 09:15:02 +00:00
<pre>{{ output }}</pre>
{% endif %}
{% include "request_previewform.html" %}
{% endblock %}