]> git.babelmonkeys.de Git - xmppchat.git/blob - index.html
Switch to strophejs and jquery
[xmppchat.git] / index.html
1 <?xml version="1.0" encoding="utf-8" ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
3         "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml">
5 <head>
6 <title>XMPP Chat</title>
7 <link rel="stylesheet" type="text/css" href="style.css" />
8 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
9 <script type="text/javascript" src="js/jquery-1.2.6.min.js"></script>
10 <script type="text/javascript" src="js/strophejs/b64.js"></script>
11 <script type="text/javascript" src="js/strophejs/md5.js"></script>
12 <script type="text/javascript" src="js/strophejs/sha1.js"></script>
13 <script type="text/javascript" src="js/strophejs/strophe.js"></script>
14 <script type="text/javascript" src="js/main.js"></script>
15 </head>
16 <body>
17
18 <div id="login">
19   <form id="loginForm" onsubmit="return doLogin(this);" action="#">
20     Nickname:
21     <input type="text" name="nickname" id="nickname" />
22     <input type="submit" value="Join" />
23   </form>
24 </div>
25
26 <div id="chat"></div>
27
28 <div id="roster">
29   <ul id="roster_list">
30   </ul>
31 </div>
32
33 <div id="entry">
34   <form id="textForm" onsubmit="return sendMessage(this);" action="#">
35     <input type="text" name="text" id ="text" />
36     <input type="submit" id="text_submit" value="Send"/>
37   </form>
38 </div>
39
40 </body>
41 </html>