summaryrefslogtreecommitdiffstats
path: root/src/civetweb/examples/_obsolete/docroot/index.html
blob: c85bec9928b83904b33a71f5164255b05597e847 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" dir="ltr"> 
  <!-- This file is part of the  Civetweb project,
    http://sourceforge.net/projects/civetweb/ -->
  <head>
    <title>Civetweb chat server</title>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
    <link type="text/css" rel="stylesheet" href="style.css"/>
    <script src="jquery.js"></script>
    <script src="main.js"></script>
  </head>

  <body>
  <div id="header">
    <div id="logo"></div>
    <div class="rounded infobox help-message" id="motd">
      Chat room implemented using
      <a href="http://sourceforge.net/projects/civetweb/" target="_blank">Civetweb</a>
      embeddable web server.
      This application was written for educational purposes demonstrating
      how web interface could be decoupled from the business logic. Not a
      single line of HTML is generated by the server, instead, server
      gives data to the client in JSON format.
    </div>
  </div>
  <div>

  <div id="middle">
    <div><center><span id="error" class="rounded"></span><center></div>

    <div id="menu">
      <div class="menu-item left-rounded menu-item-selected"
      	name="chat">Chat</div>
      <div class="menu-item left-rounded" name="settings">Settings</div>
    </div>

    <div id="content" class="rounded">

      <div id="chat" class="main">
        <div class="chat-window">
          <span class="top-rounded chat-title">Main room</span>
          <div class="bottom-rounded chat-content">
            <div class="message-list" id="mml">
            </div>
            <input type="text" size="40" class="message-input"></input>
            <span class="help-message">
              Type your message here and press enter</span>
          </div>
        </div>
      </div>

      <div id="settings" class="hidden main">
        <div>
          <span class="top-rounded chat-title">Settings</span>
          <div class="bottom-rounded chat-content">
	    <table>
	      <tr><td>Max messages to display:</td><td>blah blah</td></tr>
	      <tr><td>Text color:</td><td>blah blah</td></tr>
	    </table>
          </div>
        </div>
      </div>

    </div>
  </div>

  <div id="footer">
    Copyright &copy; 2004-2010 by Sergey Lyubka
  </div>

  </body>
</html>