2014-08-19 17:39:30 +02:00
|
|
|
<div>
|
2014-09-02 16:29:38 +02:00
|
|
|
<p>This registration/login demo requires a home server to be running on http://localhost:8008</p>
|
2014-08-19 17:39:30 +02:00
|
|
|
</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>
|
|
|
|
|