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/07 09:10:27 UTC

svn commit: r1801133 - in /myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp: content/20-component/040-command/00-button+link/button+link.xhtml menu.xhtml style/demo.css

Author: hnoeth
Date: Fri Jul  7 09:10:27 2017
New Revision: 1801133

URL: http://svn.apache.org/viewvc?rev=1801133&view=rev
Log:
improve demo
* better header
* fix missing character for button-link example

Modified:
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/040-command/00-button+link/button+link.xhtml
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/menu.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/040-command/00-button+link/button+link.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/040-command/00-button%2Blink/button%2Blink.xhtml?rev=1801133&r1=1801132&r2=1801133&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/040-command/00-button+link/button+link.xhtml (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/040-command/00-button+link/button+link.xhtml Fri Jul  7 09:10:27 2017
@@ -42,6 +42,7 @@
       <tc:link id="l0i" label="Alps" link="#{request.contextPath}/image/alps.png"/>
       |
       <tc:link id="l0l" label="Intro" link="#{request.contextPath}/content/10-intro/intro.xhtml"/>
+      |
       <tc:link id="l0o" label="Intro" outcome="/content/10-intro/intro.xhtml"/>
       |
       <tc:link id="l1" label="apache.org" link="https://www.apache.org/"/>

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/menu.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/menu.xhtml?rev=1801133&r1=1801132&r2=1801133&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/menu.xhtml (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/menu.xhtml Fri Jul  7 09:10:27 2017
@@ -22,7 +22,6 @@
            xmlns:f="http://java.sun.com/jsf/core">
 
   <!-- tbd: how to solve this? -->
-  <tc:style customClass="background-lightgrey"/>
 
 <!--
   <tc:flexLayout columns="auto;*" alignItems="center">
@@ -31,9 +30,13 @@
 -->
 
     <tc:bar id="bar">
+      <tc:style customClass="navbar-light bg-faded box-shadow"/>
       <f:facet name="brand">
         <!-- label="Tobago Demo" contains a NO-BREAK SPACE character -->
-        <tc:link image="#{request.contextPath}/image/feather-leaf.png" label="Tobago Demo" id="brand" outcome="/content/10-intro/intro.xhtml"/>
+        <tc:link image="#{request.contextPath}/image/feather-leaf.png" label="Tobago Demo" id="brand"
+                 outcome="/content/10-intro/intro.xhtml">
+          <tc:style customClass="navbar-brand"/>
+        </tc:link>
       </f:facet>
 
       <tc:form id="header">

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=1801133&r1=1801132&r2=1801133&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 Fri Jul  7 09:10:27 2017
@@ -19,6 +19,10 @@
   background-color: #f7f7f9;
 }
 
+.box-shadow {
+  box-shadow: 0 0 5px 5px rgba(200, 200, 200, 0.5);
+}
+
 .demo-selected {
   background-color: #ffddff;
 }