flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carlosrov...@apache.org
Subject git commit: [flex-asjs] [refs/heads/develop] - Fix blog template footer
Date Fri, 03 Feb 2017 21:31:43 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 361067d20 -> 49398ef88


Fix blog template footer


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/49398ef8
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/49398ef8
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/49398ef8

Branch: refs/heads/develop
Commit: 49398ef8821c6bbc8936cc80ed0ee4ddc771aed0
Parents: 361067d
Author: Carlos Rovira <carlosrovira@apache.org>
Authored: Fri Feb 3 22:31:39 2017 +0100
Committer: Carlos Rovira <carlosrovira@apache.org>
Committed: Fri Feb 3 22:31:39 2017 +0100

----------------------------------------------------------------------
 .../src/main/flex/BlogTemplate.mxml             | 36 +++++++++++++-------
 1 file changed, 24 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49398ef8/examples/flexjs/MDLBlogExample/src/main/flex/BlogTemplate.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MDLBlogExample/src/main/flex/BlogTemplate.mxml b/examples/flexjs/MDLBlogExample/src/main/flex/BlogTemplate.mxml
index bbad2f3..22cd0b3 100644
--- a/examples/flexjs/MDLBlogExample/src/main/flex/BlogTemplate.mxml
+++ b/examples/flexjs/MDLBlogExample/src/main/flex/BlogTemplate.mxml
@@ -218,28 +218,40 @@ limitations under the License.
                     </js:Div>
                 </mdl:CardSupportingText>
             </mdl:Card>
-            <mdl:Footer mini="true" width="500">
+            
+        </mdl:Grid>
+
+        <mdl:Footer mini="true">
 
                 <mdl:FooterLeftSection>
-                    <mdl:FooterLogo text="Title"/>
-                    <mdl:FooterLinkList className="footerMiniLinkListItemRenderer">
+                    <mdl:FooterSocialButton className="social-btn social-btn__twitter">
                         <mdl:beads>
-                            <js:ConstantBinding
-                                sourceID="model"
-                                sourcePropertyName="links"
-                                destinationPropertyName="dataProvider" />
+                            <js:InnerHTML><![CDATA[<span class="visuallyhidden">Twitter</span>]]></js:InnerHTML>
+                        </mdl:beads>
+                    </mdl:FooterSocialButton>
+                    <mdl:FooterSocialButton className="social-btn social-btn__blogger">
+                        <mdl:beads>
+                            <js:InnerHTML><![CDATA[<span class="visuallyhidden">Facebook</span>]]></js:InnerHTML>
                         </mdl:beads>
-                    </mdl:FooterLinkList>
+                    </mdl:FooterSocialButton>
+                    <mdl:FooterSocialButton className="social-btn social-btn__gplus">
+                        <mdl:beads>
+                            <js:InnerHTML><![CDATA[<span class="visuallyhidden">Google
Plus</span>]]></js:InnerHTML>
+                        </mdl:beads>
+                    </mdl:FooterSocialButton>
                 </mdl:FooterLeftSection>
 
                 <mdl:FooterRightSection>
-                    <mdl:FooterSocialButton>1</mdl:FooterSocialButton>
-                    <mdl:FooterSocialButton>2</mdl:FooterSocialButton>
-                    <mdl:FooterSocialButton>3</mdl:FooterSocialButton>
+                    <mdl:FooterSocialButton className="social-btn social-btn__share">
+                        <mdl:beads>
+                            <js:InnerHTML><![CDATA[<i class="material-icons"
role="presentation">share</i><span class="visuallyhidden">share</span>]]></js:InnerHTML>
+                        </mdl:beads>
+                    </mdl:FooterSocialButton>
                 </mdl:FooterRightSection>
             </mdl:Footer>
-        </mdl:Grid>
     </mdl:NavigationLayoutContent>
 
+    
+
 </mdl:NavigationLayout>
 


Mime
View raw message