taylor 2004/10/15 00:02:10 Modified: portal/src/webapp/WEB-INF/decorations/layout/html/jetspeed decorator-top.vm portal/src/webapp/WEB-INF/decorations/layout/html/jetspeed/css styles.css Added: portal/src/webapp/WEB-INF/decorations/layout/html/jetspeed/images page.sm.png Log: docset support for default layouts, ugly page icon ;) patch from Randy Watler Revision Changes Path 1.20 +23 -6 jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/layout/html/jetspeed/decorator-top.vm Index: decorator-top.vm =================================================================== RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/layout/html/jetspeed/decorator-top.vm,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- decorator-top.vm 20 Sep 2004 19:29:21 -0000 1.19 +++ decorator-top.vm 15 Oct 2004 07:02:10 -0000 1.20 @@ -58,12 +58,29 @@ <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> - <td valign="top" nowrap> - - Additional Links: - #includeNavigation("linksWithIcon1" $profiledPageContext.rootLinks $TOP_TO_BOTTOM) - </td> - <td width="99%" nowrap valign="top"> + <td valign="top"> + <table cellpadding="0" cellspacing="0" border="0" width="100%"> + #if($profiledPageContext.rootLinks) + <tr> + <td nowrap> + <br>Additional Links: + #includeNavigation("linksWithIcon1" $profiledPageContext.rootLinks $TOP_TO_BOTTOM) + </td> + </tr> + #end + #foreach($docSetName in $profiledPageContext.documentSetNames) + #set($docSet = $profiledPageContext.getDocumentSet($docSetName)) + #set($docSetNodes = $profiledPageContext.getDocumentSetNodes($docSetName)) + <tr> + <td nowrap> + <br>${docSet.getTitle($preferedLocale)}: + #includeNavigation("linksWithIcon1" $docSetNodes $TOP_TO_BOTTOM) + </td> + </tr> + #end + </table> + </td> + <td width="99%" nowrap valign="top"> ## $jetspeed.include($jetspeed.currentFragment) 1.1 jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/layout/html/jetspeed/images/page.sm.png <<Binary file>> 1.17 +28 -0 jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/layout/html/jetspeed/css/styles.css Index: styles.css =================================================================== RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/layout/html/jetspeed/css/styles.css,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- styles.css 27 Sep 2004 17:50:20 -0000 1.16 +++ styles.css 15 Oct 2004 07:02:10 -0000 1.17 @@ -83,6 +83,34 @@ */ margin-right:19px; } +.LinkFolder +{ + background: url(content/images/folder.sm.png) no-repeat; + padding-top: 5px; + width: 100%; + /** Padding is just a wee bit larger than our icons with */ + padding-left: 19px; + + /** Needed to offset the 19px padding on the left, + * othewise we "bleed" into our neighboring element + * on the right. + */ + margin-right:19px; +} +.LinkPage +{ + background: url(content/images/page.sm.png) no-repeat; + padding-top: 5px; + width: 100%; + /** Padding is just a wee bit larger than our icons with */ + padding-left: 19px; + + /** Needed to offset the 19px padding on the left, + * othewise we "bleed" into our neighboring element + * on the right. + */ + margin-right:19px; +} .layout-Jetspeed .LTabLeftLow {
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]