mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 10:26:23 +00:00
24 lines
422 B
HTML
24 lines
422 B
HTML
{% extends "frame.html" %}
|
|
{% block body %}
|
|
|
|
<h1>Preview</h1>
|
|
|
|
{% if syntaxerror %}
|
|
<h2> Error: {{ syntaxerror }} </h2>
|
|
<pre>{{ marked }}</pre>
|
|
{% elif error %}
|
|
<h2> Error </h2>
|
|
<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 %}
|