diff --git a/apps/webchat/build/ant b/apps/webchat/build/ant new file mode 100644 index 000000000..676f925b5 --- /dev/null +++ b/apps/webchat/build/ant @@ -0,0 +1 @@ +# blank for now \ No newline at end of file diff --git a/apps/webchat/build/ant.bat b/apps/webchat/build/ant.bat new file mode 100644 index 000000000..32f4b36c6 --- /dev/null +++ b/apps/webchat/build/ant.bat @@ -0,0 +1 @@ +REM blank for now \ No newline at end of file diff --git a/apps/webchat/build/build.xml b/apps/webchat/build/build.xml new file mode 100644 index 000000000..0dcc00300 --- /dev/null +++ b/apps/webchat/build/build.xml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/apps/webchat/source/web/chat-form.html b/apps/webchat/source/web/chat-form.html new file mode 100644 index 000000000..67601cc68 --- /dev/null +++ b/apps/webchat/source/web/chat-form.html @@ -0,0 +1,96 @@ + + + + + + Chat Session + + + + + + + + + + + + + + + + + + +
+ + +
+ +
+
+   +   +   + +   +   +   +
+ + + + + diff --git a/apps/webchat/source/web/chat-hiddenform.jsp b/apps/webchat/source/web/chat-hiddenform.jsp new file mode 100644 index 000000000..41005ab8b --- /dev/null +++ b/apps/webchat/source/web/chat-hiddenform.jsp @@ -0,0 +1,18 @@ + + + + + + Chat Form + + + + +
+ + +
+ + + + \ No newline at end of file diff --git a/apps/webchat/source/web/chat-launcher.jsp b/apps/webchat/source/web/chat-launcher.jsp new file mode 100644 index 000000000..8bcab102f --- /dev/null +++ b/apps/webchat/source/web/chat-launcher.jsp @@ -0,0 +1,35 @@ + + + + + + Chat Session + + + + + + +

Chat Session Options

+ +You chat session should have already started. If for some reason it did +not, click this link +to start your chat session. + +

+ +Other options: + + + + + + diff --git a/apps/webchat/source/web/chat-main.html b/apps/webchat/source/web/chat-main.html new file mode 100644 index 000000000..56ac27f03 --- /dev/null +++ b/apps/webchat/source/web/chat-main.html @@ -0,0 +1,66 @@ + + + + + + Chat Session + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + + + diff --git a/apps/webchat/source/web/chat.jsp b/apps/webchat/source/web/chat.jsp new file mode 100644 index 000000000..3fc7db5f5 --- /dev/null +++ b/apps/webchat/source/web/chat.jsp @@ -0,0 +1,26 @@ + + + + + + Chat Session + + + + + + + + + + + + + \ No newline at end of file diff --git a/apps/webchat/source/web/data.jsp b/apps/webchat/source/web/data.jsp new file mode 100644 index 000000000..333aa4bb3 --- /dev/null +++ b/apps/webchat/source/web/data.jsp @@ -0,0 +1,26 @@ +<%-- + - + - +--%> + +<% // get the username of the current user + String nickname = (String)session.getAttribute("messenger.servlet.nickname"); + if (nickname == null) { + nickname = ""; + } +%> + + + + + + Chat Data + + + + + + diff --git a/apps/webchat/source/web/form.html b/apps/webchat/source/web/form.html new file mode 100644 index 000000000..77f13f6cf --- /dev/null +++ b/apps/webchat/source/web/form.html @@ -0,0 +1,18 @@ + + + + + + Chat Form + + + + +
+ + +
+ + + + \ No newline at end of file diff --git a/apps/webchat/source/web/iframe.html b/apps/webchat/source/web/iframe.html new file mode 100644 index 000000000..536eed056 --- /dev/null +++ b/apps/webchat/source/web/iframe.html @@ -0,0 +1,55 @@ + + + + + + + Chat Session + + + + + + + + +  + + + + + \ No newline at end of file diff --git a/apps/webchat/source/web/images/logo.gif b/apps/webchat/source/web/images/logo.gif new file mode 100644 index 000000000..78b709c84 Binary files /dev/null and b/apps/webchat/source/web/images/logo.gif differ diff --git a/apps/webchat/source/web/index.jsp b/apps/webchat/source/web/index.jsp new file mode 100644 index 000000000..5e7479614 --- /dev/null +++ b/apps/webchat/source/web/index.jsp @@ -0,0 +1,107 @@ +<%-- + - + - +--%> + +<%@ page import="java.util.*" %> + +<% // Get error map as a request attribute: + Map errors = (Map)request.getAttribute("messenger.servlet.errors"); + if (errors == null) { errors = new HashMap(); } +%> + + + + + + Chat + + + + + + +

Jive Chat Login

+ +<% if (errors.get("general") != null) { %> + +

+ Error logging in. Make sure your username and password is correct. +

+ +<% } %> + +
+ + + + + + + + + + + + + + + + + + + + +
Username: + + <% if (errors.get("username") != null) { %> + +
+ Please enter a valid username. +
+ + <% } %> +
Password: + + <% if (errors.get("password") != null) { %> + +
+ Please enter a valid password. +
+ + <% } %> +
Nickname: + + <% if (errors.get("nickname") != null) { %> + +
+ Please enter a valid nickname. +
+ + <% } %> +
Room: + + <% if (errors.get("room") != null) { %> + +
+ Please enter a valid room. +
+ + <% } %> +
+ +
+ + +
+ + + + + diff --git a/apps/webchat/source/web/logo.html b/apps/webchat/source/web/logo.html new file mode 100644 index 000000000..936da4a71 --- /dev/null +++ b/apps/webchat/source/web/logo.html @@ -0,0 +1,13 @@ + + + + + Chat Logo + + + + + + + + diff --git a/apps/webchat/source/web/menu.html b/apps/webchat/source/web/menu.html new file mode 100644 index 000000000..8af2c042a --- /dev/null +++ b/apps/webchat/source/web/menu.html @@ -0,0 +1,32 @@ + + + + + Chat Menu + + + + + + + + + + +
+   + + + End Chat (Log Off) + +
+ + + diff --git a/apps/webchat/source/web/style.css b/apps/webchat/source/web/style.css new file mode 100644 index 000000000..0d47f4f28 --- /dev/null +++ b/apps/webchat/source/web/style.css @@ -0,0 +1,9 @@ +BODY, TD, TH { + font-family : tahoma; font-size : 0.8em; +} +H3 { + font-size : 1.2em; +} +.error-text { + color : red; +} \ No newline at end of file