aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/templates/response_preview.html
blob: 2e1abcf44482c9e1b3e4c08bb5e80effbab36294 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{% 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>Response:</h2>

    <pre>{{ output }}</pre>

{% endif %}  
{% include "response_previewform.html" %}
{% endblock %}