You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by hn...@apache.org on 2017/07/18 15:03:51 UTC

svn commit: r1802308 - in /myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp: content/20-component/080-sheet/40-style/sheet-style.xhtml style/demo.css

Author: hnoeth
Date: Tue Jul 18 15:03:50 2017
New Revision: 1802308

URL: http://svn.apache.org/viewvc?rev=1802308&view=rev
Log:
improve demo
* change 'old' CSS class to 'old-planet', because 'old' is already used in the datepicker

Modified:
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/080-sheet/40-style/sheet-style.xhtml
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/style/demo.css

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/080-sheet/40-style/sheet-style.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/080-sheet/40-style/sheet-style.xhtml?rev=1802308&r1=1802307&r2=1802308&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/080-sheet/40-style/sheet-style.xhtml (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/080-sheet/40-style/sheet-style.xhtml Tue Jul 18 15:03:50 2017
@@ -27,7 +27,7 @@
     to set a CSS class or style to a specific row. In this example the rows are green
     (via customClass <code>planet</code>) when the object orbit is 'Sun'.
     The cell in the year column is blue, when the objects discovering year is older than 1900 (custom class is
-    <code>old</code>).
+    <code>old-planet</code>).
   </p>
 
   <tc:sheet value="#{sheetController.solarList}" var="object" rows="20" markup="small"
@@ -48,7 +48,7 @@
       <tc:out value="#{object.discoverer}" labelLayout="skip"/>
     </tc:column>
     <tc:column label="Year">
-      <tc:style customClass="#{object.discoverYear le 1900 ? 'old' : ''}"/>
+      <tc:style customClass="#{object.discoverYear le 1900 ? 'old-planet' : ''}"/>
       <tc:out value="#{object.discoverYear}" labelLayout="skip"/>
     </tc:column>
   </tc:sheet>

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/style/demo.css
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/style/demo.css?rev=1802308&r1=1802307&r2=1802308&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/style/demo.css (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/style/demo.css Tue Jul 18 15:03:50 2017
@@ -66,6 +66,6 @@ pre, code {
   background-color: #5cb85c;
 }
 
-.old {
+.old-planet {
   background-color: #b3d4fc;
 }