From 76982937a68a2adaf96ec2d258e369d7c871a609 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Wed, 10 Sep 2014 11:34:58 +1200 Subject: Reorg to put web app in its own directory --- libmproxy/web/templates/certs.html | 14 ++++++++++++++ libmproxy/web/templates/frame.html | 9 +++++++++ libmproxy/web/templates/index.html | 26 ++++++++++++++++++++++++++ libmproxy/web/templates/layout.html | 33 +++++++++++++++++++++++++++++++++ 4 files changed, 82 insertions(+) create mode 100644 libmproxy/web/templates/certs.html create mode 100644 libmproxy/web/templates/frame.html create mode 100644 libmproxy/web/templates/index.html create mode 100644 libmproxy/web/templates/layout.html (limited to 'libmproxy/web/templates') diff --git a/libmproxy/web/templates/certs.html b/libmproxy/web/templates/certs.html new file mode 100644 index 00000000..d30f23a3 --- /dev/null +++ b/libmproxy/web/templates/certs.html @@ -0,0 +1,14 @@ +{% extends "frame.html" %} +{% block body %} + + +
+
+

mitmproxy: pathological HTTP

+ +

Here are some certs.

+
+
+ + +{% endblock %} diff --git a/libmproxy/web/templates/frame.html b/libmproxy/web/templates/frame.html new file mode 100644 index 00000000..b5c5c67c --- /dev/null +++ b/libmproxy/web/templates/frame.html @@ -0,0 +1,9 @@ +{% extends "layout.html" %} +{% block content %} +
+
+ {% block body %} + {% endblock %} +
+
+{% endblock %} diff --git a/libmproxy/web/templates/index.html b/libmproxy/web/templates/index.html new file mode 100644 index 00000000..50cfd5db --- /dev/null +++ b/libmproxy/web/templates/index.html @@ -0,0 +1,26 @@ +{% extends "frame.html" %} +{% block body %} + +
+

Click to install the mitmproxy certificate:

+
+
+
+ +

Apple

+
+
+ +

Windows

+
+
+ +

Android

+
+
+ +

Other

+
+
+ +{% endblock %} diff --git a/libmproxy/web/templates/layout.html b/libmproxy/web/templates/layout.html new file mode 100644 index 00000000..9c8721d8 --- /dev/null +++ b/libmproxy/web/templates/layout.html @@ -0,0 +1,33 @@ + + + + + + + + + + + mitmproxy + + + + + + + + + +
+ {% block content %} + {% endblock %} +
+ + + -- cgit v1.2.3