2012-06-21 04:54:49 +00:00
|
|
|
{% extends "frame.html" %}
|
2012-04-29 09:15:02 +00:00
|
|
|
{% block body %}
|
|
|
|
|
2012-07-29 04:33:45 +00:00
|
|
|
<div class="page-header">
|
|
|
|
<h1>pathod preview</h1>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div style="margin-bottom: 20px" class="row">
|
|
|
|
<div class="span2">
|
|
|
|
<h3>Specification:</h3>
|
|
|
|
</div>
|
|
|
|
<div class="span10">
|
|
|
|
{% include "response_previewform.html" %}
|
|
|
|
</div>
|
|
|
|
</div>
|
2012-04-29 09:15:02 +00:00
|
|
|
|
|
|
|
{% if syntaxerror %}
|
2012-07-29 04:33:45 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="span2">
|
|
|
|
<h3>Error:</h3>
|
|
|
|
</div>
|
|
|
|
<div class="span10">
|
|
|
|
<p style="color: #ff0000">{{ syntaxerror }}</p>
|
|
|
|
<pre>{{ marked }}</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
2012-04-29 09:15:02 +00:00
|
|
|
{% elif error %}
|
2012-07-29 04:33:45 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="span2">
|
|
|
|
<h3>Error:</h3>
|
|
|
|
</div>
|
|
|
|
<div class="span10">
|
|
|
|
<p style="color: #ff0000">{{ error }}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
2012-04-29 09:15:02 +00:00
|
|
|
{% else %}
|
2012-07-29 04:33:45 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="span2">
|
|
|
|
<h3>Response:</h3>
|
|
|
|
</div>
|
|
|
|
<div class="span10">
|
|
|
|
<pre>{{ output }}</pre>
|
2012-10-30 00:36:32 +00:00
|
|
|
<p>Note: pauses are skipped when generating previews!</p>
|
2012-07-29 04:33:45 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2012-06-21 04:54:49 +00:00
|
|
|
{% endif %}
|
2012-07-29 04:33:45 +00:00
|
|
|
|
2012-06-21 04:54:49 +00:00
|
|
|
{% endblock %}
|