From 7c588e919e959f32b33235b4a44da257d8f4a964 Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Wed, 7 Dec 2016 20:46:02 +0100 Subject: [refactor] move web service to its own submodule --- src/leap/bitmask/core/web/static/README | 14 +++ src/leap/bitmask/core/web/static/__init__.py | 0 src/leap/bitmask/core/web/static/index.html | 131 +++++++++++++++++++++++++++ 3 files changed, 145 insertions(+) create mode 100644 src/leap/bitmask/core/web/static/README create mode 100644 src/leap/bitmask/core/web/static/__init__.py create mode 100644 src/leap/bitmask/core/web/static/index.html (limited to 'src/leap/bitmask/core/web/static') diff --git a/src/leap/bitmask/core/web/static/README b/src/leap/bitmask/core/web/static/README new file mode 100644 index 00000000..2b99926c --- /dev/null +++ b/src/leap/bitmask/core/web/static/README @@ -0,0 +1,14 @@ +This is a simple html based console that uses the bitmask.js library, which +uses the REST api exposed by the HTTPRequestDispatcher. This html should be +served when leap.bitmask_js package is not found on the import path from where +bitmask.core is executed. + +The development of bitmask_js is in the ui/ folder in this bitmask-dev repo. + +A pre-compiled version of the whole html+js ui can be found in the +leap.bitmask_js package. To have it served from the same endpoint than the REST +api, just install leap.bitmask_js in your environment. + +This 'web console' remains here to be able to develop against the REST api +without the need of installing the full-fledged bitmask_js package. However, +it's only going to work when running from the git repository. diff --git a/src/leap/bitmask/core/web/static/__init__.py b/src/leap/bitmask/core/web/static/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/src/leap/bitmask/core/web/static/index.html b/src/leap/bitmask/core/web/static/index.html new file mode 100644 index 00000000..9951a9b2 --- /dev/null +++ b/src/leap/bitmask/core/web/static/index.html @@ -0,0 +1,131 @@ + + + + Bitmask.js example + + + + +

Bitmask Control Panel

+ +
+

Provider:

+
+ + + + +
+

Email address:

+

Password:

+
+ + + +

+   
+
-- 
cgit v1.2.3