Changeset 549

Show
Ignore:
Timestamp:
06/07/06 16:16:53
Author:
johnsa
Message:

free / busy tentative styles in place

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/default.css

    r548 r549  
    10371037  font-size: 0.8em; 
    10381038  font-weight: normal; 
    1039   padding: 4px
     1039  padding: 0
    10401040  margin: 0; 
    10411041} 
     
    10541054  background-color: #ddd; 
    10551055} 
     1056#freeBusy td.tentative, 
     1057#freeBusyKey td.tentative { 
     1058  color: #DFE7FB; 
     1059  background: #DFE7FB url('../../resources/tentativeLines.gif') top; 
     1060} 
    10561061#freeBusyKey { 
    10571062  margin: 0.5em auto 1em auto; 
     
    10651070  display: block; 
    10661071  padding: 6px 10px; 
     1072  width: 10px; 
     1073  height: 10px; 
     1074  text-decoration: none; 
     1075} 
     1076#freeBusy td.tentative a  { 
     1077  color: #DFE7FB; 
     1078  background-color: transparent; 
     1079  display: block; 
     1080  padding: 6px 10px; 
     1081  width: 10px; 
     1082  height: 10px; 
    10671083  text-decoration: none; 
    10681084} 
     
    10721088  display: block; 
    10731089  padding: 6px 10px; 
     1090  width: 10px; 
     1091  height: 10px; 
    10741092  text-decoration: none; 
    10751093} 
    10761094#freeBusy td.busy a:hover, 
    1077 #freeBusy td.free a:hover { 
     1095#freeBusy td.free a:hover, 
     1096#freeBusy td.tentative a:hover  { 
    10781097  color: black; 
    10791098  background-color: yellow; 
  • trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl

    r548 r549  
    22022202            <xsl:variable name="startDate"><xsl:value-of select="substring(../start,1,8)"/>T<xsl:value-of select="start"/>00</xsl:variable> 
    22032203            <xsl:variable name="minutes" select="length"/> 
    2204             <xsl:choose> 
    2205               <xsl:when test="fbtype = '0'"> 
    2206                 <td class="busy"> 
    2207                   <a href="{$initEvent}?startdate={$startDate}&amp;minutes={$minutes}" title="{$startTime}">*</a> 
    2208                 </td> 
    2209               </xsl:when> 
    2210               <xsl:otherwise> 
    2211                 <td class="free"> 
    2212                   <a href="{$initEvent}?startdate={$startDate}&amp;minutes={$minutes}" title="{$startTime}">*</a> 
    2213                 </td> 
    2214               </xsl:otherwise> 
    2215             </xsl:choose> 
     2204            <xsl:variable name="fbClass"> 
     2205              <xsl:choose> 
     2206                <xsl:when test="fbtype = '0'">busy</xsl:when> 
     2207                <xsl:when test="fbtype = '3'">tentative</xsl:when> 
     2208                <xsl:otherwise>free</xsl:otherwise> 
     2209              </xsl:choose> 
     2210            </xsl:variable> 
     2211            <td class="{$fbClass}"> 
     2212              <a href="{$initEvent}?startdate={$startDate}&amp;minutes={$minutes}" title="{$startTime}">*</a> 
     2213            </td> 
    22162214          </xsl:for-each> 
    22172215        </tr> 
     
    22262224        <td class="busy">*</td> 
    22272225        <td>busy</td> 
     2226        <td>&#160;</td> 
     2227        <td class="tentative">*</td> 
     2228        <td>tentative</td> 
    22282229        <td>&#160;</td> 
    22292230        <td>