summary refs log tree commit diff
path: root/jsfiddles/event_stream/demo.html
blob: 7657780d28d779177e0a880aa876e5dcfa518133 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<div>
    <p>This event stream demo requires a home server to be running on http://localhost:8008</p>
</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>