blob: d0665e59f487ef690b0efc32f0d851d57e594364 [file] [log] [blame]
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<html>
<head>
<title>Chat</title>
<script type="text/javascript" src="amq/amq.js"></script>
<script type="text/javascript">amq.uri='amq';</script>
<script type="text/javascript" src="chat.js"></script>
<link rel="stylesheet" href="chat.css" type="text/css">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>
<h1>Chat Example</h1>
Welcome to this little chat example
<br>
<br>
<div id="chatroom">
<div id="chat"></div>
<div id="members"></div>
<div id="input">
<div id="join" class="hidden">Username:&nbsp;<input id="username" type="text" />
<input id="joinB" class="button" type="submit" name="join" value="Join" />
</div>
<div id="joined" class="hidden">Chat:&nbsp;<input id="phrase" type="text"></input>
<input id="sendB" class="button" type="submit" name="join" value="Send" />
<input id="leaveB" class="button" type="submit" name="join" value="Leave" />
</div>
</div>
</div>
</body>
</html>