aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/web/templates/index.html
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2014-09-10 14:22:26 +1200
committerAldo Cortesi <aldo@nullcube.com>2014-09-10 14:23:10 +1200
commit0510c9b111aed03d0d3680db63614d50f231745c (patch)
tree0d2fec5d46a3cb984a8b12e36db2f44a1a8eaa5a /libmproxy/web/templates/index.html
parent76982937a68a2adaf96ec2d258e369d7c871a609 (diff)
downloadmitmproxy-0510c9b111aed03d0d3680db63614d50f231745c.tar.gz
mitmproxy-0510c9b111aed03d0d3680db63614d50f231745c.tar.bz2
mitmproxy-0510c9b111aed03d0d3680db63614d50f231745c.zip
Client-side framework for web application
Diffstat (limited to 'libmproxy/web/templates/index.html')
-rw-r--r--libmproxy/web/templates/index.html44
1 files changed, 18 insertions, 26 deletions
diff --git a/libmproxy/web/templates/index.html b/libmproxy/web/templates/index.html
index 50cfd5db..9da9e596 100644
--- a/libmproxy/web/templates/index.html
+++ b/libmproxy/web/templates/index.html
@@ -1,26 +1,18 @@
-{% extends "frame.html" %}
-{% block body %}
-
-<center>
-<h2> Click to install the mitmproxy certificate: </h2>
-</center>
-<div id="certbank" class="row">
- <div class="col-md-3">
- <a href="/cert/pem"><i class="fa fa-apple fa-5x"></i></a>
- <p>Apple</p>
- </div>
- <div class="col-md-3">
- <a href="/cert/p12"><i class="fa fa-windows fa-5x"></i></a>
- <p>Windows</p>
- </div>
- <div class="col-md-3">
- <a href="/cert/pem"><i class="fa fa-android fa-5x"></i></a>
- <p>Android</p>
- </div>
- <div class="col-md-3">
- <a href="/cert/pem"><i class="fa fa-asterisk fa-5x"></i></a>
- <p>Other</p>
- </div>
-</div>
-
-{% endblock %}
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>mitmproxy</title>
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="stylesheet" href="static/mitmproxy.css" type="text/css" />
+ <script src="static/mitmproxy.js"></script>
+ </head>
+ <body>
+ <div id="mitmproxy"></div>
+ </body>
+ <script>
+ $(function(){
+ mitmproxy.init();
+ });
+ </script>
+</html> \ No newline at end of file