index.html

Thu, 18 Mar 2010 15:52:05 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Thu, 18 Mar 2010 15:52:05 +0000
changeset 18
9e4230bb66e4
parent 17
6344a9a20da2
child 24
ae502df97907
permissions
-rw-r--r--

Update Strophe.js to 1.0.1 (fixes some issues)

0
84917e0f649d Commit skeleton HTML page
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
1 <html>
84917e0f649d Commit skeleton HTML page
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
2 <head>
1
472c3486b43e Add jQuery 1.4.2
Matthew Wild <mwild1@gmail.com>
parents: 0
diff changeset
3 <script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
11
bf6a0898e613 Include strophe in index.html
Matthew Wild <mwild1@gmail.com>
parents: 8
diff changeset
4
18
9e4230bb66e4 Update Strophe.js to 1.0.1 (fixes some issues)
Matthew Wild <mwild1@gmail.com>
parents: 17
diff changeset
5 <script type="text/javascript" src="js/strophe.js"></script>
11
bf6a0898e613 Include strophe in index.html
Matthew Wild <mwild1@gmail.com>
parents: 8
diff changeset
6
bf6a0898e613 Include strophe in index.html
Matthew Wild <mwild1@gmail.com>
parents: 8
diff changeset
7 <script type="text/javascript" src="js/xmpp_muc.js"></script>
2
ec7dc98a811d Hide UI by default, include supportchat.js
Matthew Wild <mwild1@gmail.com>
parents: 1
diff changeset
8 <script type="text/javascript" src="js/supportchat.js"></script>
1
472c3486b43e Add jQuery 1.4.2
Matthew Wild <mwild1@gmail.com>
parents: 0
diff changeset
9
0
84917e0f649d Commit skeleton HTML page
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
10 <style type="text/css">
84917e0f649d Commit skeleton HTML page
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
11 #support-chat
84917e0f649d Commit skeleton HTML page
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
12 {
2
ec7dc98a811d Hide UI by default, include supportchat.js
Matthew Wild <mwild1@gmail.com>
parents: 1
diff changeset
13 display:none;
0
84917e0f649d Commit skeleton HTML page
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
14 }
6
2ce4c2abf346 Clean up UI a little
Matthew Wild <mwild1@gmail.com>
parents: 5
diff changeset
15 #support-converse, #support-question,
2ce4c2abf346 Clean up UI a little
Matthew Wild <mwild1@gmail.com>
parents: 5
diff changeset
16 #support-converse-input, #support-question-type,
2ce4c2abf346 Clean up UI a little
Matthew Wild <mwild1@gmail.com>
parents: 5
diff changeset
17 #support-question-text
0
84917e0f649d Commit skeleton HTML page
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
18 {
84917e0f649d Commit skeleton HTML page
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
19 width:100%;
84917e0f649d Commit skeleton HTML page
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
20 }
6
2ce4c2abf346 Clean up UI a little
Matthew Wild <mwild1@gmail.com>
parents: 5
diff changeset
21 #support-send-button, #support-question-submit
0
84917e0f649d Commit skeleton HTML page
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
22 {
84917e0f649d Commit skeleton HTML page
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
23 float:right;
84917e0f649d Commit skeleton HTML page
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
24 }
17
6344a9a20da2 Add waiting screen to UI
Matthew Wild <mwild1@gmail.com>
parents: 11
diff changeset
25 #support-wait, #support-converse
5
10712e3ac061 Split UI into stages, add simple question form
Matthew Wild <mwild1@gmail.com>
parents: 2
diff changeset
26 {
10712e3ac061 Split UI into stages, add simple question form
Matthew Wild <mwild1@gmail.com>
parents: 2
diff changeset
27 display:none;
10712e3ac061 Split UI into stages, add simple question form
Matthew Wild <mwild1@gmail.com>
parents: 2
diff changeset
28 }
6
2ce4c2abf346 Clean up UI a little
Matthew Wild <mwild1@gmail.com>
parents: 5
diff changeset
29
0
84917e0f649d Commit skeleton HTML page
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
30 </style>
84917e0f649d Commit skeleton HTML page
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
31 </head>
84917e0f649d Commit skeleton HTML page
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
32 <body>
84917e0f649d Commit skeleton HTML page
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
33 <div id="support-chat">
5
10712e3ac061 Split UI into stages, add simple question form
Matthew Wild <mwild1@gmail.com>
parents: 2
diff changeset
34 <div id="support-question">
10712e3ac061 Split UI into stages, add simple question form
Matthew Wild <mwild1@gmail.com>
parents: 2
diff changeset
35 <h2>What is the nature of your question?</h2>
8
09d33857ca04 Fix element ids in index.html
Matthew Wild <mwild1@gmail.com>
parents: 6
diff changeset
36 <select id="support-question-type">
5
10712e3ac061 Split UI into stages, add simple question form
Matthew Wild <mwild1@gmail.com>
parents: 2
diff changeset
37 <option>Sales</option>
10712e3ac061 Split UI into stages, add simple question form
Matthew Wild <mwild1@gmail.com>
parents: 2
diff changeset
38 <option>Technical</option>
10712e3ac061 Split UI into stages, add simple question form
Matthew Wild <mwild1@gmail.com>
parents: 2
diff changeset
39 </select>
10712e3ac061 Split UI into stages, add simple question form
Matthew Wild <mwild1@gmail.com>
parents: 2
diff changeset
40 <h2>What is your name?</h2>
8
09d33857ca04 Fix element ids in index.html
Matthew Wild <mwild1@gmail.com>
parents: 6
diff changeset
41 <input id="support-question-name" type="text" />
5
10712e3ac061 Split UI into stages, add simple question form
Matthew Wild <mwild1@gmail.com>
parents: 2
diff changeset
42 <h2>Your question:</h2>
6
2ce4c2abf346 Clean up UI a little
Matthew Wild <mwild1@gmail.com>
parents: 5
diff changeset
43 <textarea id="support-question-text"></textarea><br/>
2ce4c2abf346 Clean up UI a little
Matthew Wild <mwild1@gmail.com>
parents: 5
diff changeset
44 <input id="support-question-submit" type="submit" />
5
10712e3ac061 Split UI into stages, add simple question form
Matthew Wild <mwild1@gmail.com>
parents: 2
diff changeset
45 </div>
17
6344a9a20da2 Add waiting screen to UI
Matthew Wild <mwild1@gmail.com>
parents: 11
diff changeset
46 <div id="support-wait">Please wait...</div>
5
10712e3ac061 Split UI into stages, add simple question form
Matthew Wild <mwild1@gmail.com>
parents: 2
diff changeset
47 <div id="support-converse">
10712e3ac061 Split UI into stages, add simple question form
Matthew Wild <mwild1@gmail.com>
parents: 2
diff changeset
48 <div id="support-log">Hello</div>
10712e3ac061 Split UI into stages, add simple question form
Matthew Wild <mwild1@gmail.com>
parents: 2
diff changeset
49 <input id="support-input" type="text" value="Hello" />
10712e3ac061 Split UI into stages, add simple question form
Matthew Wild <mwild1@gmail.com>
parents: 2
diff changeset
50 <input id="support-send-button" type="submit" value="Send" />
10712e3ac061 Split UI into stages, add simple question form
Matthew Wild <mwild1@gmail.com>
parents: 2
diff changeset
51 </div>
0
84917e0f649d Commit skeleton HTML page
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
52 </div>
84917e0f649d Commit skeleton HTML page
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
53 </body>
84917e0f649d Commit skeleton HTML page
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
54 </html>

mercurial