portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wea...@apache.org
Subject cvs commit: jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/layout/html/jetspeed/css styles.css
Date Sun, 14 Mar 2004 00:02:43 GMT
weaver      2004/03/13 16:02:43

  Added:       portal/src/webapp/WEB-INF/decorations/portlet/html/portletstd
                        decorator.vm decorator.properties
               portal/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/images
                        titleright.gif title.gif tableft.gif titleleft.gif
                        contentright.gif print.gif close.gif bottomleft.gif
                        tableft_low.gif info.gif bottomright.gif
                        leftnavbg.gif minimize.gif restore.gif
                        tabmiddle_low.gif customize.gif tabright.gif
                        tabmiddle.gif info1.gif contentleft.gif bottom.gif
                        tabright_low.gif maximize.gif
               portal/src/webapp/WEB-INF/decorations/layout/html/jetspeed
                        decorator-bottom.vm decorator-top.vm
               portal/src/webapp/WEB-INF/decorations/generic/html/clear
                        decorator.vm decorator.properties
               portal/src/webapp/WEB-INF/decorations/layout/html/jetspeed/images
                        jetspeed-logo.gif
               portal/src/webapp/WEB-INF/decorations/portlet/html/portletstd_jsp
                        decorator.properties decorator.jsp
               portal/src/webapp/WEB-INF/decorations/portlet/html/jetspeed
                        decorator.properties decorator.vm
               portal/src/webapp/WEB-INF/decorations/layout/html/jetspeed/css
                        styles.css
  Log:
  moved decoartions oit of templates and into decorations
  
  Revision  Changes    Path
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/portletstd/decorator.vm
  
  Index: decorator.vm
  ===================================================================
  #set($myPage = $jetspeed.page)
  
  #set($myF = $jetspeed.currentFragment)
  
  #set($myPE = $jetspeed.currentPortletEntity)
  <!-- Begin portletstd.vm -->
  <table width="100%" cellspacing"0" cellpadding="0">
  <tr>
    <td bgcolor="${myPage.defaultSkin}">
    <table width="100%">
    <tr>
      <td>
        ${myPE.portletDefinition.name}
      </td>
      <td>
      </td>
    </tr>
    </table>
    </td>
  </tr>
  <tr>
    <td width="100%" valign="top">
      #if (!$jetspeed.isHidden($myF))
        $jetspeed.include($myF)
      #end
    </td>
  </tr>
  </table>
  <!--  End portletstd.vm -->
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/portletstd/decorator.properties
  
  Index: decorator.properties
  ===================================================================
  id=portletstd
  template.type=velocity
  template.extension=.vm
  decorates=portlet
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/images/titleright.gif
  
  	<<Binary file>>
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/images/title.gif
  
  	<<Binary file>>
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/images/tableft.gif
  
  	<<Binary file>>
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/images/titleleft.gif
  
  	<<Binary file>>
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/images/contentright.gif
  
  	<<Binary file>>
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/images/print.gif
  
  	<<Binary file>>
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/images/close.gif
  
  	<<Binary file>>
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/images/bottomleft.gif
  
  	<<Binary file>>
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/images/tableft_low.gif
  
  	<<Binary file>>
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/images/info.gif
  
  	<<Binary file>>
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/images/bottomright.gif
  
  	<<Binary file>>
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/images/leftnavbg.gif
  
  	<<Binary file>>
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/images/minimize.gif
  
  	<<Binary file>>
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/images/restore.gif
  
  	<<Binary file>>
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/images/tabmiddle_low.gif
  
  	<<Binary file>>
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/images/customize.gif
  
  	<<Binary file>>
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/images/tabright.gif
  
  	<<Binary file>>
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/images/tabmiddle.gif
  
  	<<Binary file>>
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/images/info1.gif
  
  	<<Binary file>>
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/images/contentleft.gif
  
  	<<Binary file>>
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/images/bottom.gif
  
  	<<Binary file>>
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/images/tabright_low.gif
  
  	<<Binary file>>
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/images/maximize.gif
  
  	<<Binary file>>
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/layout/html/jetspeed/decorator-bottom.vm
  
  	<<Binary file>>
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/layout/html/jetspeed/decorator-top.vm
  
  Index: decorator-top.vm
  ===================================================================
  <!--  BEGIN: layout/html/jetspeed/decorator.vm -->
  
  <p>
  <img src="content/images/jetspeed-logo.gif" alt="Jetspeed 2 Logo" border="0">
  </p>
  
  ## $jetspeed.include($jetspeed.currentFragment)
  
  <!--  END: layout/html/jetspeed/decorator.vm -->
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/generic/html/clear/decorator.vm
  
  Index: decorator.vm
  ===================================================================
  <!--  BEGIN: clear/decorator.vm -->
  
  $jetspeed.include($jetspeed.currentFragment)
  
  <!--  END: clear/decorator.vm -->
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/generic/html/clear/decorator.properties
  
  Index: decorator.properties
  ===================================================================
  id=clear
  template.type=velocity
  template.extension=.vm
  decorates=any
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/layout/html/jetspeed/images/jetspeed-logo.gif
  
  	<<Binary file>>
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/portletstd_jsp/decorator.properties
  
  Index: decorator.properties
  ===================================================================
  id=portletstd_jsp
  template.type=JSP
  template.extension=.jsp
  decorates=portlet
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/portletstd_jsp/decorator.jsp
  
  Index: decorator.jsp
  ===================================================================
  <%@ page language="java" import="org.apache.jetspeed.om.page.*,org.apache.pluto.om.entity.*,
