You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marmotta.apache.org by wi...@apache.org on 2013/02/25 15:48:02 UTC

svn commit: r1449728 - in /incubator/marmotta/site/trunk/content: resources/css/site.css site.xml templates/custom-site.vm

Author: wikier
Date: Mon Feb 25 14:48:02 2013
New Revision: 1449728

URL: http://svn.apache.org/r1449728
Log:
trying to allow custom markup at the footer

Modified:
    incubator/marmotta/site/trunk/content/resources/css/site.css
    incubator/marmotta/site/trunk/content/site.xml
    incubator/marmotta/site/trunk/content/templates/custom-site.vm

Modified: incubator/marmotta/site/trunk/content/resources/css/site.css
URL: http://svn.apache.org/viewvc/incubator/marmotta/site/trunk/content/resources/css/site.css?rev=1449728&r1=1449727&r2=1449728&view=diff
==============================================================================
--- incubator/marmotta/site/trunk/content/resources/css/site.css (original)
+++ incubator/marmotta/site/trunk/content/resources/css/site.css Mon Feb 25 14:48:02 2013
@@ -9,7 +9,7 @@ div.pull-left {
 
 div.pull-right {
     float: right;
-    margin: 1em auto 2em 2em;
+    margin: 1em auto 2em 4em;
 }
 
 div.clear {
@@ -106,8 +106,28 @@ hr {
 }
 
 footer {
-    font-size: 0.85em;
+    font-size: 0.90em;
     background-color: #d5d5d5;
     padding-top: 1em;
+    padding-bottom: 3em;
+}
+
+footer .row:after {
+    clear: left;
+}
+
+footer .row.span12 {
+    width: auto;
+}
+
+footer p {
+    width: 70%;
+    margin-top: 0;
+    margin-bottom: 0;
+    line-height: 1.1em;
+}
+
+footer p#poweredBy {
+    width: auto;
 }
 

Modified: incubator/marmotta/site/trunk/content/site.xml
URL: http://svn.apache.org/viewvc/incubator/marmotta/site/trunk/content/site.xml?rev=1449728&r1=1449727&r2=1449728&view=diff
==============================================================================
--- incubator/marmotta/site/trunk/content/site.xml (original)
+++ incubator/marmotta/site/trunk/content/site.xml Mon Feb 25 14:48:02 2013
@@ -84,14 +84,16 @@
 
         <footer>
             <p>
-              <span>
-                The Apache Marmotta project was initiated by the <a href="http://www.newmedialab.at">Salzburg NewMediaLab</a>,
-                a K-Project in the Austrian COMET programme. Some people who are working on the project are part-funded by SNML.
-                <br/>
+                The Apache Marmotta project was initiated by the Salzburg NewMediaLab,
+                a K-Project in the Austrian COMET programme. Some people who are working 
+                on the project are part-funded by SNML.
+            </p>
+            <p>
                 Licensed under the Apache License, Version 2.0.
-                <br/>
-                Apache, Marmotta and the Apache feather and Marmotta logos are trademarks of The Apache Software Foundation.
-              </span>
+            </p>
+            <p>
+                Apache, Marmotta and the Apache feather and Marmotta logos are trademarks 
+                of The Apache Software Foundation.
             </p>
         </footer>
 

Modified: incubator/marmotta/site/trunk/content/templates/custom-site.vm
URL: http://svn.apache.org/viewvc/incubator/marmotta/site/trunk/content/templates/custom-site.vm?rev=1449728&r1=1449727&r2=1449728&view=diff
==============================================================================
--- incubator/marmotta/site/trunk/content/templates/custom-site.vm (original)
+++ incubator/marmotta/site/trunk/content/templates/custom-site.vm Mon Feb 25 14:48:02 2013
@@ -1059,16 +1059,12 @@
         </p>
         #end
 
-        <div class="row span12">Copyright &copy;#copyright()All Rights Reserved.#publishDate( "bottom" $decoration.publishDate $decoration.version )</div>
+        <p>
+            Copyright &copy;#copyright()All Rights Reserved.#publishDate( "bottom" $decoration.publishDate $decoration.version )
+        </p>
 
         #if ( $decoration.body.footer )
-          #foreach( $item in $decoration.body.footer.getChildren() )
-            #set ( $foot = $item.toString().trim() )
-            ## Workaround for http://jira.codehaus.org/browse/MSITE-135
-            ## Use StringUtils untill http://jira.codehaus.org/browse/DOXIASITETOOLS-67 is fixed
-            ## #eval macro not supported yet, that is a silly turnaround to allow ASF projects adopt fluido
-            $StringUtils.replace( $foot, '@project.name@', ${project.name} )
-          #end
+            $decoration.body.footer
         #end
 
         #ohloh()