[gatewiki-commits] SF.net SVN: gatewiki:[1747] trunk

View: New views
1 Messages — Rating Filter:   Alert me  

[gatewiki-commits] SF.net SVN: gatewiki:[1747] trunk

by ian_roberts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Revision: 1747
          http://gatewiki.svn.sourceforge.net/gatewiki/?rev=1747&view=rev
Author:   ian_roberts
Date:     2009-10-26 12:29:29 +0000 (Mon, 26 Oct 2009)

Log Message:
-----------
Wrap <div class="vertical|gorizontal menu"> around the left bar and header in
the layouts rather than requiring the div in the nav file - the nav files
should now be doable with pure yam.

Modified Paths:
--------------
    trunk/cow/grails-app/views/layouts/cowpage.gsp
    trunk/site-plugins/gau/grails-app/views/layouts/cowguest.gsp

Modified: trunk/cow/grails-app/views/layouts/cowpage.gsp
===================================================================
--- trunk/cow/grails-app/views/layouts/cowpage.gsp 2009-10-26 11:44:21 UTC (rev 1746)
+++ trunk/cow/grails-app/views/layouts/cowpage.gsp 2009-10-26 12:29:29 UTC (rev 1747)
@@ -111,14 +111,16 @@
 
     <!-- header menus -->
     <div id="header">
-      ${header}
+      <g:if test="${header}"><div class="horizontal menu">${header}</div></g:if>
     </div>
 
     <!-- sep, left/right bars, body and footer -->
     <div id="topSeparator"> </div>
-    <div id="leftBar">${leftBar}</div>
+    <div id="leftBar">
+      <g:if test="${leftBar}"><div class="vertical menu">${leftBar}</div></g:if>
+    </div>
     <div id="main" class="${ leftBar ? 'wideBorder' : 'noBorder' }">
-      <g:layoutBody />    
+      <g:layoutBody />
     </div>
     <div id="rightBar">${rightBar}</div>
     <div id="footer">${footer}</div>

Modified: trunk/site-plugins/gau/grails-app/views/layouts/cowguest.gsp
===================================================================
--- trunk/site-plugins/gau/grails-app/views/layouts/cowguest.gsp 2009-10-26 11:44:21 UTC (rev 1746)
+++ trunk/site-plugins/gau/grails-app/views/layouts/cowguest.gsp 2009-10-26 12:29:29 UTC (rev 1747)
@@ -112,10 +112,10 @@
 
     <!-- header menus -->
     <div id="header">
-      ${header}
+      <g:if test="${header}"><div class="horizontal menu">${header}</div></g:if>
       <div class="horizontal menu">
         <ul>
-        <li><a href="/family/" class="submenu">Products</a>
+        <li><b><a href="/family/">Products</a></b>
           <ul>
           <li><a href="/family/developer.html">GATE Developer</a></li>
           <li><a href="/family/embedded.html">GATE Embedded</a></li>
@@ -126,7 +126,7 @@
           </ul>
         </li>
         <li><a href="/customisation/">Services</a></li>
-        <li><a href="/support.html" class="submenu">Support</a>
+        <li><b><a href="/support.html">Support</a></b>
           <ul>
           <li><a href="/mail/">Community-based</a></li>
           <li><a href="/customisation/">For business</a></li>
@@ -141,7 +141,9 @@
 
     <!-- sep, left/right bars, body and footer -->
     <div id="topSeparator"> </div>
-    <div id="leftBar">${leftBar}</div>
+    <div id="leftBar">
+      <g:if test="${leftBar}"><div class="vertical menu">${leftBar}</div></g:if>
+    </div>
     <div id="main" class="${ leftBar ? 'wideBorder' : 'noBorder' }">
       <g:layoutBody />    
     </div>


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
gatewiki-commits mailing list
gatewiki-commits@...
https://lists.sourceforge.net/lists/listinfo/gatewiki-commits