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>pathoc preview</h1>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div style="margin-bottom: 20px" class="row">
|
2013-05-14 20:47:19 +00:00
|
|
|
<div class="span2 header">
|
|
|
|
Specification:
|
2012-07-29 04:33:45 +00:00
|
|
|
</div>
|
|
|
|
<div class="span10">
|
|
|
|
{% include "request_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">
|
2013-05-14 20:47:19 +00:00
|
|
|
<div class="span2 header">
|
|
|
|
Error:
|
2012-07-29 04:33:45 +00:00
|
|
|
</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">
|
2013-05-14 20:47:19 +00:00
|
|
|
<div class="span2 header">
|
|
|
|
Error:
|
2012-07-29 04:33:45 +00:00
|
|
|
</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">
|
2013-05-14 20:47:19 +00:00
|
|
|
<div class="span2 header">
|
|
|
|
Request:
|
2012-07-29 04:33:45 +00:00
|
|
|
</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>
|
|
|
|
{% endif %}
|
2012-04-29 09:15:02 +00:00
|
|
|
|
2012-07-29 04:33:45 +00:00
|
|
|
{% endblock %}
|
2012-04-29 09:15:02 +00:00
|
|
|
|
2012-07-25 00:49:22 +00:00
|
|
|
|