]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
2 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
3 | <html xmlns="http://www.w3.org/1999/xhtml" lang="en" dir="ltr"> | |
4 | <!-- This file is part of the Civetweb project, | |
5 | http://sourceforge.net/projects/civetweb/ --> | |
6 | <head> | |
7 | <title>Civetweb chat server</title> | |
8 | <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> | |
9 | <link type="text/css" rel="stylesheet" href="style.css"/> | |
10 | <script src="jquery.js"></script> | |
11 | <script src="main.js"></script> | |
12 | </head> | |
13 | ||
14 | <body> | |
15 | <div id="header"> | |
16 | <div id="logo"></div> | |
17 | <div class="rounded infobox help-message" id="motd"> | |
18 | Chat room implemented using | |
19 | <a href="http://sourceforge.net/projects/civetweb/" target="_blank">Civetweb</a> | |
20 | embeddable web server. | |
21 | This application was written for educational purposes demonstrating | |
22 | how web interface could be decoupled from the business logic. Not a | |
23 | single line of HTML is generated by the server, instead, server | |
24 | gives data to the client in JSON format. | |
25 | </div> | |
26 | </div> | |
27 | <div> | |
28 | ||
29 | <div id="middle"> | |
30 | <div><center><span id="error" class="rounded"></span><center></div> | |
31 | ||
32 | <div id="menu"> | |
33 | <div class="menu-item left-rounded menu-item-selected" | |
34 | name="chat">Chat</div> | |
35 | <div class="menu-item left-rounded" name="settings">Settings</div> | |
36 | </div> | |
37 | ||
38 | <div id="content" class="rounded"> | |
39 | ||
40 | <div id="chat" class="main"> | |
41 | <div class="chat-window"> | |
42 | <span class="top-rounded chat-title">Main room</span> | |
43 | <div class="bottom-rounded chat-content"> | |
44 | <div class="message-list" id="mml"> | |
45 | </div> | |
46 | <input type="text" size="40" class="message-input"></input> | |
47 | <span class="help-message"> | |
48 | Type your message here and press enter</span> | |
49 | </div> | |
50 | </div> | |
51 | </div> | |
52 | ||
53 | <div id="settings" class="hidden main"> | |
54 | <div> | |
55 | <span class="top-rounded chat-title">Settings</span> | |
56 | <div class="bottom-rounded chat-content"> | |
57 | <table> | |
58 | <tr><td>Max messages to display:</td><td>blah blah</td></tr> | |
59 | <tr><td>Text color:</td><td>blah blah</td></tr> | |
60 | </table> | |
61 | </div> | |
62 | </div> | |
63 | </div> | |
64 | ||
65 | </div> | |
66 | </div> | |
67 | ||
68 | <div id="footer"> | |
69 | Copyright © 2004-2010 by Sergey Lyubka | |
70 | </div> | |
71 | ||
72 | </body> | |
73 | </html> |