2014-08-20 16:47:20 +04:00
|
|
|
<div>
|
2014-09-02 18:29:38 +04:00
|
|
|
<p>This event stream demo requires a home server to be running on http://localhost:8008</p>
|
2014-08-20 16:47:20 +04:00
|
|
|
</div>
|
|
|
|
<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">
|
|
|
|
<form class="sendMessageForm">
|
|
|
|
<input type="button" class="sendMessage" value="Send random message"></input>
|
|
|
|
</form>
|
|
|
|
<p id="streamErrorText"></p>
|
|
|
|
<table id="rooms">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<th>Room ID</th>
|
|
|
|
<th>Latest message</th>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|