mitmproxy/libpathod/templates/request_preview.html

45 lines
978 B
HTML
Raw Normal View History

2015-06-22 13:12:20 +00:00
{% extends "frame.html" %} {% 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 %}
2015-06-22 13:12:20 +00:00
<div class="row">
<div class="span2 header">
Error:
2012-07-29 04:33:45 +00:00
</div>
2015-06-22 13:12:20 +00:00
<div class="span10">
<p style="color: #ff0000">{{ syntaxerror }}</p>
<pre>{{ marked }}</pre>
</div>
</div>
2012-04-29 09:15:02 +00:00
{% elif error %}
2015-06-22 13:12:20 +00:00
<div class="row">
<div class="span2 header">
Error:
</div>
<div class="span10">
<p style="color: #ff0000">{{ error }}</p>
2012-07-29 04:33:45 +00:00
</div>
2015-06-22 13:12:20 +00:00
</div>
2012-04-29 09:15:02 +00:00
{% else %}
2015-06-22 13:12:20 +00:00
<div class="row">
<div class="span2 header">
Request:
</div>
<div class="span10">
<pre>{{ output }}</pre>
<p>Note: pauses are skipped when generating previews!</p>
</div>
</div>
{% endif %} {% endblock %}