summary refs log tree commit diff
path: root/static/client/register/index.html
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2015-02-23 16:08:43 +0000
committerKegan Dougal <kegan@matrix.org>2015-02-23 16:08:43 +0000
commite6363857d04b5ae4594d5e3358763a6f3706cfc1 (patch)
treee9257919942378f6261720c64f7573d359301490 /static/client/register/index.html
parentActually treat this as static content, not random Resources. (diff)
downloadsynapse-e6363857d04b5ae4594d5e3358763a6f3706cfc1.tar.xz
Add core registration html/js
Diffstat (limited to 'static/client/register/index.html')
-rw-r--r--static/client/register/index.html35
1 files changed, 35 insertions, 0 deletions
diff --git a/static/client/register/index.html b/static/client/register/index.html
new file mode 100644
index 0000000000..2248d6e5a8
--- /dev/null
+++ b/static/client/register/index.html
@@ -0,0 +1,35 @@
+<html>
+<head>
+<title> Registration </title>
+<link rel="stylesheet" href="style.css">
+<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">
+	<div>
+        Create account:<br/>
+        
+        <div style="text-align: center">
+        	<input id="desired_user_id" size="32" type="text" placeholder="Matrix ID (e.g. bob)"/>
+        	<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/>
+
+        	<div id="regcaptcha" />
+
+        	<button style="margin: 10px">Sign up</button>
+        </div>
+
+        <div id="serverConfig" ng-show="!wait_3pid_code">
+            <label for="homeserver">Home Server:</label> 
+            <input id="homeserver" size="32" type="text" placeholder="URL (e.g. http://matrix.org:8080)"/>
+            <div class="smallPrint">Your home server stores all your conversation and account data.</div>
+        </div>
+    </div>
+</form>
+</body>
+</html>