portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwat...@apache.org
Subject svn commit: r219993 - in /portals/jetspeed-2/trunk/portal-webapp/src/webapp/WEB-INF: decorations/layout/html/ja/tigris/ decorations/layout/html/tigris/ decorations/portlet/html/jetspeed/ templates/layout/html/columns/
Date Thu, 21 Jul 2005 04:00:40 GMT
Author: rwatler
Date: Wed Jul 20 21:00:39 2005
New Revision: 219993

URL: http://svn.apache.org/viewcvs?rev=219993&view=rev
Log:
- cleanup HTML syntax in jetspeed portlet decorator and layout template
- improve tigris layout decorator structure and comments


Modified:
    portals/jetspeed-2/trunk/portal-webapp/src/webapp/WEB-INF/decorations/layout/html/ja/tigris/decorator-top.vm
    portals/jetspeed-2/trunk/portal-webapp/src/webapp/WEB-INF/decorations/layout/html/tigris/decorator-top.vm
    portals/jetspeed-2/trunk/portal-webapp/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/decorator.vm
    portals/jetspeed-2/trunk/portal-webapp/src/webapp/WEB-INF/templates/layout/html/columns/layout.vm

Modified: portals/jetspeed-2/trunk/portal-webapp/src/webapp/WEB-INF/decorations/layout/html/ja/tigris/decorator-top.vm
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/portal-webapp/src/webapp/WEB-INF/decorations/layout/html/ja/tigris/decorator-top.vm?rev=219993&r1=219992&r2=219993&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/portal-webapp/src/webapp/WEB-INF/decorations/layout/html/ja/tigris/decorator-top.vm
(original)
+++ portals/jetspeed-2/trunk/portal-webapp/src/webapp/WEB-INF/decorations/layout/html/ja/tigris/decorator-top.vm
Wed Jul 20 21:00:39 2005
@@ -42,7 +42,8 @@
 <!--  BEGIN: layout/html/tigris/decorator.vm -->
 
     <div class="layout-tigris">
-<!-- Banner -->
+
+<!-- Banner Content -->
       <div id="banner">
         <table border="0" cellspacing="0" cellpadding="8" width="100%">
           <tr>
@@ -57,19 +58,27 @@
           </tr>
         </table>
       </div>
-<!-- Top Tabs -->
-      <div class="tabs">
+
+<!-- Top Tabs Menu -->
 #set($pagesStandardMenu = $site.getMenu("pages"))
 #if(!$pagesStandardMenu.empty)
+      <div class="tabs">
 #includeTabsNavigation($pagesStandardMenu $LEFT_TO_RIGHT)
-#end
       </div>
+#end
+
+## <!-- Back Navigation -->
+##       <div id="breadcrumbs">
+## #set($backStandardMenu = $site.getMenu("back"))
+## #if(!$backStandardMenu.empty)
+## #includeLinksNavigation($backStandardMenu $LEFT_TO_RIGHT $TITLE_LAST "" "")
+## #else
+##         &nbsp;
+## #end
+##       </div>
+
+<!-- Breadcrumbs Back Navigation -->
       <div id="breadcrumbs">
-#* standard back breadcrumb *#
-##set($backStandardMenu = $site.getMenu("back"))
-##if(!$backStandardMenu.empty)
-##includeLinksNavigation($backStandardMenu $LEFT_TO_RIGHT $TITLE_LAST "" "")
-#* standard breadcrumbs *#
 #set($breadcrumbsStandardMenu = $site.getMenu("breadcrumbs"))
 #if(!$breadcrumbsStandardMenu.empty)
 #includeLinksNavigation($breadcrumbsStandardMenu $LEFT_TO_RIGHT "" $BREADCRUMBS_STYLE "")
@@ -77,22 +86,24 @@
         &nbsp;
 #end
       </div>
+
+<!-- Content Table -->
       <table cellpadding="0" cellspacing="0" border="0" width="100%" id="main">
         <tr>
