incubator-esme-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From esjew...@apache.org
Subject svn commit: r930127 - in /incubator/esme/trunk/server/src/main/webapp: style/style.css templates-hidden/base.html
Date Thu, 01 Apr 2010 22:54:21 GMT
Author: esjewett
Date: Thu Apr  1 22:54:20 2010
New Revision: 930127

URL: http://svn.apache.org/viewvc?rev=930127&view=rev
Log:
[ESME-186] Switch from a table-based display to a list-based display, enforce wrapping on
CSS3-supporting browsers using word-wrap property

Modified:
    incubator/esme/trunk/server/src/main/webapp/style/style.css
    incubator/esme/trunk/server/src/main/webapp/templates-hidden/base.html

Modified: incubator/esme/trunk/server/src/main/webapp/style/style.css
URL: http://svn.apache.org/viewvc/incubator/esme/trunk/server/src/main/webapp/style/style.css?rev=930127&r1=930126&r2=930127&view=diff
==============================================================================
--- incubator/esme/trunk/server/src/main/webapp/style/style.css (original)
+++ incubator/esme/trunk/server/src/main/webapp/style/style.css Thu Apr  1 22:54:20 2010
@@ -328,7 +328,16 @@ ul.main-links  {
 .right-content {
   float:left;
  font-size:90%;
+ width:100%;
+ word-wrap:break-word;
+}
+
+.right-content ul {
+	list-style-type:none;
+}
 
+.right-content li {
+	padding-bottom:1em;
 }
 
 

Modified: incubator/esme/trunk/server/src/main/webapp/templates-hidden/base.html
URL: http://svn.apache.org/viewvc/incubator/esme/trunk/server/src/main/webapp/templates-hidden/base.html?rev=930127&r1=930126&r2=930127&view=diff
==============================================================================
--- incubator/esme/trunk/server/src/main/webapp/templates-hidden/base.html (original)
+++ incubator/esme/trunk/server/src/main/webapp/templates-hidden/base.html Thu Apr  1 22:54:20
2010
@@ -107,34 +107,25 @@
                         <h3><a href=""><lift:loc>ui_messages_message_label_popular</lift:loc></a></h3>
                         <div class="right-content">
                                         <lift:UserSnip.popular>
-                                        <table>
-                                            <tbody>
-                                                <disp:item>
-                                                    <tr>
-                                                        <td text-align="center">
-                                                            <item:author/>: <item:text/><!--<item:date/>-->

-                                                        </td>
-                                                        
-                                                    </tr>
-                                                </disp:item>
-                                            </tbody>
-                                        </table>
+                                        <ul>
+                                            <disp:item>
+                                                <li>
+	                                                <item:author/>: <item:text/><!--<item:date/>-->

+                                                </li>
+                                            </disp:item>
+                                        </ul>
                                     </lift:UserSnip.popular> 
                                      </div>
                         <h3><a href=""><lift:loc>ui_messages_message_label_popular_links</lift:loc></a></h3>
                         <div class="right-content">
                                   <lift:UserSnip.links>
-                                        <table>
-                                            <tbody>
-                                                <disp:item>
-                                                    <tr>
-                                                        <td>
-                                                            <item:url/>
-                                                        </td>
-                                                    </tr>
-                                                </disp:item>
-                                            </tbody>
-                                        </table>
+                                        <ul>
+                                            <disp:item>
+                                                <li>
+	                                                <item:url/>
+                                                </li>
+                                            </disp:item>
+                                        </ul>
                                     </lift:UserSnip.links>                        
                        </div>
                     </div>



Mime
View raw message