mitmproxy/libpathod/templates/request_preview.html

51 lines
1.1 KiB
HTML
Raw Normal View History

{% 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">
<div class="span2">
<h3>Specification:</h3>
</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">
<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>Request:</h3>
</div>
<div class="span10">
<pre>{{ output }}</pre>
<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