diff options
author | Erik Johnston <erik@matrix.org> | 2014-08-20 10:29:16 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-08-20 10:29:16 +0100 |
commit | 2ffb0757727c2f4d829510c81e272dd4817bfe60 (patch) | |
tree | 4888648de1a32729195d22150b7ecc171511d7d1 /jsfiddles/create_room_send_msg/demo.html | |
parent | Only hit get_room_events_stream if we have a valid user_id (diff) | |
parent | File organisation sanity: put directives and filters into dedicated files (diff) | |
download | synapse-2ffb0757727c2f4d829510c81e272dd4817bfe60.tar.xz |
Merge branch 'master' of github.com:matrix-org/synapse into develop
Diffstat (limited to 'jsfiddles/create_room_send_msg/demo.html')
-rw-r--r-- | jsfiddles/create_room_send_msg/demo.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/jsfiddles/create_room_send_msg/demo.html b/jsfiddles/create_room_send_msg/demo.html new file mode 100644 index 0000000000..31c26c7631 --- /dev/null +++ b/jsfiddles/create_room_send_msg/demo.html @@ -0,0 +1,30 @@ +<div> + <p>This room creation / message sending demo requires a home server to be running on http://localhost:8080</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="createRoomForm"> + <input type="text" id="roomAlias" placeholder="Room alias (optional)"></input> + <input type="button" class="createRoom" value="Create Room"></input> + </form> + <form class="sendMessageForm"> + <input type="text" id="roomId" placeholder="Room ID"></input> + <input type="text" id="messageBody" placeholder="Message body"></input> + <input type="button" class="sendMessage" value="Send Message"></input> + </form> + <table id="rooms"> + <tbody> + <tr> + <th>Room ID</th> + <th>My state</th> + <th>Room Alias</th> + <th>Latest message</th> + </tr> + </tbody> + </table> +</div> + |