org.apache.jetspeed.velocity.JetspeedPowerTool" session="false" %>
  <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
  <%@ taglib uri='/WEB-INF/portlet.tld' prefix='portlet'%>
  <portlet:defineObjects/>
  <% 
  JetspeedPowerTool jetspeed = new JetspeedPowerTool(pageContext);
  Page myPage = jetspeed.getPage();
  Fragment myF = jetspeed.getCurrentFragment();
  PortletEntity myPE = jetspeed.getCurrentPortletEntity();
  
  %>
  <!-- BEGIN: portletstd_jsp -->
  <table width="100%" cellspacing"0" cellpadding="0">
  <tr>
    <td bgcolor="<%=myPage.getDefaultSkin()%>">
    <table width="100%">
    <tr>
      <td><% if (myPE!=null) out.write(myPE.getPortletDefinition().getName());%></td>
      <td>
      </td>
    </tr>
    </table>
    </td>
  </tr>
  <tr><td width="100%" valign="top">
       <%
         if (!jetspeed.isHidden(myF))
         {
            jetspeed.include(myF);
         }
       %>
  </td>
  </tr>
  </table>
  <!-- END: portletstd_jsp -->
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/decorator.properties
  
  Index: decorator.properties
  ===================================================================
  id=jetspeed
  template.type=velocity
  template.extension=.vm
  decorates=portlet
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/decorator.vm
  
  Index: decorator.vm
  ===================================================================
  #set($myPage = $jetspeed.page)
  
  #set($myF = $jetspeed.currentFragment)
  
  #set($myPE = $jetspeed.currentPortletEntity)
  
  
  <!-- Begin portlet/html/jetspeed/decorator.vm  -->
  
  <div class="Jetspeed" >
  <table border="0" cellpadding="0" cellspacing="0" width="100%" >
  ##
  ## Portlet Title Bar
  ##
  #set ($cspan = 2)
  
    <tr>
      <td class="PTitleLeft" style="font-size:1pt;" nowrap="true">&nbsp;</td>
  
      <td align="left" valign="middle" class="PTitle" >
         ${myPE.portletDefinition.name}
      </td>
      
      <td class="PTitleRight" style="font-size:1pt;" nowrap="true">&nbsp;</td>
    </tr>
  
  
  ##
  ## Portlet Content
  ##
  #if (!$jetspeed.isHidden($myF))
    <tr>
      <td  nowrap="nowrap"><div class="PContentLeft" >&nbsp;</div></td>
      
      <td class="PContent" >
         $jetspeed.include($myF)
      </td>   
      
      <td class="PContentRight"  ><div class="PContentRight" >&nbsp;</div></td>
     
    </tr>
  #end
  
  
  ##
  ## Portlet Bottom
  ##
    <tr>
      <td class="PBottomLeft" style="font-size:1pt;" nowrap="true">&nbsp;</td>
      <td class="PBottom" style="font-size:1pt;" nowrap="true">&nbsp;</td>
      <td class="PBottomRight" style="font-size:1pt;" nowrap="true">&nbsp;</td>
    </tr>
  </table>
  </div>
  
  <!--  portlet/html/jetspeed/decorator.vm -->
  
  
  
  
  
  
  
  
  
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/layout/html/jetspeed/css/styles.css
  
  Index: styles.css
  ===================================================================
  .Jetspeed .PTitleLeft
  {
  	/**
  	Needs to specify the width of image used
  	otherwise it won't show !
  	**/
  	width:10px;
  	
  	/** Always use relative path ! **/
  	background:  url(content/jetspeed/images/titleleft.gif);
  }
  
  .Jetspeed .PTitle
  {
  	/**
  	Specify the height of the image used
  	else it will use the text height	
  	**/
  	height:21px;
  	color:#FFFFFF;
  	font-weight:bold;
  	background:  url(content/jetspeed/images/title.gif);
  }
   
  .Jetspeed .PTitleRight
  {
  	/**
  	Needs to specify the width of image used
  	otherwise it won't show !
  	**/
  	width:10px;
  	background:  url(content/jetspeed/images/titleright.gif);
  }
  
  .Jetspeed .PContentLeft
  {
  	width:10px;
  	background: url(content/jetspeed/images/contentleft.gif);
  	height : 100%;
  
  }
  
  .Jetspeed .PContent
  {
  	overflow : scroll;
  
  }
  
  .Jetspeed .PContentRight
  {
  	width:10px;
  	background:  url(content/jetspeed/images/contentright.gif);
  	height : 100%;
  
  }
  
  .Jetspeed .PBottomLeft
  {
  	width:10px;
  	background:  url(content/jetspeed/images/bottomleft.gif);
  }
  
  .Jetspeed .PBottom
  {
  	/**
  	Specify the height of the image used
  	else it won't appear
  	**/
  	height:13px;
  	background:  url(content/jetspeed/images/bottom.gif);
  }
  
  .Jetspeed .PBottomRight
  {
  	width:10px;
  	background:  url(content/jetspeed/images/bottomright.gif);
  }
  
  .Jetspeed .TabLeft
  {
  	width:12px;
  	height:25px;
  	background:  url(content/jetspeed/images/tableft.gif);
  }
  
  .Jetspeed .TabMiddle
  {
  	font-weight:bold;
  	font-size: 9pt;
  	background:  url(content/jetspeed/images/tabmiddle.gif);	
  }
  
  .Jetspeed .TabRight
  {
  	width:12px;
  	background:  url(content/jetspeed/images/tabright.gif);
  }
  
  
  .Jetspeed .TabLeftLow
  {
  	width:12px;
  	background:  url(content/jetspeed/images/tableft_low.gif);
  }
  
  .Jetspeed .TabMiddleLow
  {
  	font-weight:bold;
  	background:  url(content/jetspeed/images/tabmiddle_low.gif);	
  }
  
  .Jetspeed .TabRightLow
  {
  	width:12px;
  	background:  url(content/jetspeed/images/tabright_low.gif);
  }
   
  .Jetspeed .TabLink
  {
  	text-decoration:none;
  	font-size:6pt;
  }
  
  a:link.TabLink { color:black;font-size:9pt;font-weight:normal; }
  a:visited.TabLink { color:black;font-size:9pt;font-weight:normal; }
  a:hover.TabLink { color:#6F6F6F;font-size:9pt;font-weight:normal; }
  
  
  .Jetspeed .MenuLeft
  {
  	width:12px;
  	background:  url(content/jetspeed/images/tabmiddle.gif);
  }
  
  
  .Jetspeed .MenuMiddle
  {
  	font-size:9pt;
  	font-weight:bold;
  	background:  url(content/jetspeed/images/tabmiddle.gif);
  }
  
  .Jetspeed .MenuRight
  {
  	background:  url(content/jetspeed/images/tabmiddle.gif);
  }
  
  .Jetspeed .MenuLeftLow
  {
  	width:12px;
  	background:  url(content/jetspeed/images/tabmiddle_low.gif);
  }
  
  
  .Jetspeed .MenuMiddleLow
  {
  	font-size:8pt;
  	background:  url(content/jetspeed/images/tabmiddle_low.gif);
  }
  
  .Jetspeed .MenuRightLow
  {
  	background:  url(content/jetspeed/images/tabmiddle_low.gif);
  }
  
  
  

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


Mime
View raw message