]> git.babelmonkeys.de Git - xmppchat.git/blob - index.html
57da6a7dfffd646aebe75636bf742402c2903681
[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.3.2.min.js"></script>
10 <script type="text/javascript" src="js/strophejs/src/b64.js"></script>
11 <script type="text/javascript" src="js/strophejs/src/md5.js"></script>
12 <script type="text/javascript" src="js/strophejs/src/sha1.js"></script>
13 <script type="text/javascript" src="js/strophejs/src/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     <label for="nickname">Nickname:</label>
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 </div>
31
32 <div id="entry">
33   <form id="textForm" onsubmit="return sendMessage(this);" action="#">
34     <input type="text" name="text" id ="text" />
35     <input type="submit" id="text_submit" value="Send"/>
36   </form>
37 </div>
38
39 </body>
40 </html>