Author: tmjee
Date: Mon Jun 19 07:19:00 2006
New Revision: 415338
URL: http://svn.apache.org/viewvc?rev=415338&view=rev
Log:
WW-1351
- corrected chat example css
Modified:
struts/action2/trunk/apps/showcase/src/main/webapp/chat/roomSelection.ftl
struts/action2/trunk/apps/showcase/src/main/webapp/chat/showRoom.ftl
Modified:
struts/action2/trunk/apps/showcase/src/main/webapp/chat/roomSelection.ftl
URL:
http://svn.apache.org/viewvc/struts/action2/trunk/apps/showcase/src/main/webapp/chat/roomSelection.ftl?rev=415338&r1=415337&r2=415338&view=diff
==============================================================================
--- struts/action2/trunk/apps/showcase/src/main/webapp/chat/roomSelection.ftl
(original)
+++ struts/action2/trunk/apps/showcase/src/main/webapp/chat/roomSelection.ftl
Mon Jun 19 07:19:00 2006
@@ -6,13 +6,13 @@
<@saf.head theme="ajax" />
<style type="text/css">
div.box {
- border: 1px solid red;
+ border: 1px solid darkblue;
margin: 5px;
}
div.box h3 {
color: white;
- background: red;
+ background: darkblue;
margin: 3px;
padding: 2px;
}
@@ -22,14 +22,14 @@
}
table.table {
- border: 1px solid red;
+ border: 1px solid darkblue;
width: 98%;
margin: 5px;
}
table.table tr.tableHeader {
color: white;
- background: red;
+ background: darkblue;
margin: 3px;
padding: 2px;
font-size: medium;
@@ -85,24 +85,24 @@
}
div.container {
- padding-left: 200px;
- float: left;
+ margin-left: auto;
+ margin-right: auto;
+ width: 100%;
}
div.left {
- width: 200px;
- margin-left: -200px;
+ width: 20%;
float: left;
}
div.right {
- width: 200px;
- margin-right: -200px;
+ width: 20%;
float: right;
}
div.center {
- width: 100%;
+ width: 60%;
+ float: left;
}
</style>
Modified: struts/action2/trunk/apps/showcase/src/main/webapp/chat/showRoom.ftl
URL:
http://svn.apache.org/viewvc/struts/action2/trunk/apps/showcase/src/main/webapp/chat/showRoom.ftl?rev=415338&r1=415337&r2=415338&view=diff
==============================================================================
--- struts/action2/trunk/apps/showcase/src/main/webapp/chat/showRoom.ftl
(original)
+++ struts/action2/trunk/apps/showcase/src/main/webapp/chat/showRoom.ftl Mon
Jun 19 07:19:00 2006
@@ -5,13 +5,13 @@
<@saf.head theme="ajax" />
<style type="text/css">
div.box {
- border: 1px solid red;
+ border: 1px solid darkblue;
margin: 5px;
}
div.box h3 {
color: white;
- background: red;
+ background: darkblue;
margin: 3px;
padding: 2px;
}
@@ -21,14 +21,14 @@
}
table.table {
- border: 1px solid red;
+ border: 1px solid darkblue;
width: 98%;
margin: 5px;
}
table.table tr.tableHeader {
color: white;
- background: red;
+ background: darkblue;
margin: 3px;
padding: 2px;
font-size: medium;
@@ -72,25 +72,24 @@
}
div.container {
- padding-left: 200px;
- padding-right: 200px;
- float: left;
+ margin-left: auto;
+ margin-right: auto;
+ width: 100%;
}
div.left {
- width: 200px;
- margin-left: -200px;
+ width: 20%;
float: left;
}
div.right {
- width: 200px;
- margin-right: -200px;
- float: right;
+ width: 20%;
+ float: left;
}
div.center {
- width: 100%;
+ width: 60%;
+ float: left;
}
</style>
@@ -115,19 +114,6 @@
</@saf.div>
</div>
</div>
-
- <div class="right">
- <div class="box">
- <h3>Users Available In Room [${roomName?default('')}]</h3>
- <@saf.url id="url"
value="/chat/ajax/usersAvailableInRoom.action" includeContext="false">
- <@saf.param name="roomName" value="%{roomName}" />
- </@saf.url>
- <@saf.div id="usersAvailableInRoom" href="%{#url}"
includeContext="false"
- theme="ajax" delay="1" updateFreq="[EMAIL
PROTECTED]@UPDATE_FREQ}">
- Initial Users Available In Room ...
- </@saf.div>
- </div>
- </div>
<div class="center">
<div class="box">
@@ -152,6 +138,22 @@
</@saf.form>
</div>
</div>
+
+
+ <div class="right">
+ <div class="box">
+ <h3>Users Available In Room [${roomName?default('')}]</h3>
+ <@saf.url id="url"
value="/chat/ajax/usersAvailableInRoom.action" includeContext="false">
+ <@saf.param name="roomName" value="%{roomName}" />
+ </@saf.url>
+ <@saf.div id="usersAvailableInRoom" href="%{#url}"
includeContext="false"
+ theme="ajax" delay="1" updateFreq="[EMAIL
PROTECTED]@UPDATE_FREQ}">
+ Initial Users Available In Room ...
+ </@saf.div>
+ </div>
+ </div>
+
+
</div>
</body>