Skip to content

Commit

Permalink
Add core registration html/js
Browse files Browse the repository at this point in the history
  • Loading branch information
kegsay committed Feb 23, 2015
1 parent 0696dfd commit e636385
Show file tree
Hide file tree
Showing 6 changed files with 309 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ media_store/
build/

localhost-800*/
static/client/register/register_config.js
35 changes: 35 additions & 0 deletions static/client/register/index.html
Original file line number Diff line number Diff line change
@@ -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>
Loading

0 comments on commit e636385

Please sign in to comment.