+
+<!-- Left Navigations Menu Table Data -->
 #set($navigationsStandardMenu = $site.getMenu("navigations"))
 #if(!$navigationsStandardMenu.empty)
           <td valign="top" id="leftcol" width="20%">
             <div id="navcolumn">
-
-<!-- Navigation Column -->
               <table cellpadding="0" cellspacing="4" border="0" width="100%">
 #includeLinksWithIconNavigation($navigationsStandardMenu $TOP_TO_BOTTOM)
               </table>
-
             </div>
           </td>
 #end
 
+<!-- Content Table Data -->
           <td nowrap valign="top">
   
 ## $jetspeed.include($jetspeed.currentFragment)

Modified: portals/jetspeed-2/trunk/portal-webapp/src/webapp/WEB-INF/decorations/layout/html/tigris/decorator-top.vm
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/portal-webapp/src/webapp/WEB-INF/decorations/layout/html/tigris/decorator-top.vm?rev=219993&r1=219992&r2=219993&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/portal-webapp/src/webapp/WEB-INF/decorations/layout/html/tigris/decorator-top.vm
(original)
+++ portals/jetspeed-2/trunk/portal-webapp/src/webapp/WEB-INF/decorations/layout/html/tigris/decorator-top.vm
Wed Jul 20 21:00:39 2005
@@ -42,7 +42,8 @@
 <!--  BEGIN: layout/html/tigris/decorator.vm -->
 
     <div class="layout-tigris">
-<!-- Banner -->
+
+<!-- Banner Content -->
       <div id="banner">
         <table border="0" cellspacing="0" cellpadding="8" width="100%">
           <tr>
@@ -57,19 +58,27 @@
           </tr>
         </table>
       </div>
-<!-- Top Tabs -->
-      <div class="tabs">
+
+<!-- Top Tabs Menu -->
 #set($pagesStandardMenu = $site.getMenu("pages"))
 #if(!$pagesStandardMenu.empty)
+      <div class="tabs">
 #includeTabsNavigation($pagesStandardMenu $LEFT_TO_RIGHT)
-#end
       </div>
+#end
+
+## <!-- Back Navigation -->
+##       <div id="breadcrumbs">
+## #set($backStandardMenu = $site.getMenu("back"))
+## #if(!$backStandardMenu.empty)
+## #includeLinksNavigation($backStandardMenu $LEFT_TO_RIGHT $TITLE_FIRST "" "")
+## #else
+##         &nbsp;
+## #end
+##       </div>
+
+<!-- Breadcrumbs Back Navigation -->
       <div id="breadcrumbs">
-#* standard back breadcrumb *#
-##set($backStandardMenu = $site.getMenu("back"))
-##if(!$backStandardMenu.empty)
-##includeLinksNavigation($backStandardMenu $LEFT_TO_RIGHT $TITLE_FIRST "" "")
-#* standard breadcrumbs *#
 #set($breadcrumbsStandardMenu = $site.getMenu("breadcrumbs"))
 #if(!$breadcrumbsStandardMenu.empty)
 #includeLinksNavigation($breadcrumbsStandardMenu $LEFT_TO_RIGHT "" $BREADCRUMBS_STYLE "")
@@ -77,22 +86,24 @@
         &nbsp;
 #end
       </div>
+
+<!-- Content Table -->
       <table cellpadding="0" cellspacing="0" border="0" width="100%" id="main">
         <tr>
+
+<!-- Left Navigations Menu Table Data -->
 #set($navigationsStandardMenu = $site.getMenu("navigations"))
 #if(!$navigationsStandardMenu.empty)
           <td valign="top" id="leftcol" width="20%">
             <div id="navcolumn">
-
-<!-- Navigation Column -->
               <table cellpadding="0" cellspacing="4" border="0" width="100%">
 #includeLinksWithIconNavigation($navigationsStandardMenu $TOP_TO_BOTTOM)
               </table>
-
             </div>
           </td>
 #end
 
