summary refs log tree commit diff
path: root/synapse/static/client/register/index.html
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-10-26 15:35:07 +0000
committerErik Johnston <erik@matrix.org>2015-10-26 15:37:44 +0000
commitfa1cf5ef34e684b58433119d78dc95923955ff4f (patch)
tree7dd381962c5af08819b07c3764c2d68e34385d1e /synapse/static/client/register/index.html
parentFix receipts for room initial sync (diff)
downloadsynapse-fa1cf5ef34e684b58433119d78dc95923955ff4f.tar.xz
Move static folder into synapse
This is because otherwise it won't get picked up by python packaging.

This also fixes the problem where the "static" folder was found if
synapse wasn't started from that directory.
Diffstat (limited to 'synapse/static/client/register/index.html')
-rw-r--r--synapse/static/client/register/index.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/synapse/static/client/register/index.html b/synapse/static/client/register/index.html
new file mode 100644
index 0000000000..600b3ee41e
--- /dev/null
+++ b/synapse/static/client/register/index.html
@@ -0,0 +1,32 @@
+<html>
+<head>
+<title> Registration </title>
+<meta name='viewport' content='width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0'> 
+<link rel="stylesheet" href="style.css">
+<script src="js/jquery-2.1.3.min.js"></script>
+<script src="js/recaptcha_ajax.js"></script>
+<script src="register_config.js"></script>
+<script src="js/register.js"></script>
+</head>
+<body onload="matrixRegistration.onLoad()">
+<form id="registrationForm" onsubmit="matrixRegistration.signUp(); return false;">
+    <div>
+        Create account:<br/>
+        
+        <div style="text-align: center">
+            <input id="desired_user_id" size="32" type="text" placeholder="Matrix ID (e.g. bob)" autocapitalize="off" autocorrect="off" />
+            <br/>
+            <input id="pwd1" size="32" type="password" placeholder="Type a password"/>
+            <br/>
+            <input id="pwd2" size="32" type="password" placeholder="Confirm your password"/>
+            <br/>
+            <span id="feedback" style="color: #f00"></span>
+            <br/>
+            <div id="regcaptcha"></div>
+
+            <button type="submit" style="margin: 10px">Sign up</button>
+        </div>
+    </div>
+</form>
+</body>
+</html>