diff options
| author | Aldo Cortesi <aldo@nullcube.com> | 2012-06-21 16:54:49 +1200 |
|---|---|---|
| committer | Aldo Cortesi <aldo@nullcube.com> | 2012-06-21 16:54:49 +1200 |
| commit | cd8fba1d70fa8c7f4f39267d13b65c1bf2ab1b31 (patch) | |
| tree | 940d89c39a2e620df5672325608d3c9d7ec5d7d8 /libpathod/templates/log.html | |
| parent | f88e899274b097317db496245758181b43c1d72a (diff) | |
| download | mitmproxy-cd8fba1d70fa8c7f4f39267d13b65c1bf2ab1b31.tar.gz mitmproxy-cd8fba1d70fa8c7f4f39267d13b65c1bf2ab1b31.tar.bz2 mitmproxy-cd8fba1d70fa8c7f4f39267d13b65c1bf2ab1b31.zip | |
Finalize porting built-in web app to Flask.
Diffstat (limited to 'libpathod/templates/log.html')
| -rw-r--r-- | libpathod/templates/log.html | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/libpathod/templates/log.html b/libpathod/templates/log.html index e8bf113a..22747e0e 100644 --- a/libpathod/templates/log.html +++ b/libpathod/templates/log.html @@ -1,4 +1,4 @@ -{% extends frame.html %} +{% extends "frame.html" %} {% block body %} <form style="float: right" method="POST" action="/log/clear"> <button type="submit" class="btn">clear</button> @@ -10,17 +10,19 @@ <thead> <tr> <th>id</th> - <th>url</th> + <th>method</th> + <th>path</th> </tr> </thead> <tbody> {% for i in log %} <tr> <td>{{ i["id"] }}</td> - <td><a href="/log/{{ i["id"] }}">{{ i["request"]["full_url"] }}</a></td> + <td>{{ i["request"]["method"] }}</td> + <td><a href="/log/{{ i["id"] }}">{{ i["request"]["path"] }}</a></td> </tr> - {% end %} + {% endfor %} </tbody> </table> -{% end %} +{% endblock %} |