+<!-- Content Table Data -->
           <td nowrap valign="top">
   
 ## $jetspeed.include($jetspeed.currentFragment)

Modified: portals/jetspeed-2/trunk/portal-webapp/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/decorator.vm
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/portal-webapp/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/decorator.vm?rev=219993&r1=219992&r2=219993&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/portal-webapp/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/decorator.vm
(original)
+++ portals/jetspeed-2/trunk/portal-webapp/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/decorator.vm
Wed Jul 20 21:00:39 2005
@@ -43,7 +43,7 @@
       #foreach ($action in $actions)
       <td align="right" valign="middle" class="PTitle" >
       <a href="${action.Action}" title="${action.Name}" ><img src="${action.Link}"
alt="${action.Alt}" border="0"></a>
-      <td/>
+      </td>
       #end
       </tr>  
       </table>

Modified: portals/jetspeed-2/trunk/portal-webapp/src/webapp/WEB-INF/templates/layout/html/columns/layout.vm
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/portal-webapp/src/webapp/WEB-INF/templates/layout/html/columns/layout.vm?rev=219993&r1=219992&r2=219993&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/portal-webapp/src/webapp/WEB-INF/templates/layout/html/columns/layout.vm
(original)
+++ portals/jetspeed-2/trunk/portal-webapp/src/webapp/WEB-INF/templates/layout/html/columns/layout.vm
Wed Jul 20 21:00:39 2005
@@ -69,14 +69,14 @@
       #foreach ($action in $actions)
       <td align="right" valign="middle" class="PContent" >
       <a href="${action.Action}" title="${action.Name}" ><img src="${action.Link}"
alt="${action.Alt}" border="0"></a>
-      <td/>
+      </td>
       #end
 	  #if($editing == true)    		  	  
 	   #set ($chooser = "${jetspeed.basePath}/Administrative/choosers/portlet-selector.psml")
 	      <td align="right" valign="middle" class="PContent" >
             #set ($imgsrc="${jetspeed.pageBasePath}/content/images/select.gif")
 	      	<a href="javascript:openWindow('$response.encodeURL($chooser)')"><img src="$jetspeed.getAbsoluteUrl($imgsrc)"
border="0" title="Select"/></a>
-	      <td/>	  
+	      </td>	  
 	  #end      
       </tr>
       </table>
@@ -122,8 +122,7 @@
               <div id="_$f.id_toolBox"  >
                <table cellpadding="0" cellspacing="0" >
                  <tr>
-                   <td >
-                   </td>
+                   <td></td>
                    <td align="center" onMouseover="this.style.backgroundColor='red'" onMouseout="this.style.backgroundColor=''">
                         #if($row > 0)
                          #set($upUrl = $renderResponse.createRenderURL())    
@@ -133,8 +132,8 @@
                          <a href="$upUrl"><img src="$jetspeed.getAbsoluteUrl($imgsrc)"
border="0" title="Move Portlet Up"/></a>
                        #end
                    </td>
-                   <td/>
-                   <td/>
+                   <td></td>
+                   <td></td>
                  </tr>
                  <tr>
                    <td align="right" onMouseover="this.style.backgroundColor='red'" onMouseout="this.style.backgroundColor=''">
@@ -167,7 +166,7 @@
                     </td>
                  </tr>
 				 <tr>
-					<td ></td>
+					<td></td>
 					<td align="center" onMouseover="this.style.backgroundColor='red'" onMouseout="this.style.backgroundColor=''">
 					  #set($lastRow = $renderRequest.getAttribute("lastRowForColumn").get($col))
 					  #if($row < $lastRow)						
@@ -178,8 +177,8 @@
 					    <a href="$downUrl"><img src="$jetspeed.getAbsoluteUrl($imgsrc)" border="0"
title="Move Portlet Down"/></a>
 					  #end
 					</td>
-					<td/>
-					<td/>
+					<td></td>
+					<td></td>
 				 </tr>
 			  </table>
 			</div>



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message