summary refs log tree commit diff
path: root/jsfiddles/register_login/demo.html
diff options
context:
space:
mode:
Diffstat (limited to 'jsfiddles/register_login/demo.html')
-rw-r--r--jsfiddles/register_login/demo.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/jsfiddles/register_login/demo.html b/jsfiddles/register_login/demo.html
new file mode 100644
index 0000000000..9cdb161306
--- /dev/null
+++ b/jsfiddles/register_login/demo.html
@@ -0,0 +1,20 @@
+<div>
+    <p>This registration/login demo requires a home server to be running on http://localhost:8080</p>
+</div>
+<form class="registrationForm">
+    <input type="text" id="user" placeholder="Username"></input>
+    <input type="password" id="password" placeholder="Password"></input>
+    <input type="button" class="register" value="Register"></input>
+</form>
+<form class="loginForm">
+    <input type="text" id="userLogin" placeholder="Username"></input>
+    <input type="password" id="passwordLogin" placeholder="Password"></input>
+    <input type="button" class="login" value="Login"></input>
+</form>
+<div class="loggedin">
+    <p id="welcomeText"></p>
+    <input type="button" class="testToken" value="Test token"></input>
+    <input type="button" class="logout" value="Logout"></input>
+    <p id="imSyncText"></p>
+</div>
+