summaryrefslogtreecommitdiff
path: root/newuser.html
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@omgwallhack.org>2012-09-30 20:13:30 -0700
committerJoe Rayhawk <jrayhawk@omgwallhack.org>2012-09-30 20:13:30 -0700
commitd114371254445ca2f3f6d0e0872be34df21d31dc (patch)
tree41533bc5e6348c0ca38b823b1b4c254cfd4169f2 /newuser.html
parentb53d487961420745ab7b51209c0142b69ecb08d3 (diff)
downloadhosting-d114371254445ca2f3f6d0e0872be34df21d31dc.tar.gz
hosting-d114371254445ca2f3f6d0e0872be34df21d31dc.zip
Removing old cruft from piny.be
Diffstat (limited to 'newuser.html')
-rw-r--r--newuser.html42
1 files changed, 0 insertions, 42 deletions
diff --git a/newuser.html b/newuser.html
deleted file mode 100644
index 3460707..0000000
--- a/newuser.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<html>
- <head>
- <title>Create a Piny user</title>
- <script src="/js/jquery/jquery.min.js"></script>
- <script type="text/javascript">
-
- $(document).ready(function(){
-
- $("#pass2-row").show();
-
- $("#username").change(function(){
-
- $.post( "https://secure.dev.piny.be/piny-validate", { t: "Username", v: $("#username").val() }, function( res, stat, req ){
- alert( "res = " + res + "\nstat = " + stat + "\nreq = " + req + "\nreq.responseText = " + req.responseText + "\nreq.withCredentials = " + req.withCredentials + "\nreq.readyState = " + req.readyState );
- if ( res ) {
- if ( res.ok ) {
- $("#username-error").removeClass( "error" ).html( "" );
- } else {
- $("#username-error").addClass( "error" ).html( res.msg );
- };
- } else {
- $("#username-error").addClass( "error" ).html( "somehow res is null!" );
- };
- } );
-
- });
-
- });
-
- </script>
- </head>
- <body>
- <h1>Create a Piny user</h1>
- <form action="https://secure.dev.piny.be/piny-newuser" method="POST">
- <div class="field"><div class="label">Desired username</div><div class="input"><input type="text" name="n" id="username" /></div><div id="username-error"></div></div>
- <div class="field"><div class="label">Your email address</div><div class="input"><input type="text" name="a" id="email" /></div><div id="email-error"></div></div>
- <div class="field"><div class="label">Desired password</div><div class="input"><input type="password" name="p" id="pass1" /></div><div id="pass1-error"></div></div>
- <div class="field" id="pass2-row" style="display: none"><div class="label">Retype password</div><div class="input"><input type="password" id="pass2" /></div><div id="pass2-error"></div></div>
- <div class="field"><div class="label"></div><div class="input"><input type="submit" name="Create User" /></div></div>
- </form>
- </body>
-</html>