2012-06-21 04:54:49 +00:00
|
|
|
{% 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>Response:</h2>
|
|
|
|
|
|
|
|
<pre>{{ output }}</pre>
|
|
|
|
|
2012-07-25 00:49:22 +00:00
|
|
|
{% if pauses %}
|
|
|
|
<p>Note: pauses are skipped when generating previews!</p>
|
|
|
|
{% endif %}
|
|
|
|
|
2012-06-21 04:54:49 +00:00
|
|
|
{% endif %}
|
2012-07-24 11:13:04 +00:00
|
|
|
{% include "response_previewform.html" %}
|
2012-06-21 04:54:49 +00:00
|
|
|
{% endblock %}
|