mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-24 00:31:33 +00:00
29 lines
779 B
HTML
29 lines
779 B
HTML
{% extends "frame.html" %}
|
|
{% block body %}
|
|
<form style="float: right" method="POST" action="/log/clear">
|
|
<button type="submit" class="btn">clear</button>
|
|
</form>
|
|
<h1> Logs </h1>
|
|
<hr>
|
|
|
|
<table class="table table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>id</th>
|
|
<th>method</th>
|
|
<th>path</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for i in log %}
|
|
<tr>
|
|
<td>{{ i["id"] }}</td>
|
|
<td>{{ i["request"]["method"] }}</td>
|
|
<td><a href="/log/{{ i["id"] }}">{{ i["request"]["path"] }}</a></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endblock %}
|
|
|