mitmproxy/libpathod/templates/response_preview.html

49 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>pathod 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 "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">
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">
Response:
2012-07-29 04:33:45 +00:00
</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-07-29 04:33:45 +00:00
{% endblock %}