Changeset 496

Show
Ignore:
Timestamp:
05/19/06 02:18:04
Author:
johnsa
Message:

improvements to public calendar download and add event ref icons in single event display (could be improved more)

Files:

Legend:

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

    r440 r496  
    273273  padding: 0.5em 1em 0.2em 0.5em; 
    274274  white-space: nowrap; 
    275 
    276 #eventTable th.icalIcon img.addref { 
    277   margin-right: 0.5em; 
    278   position: relative; 
    279   top: -5px; 
     275        font-size: 0.9em; 
     276        font-weight: normal; 
     277
     278#eventTable th.icalIcon a { 
     279  text-decoration: none; 
     280
     281#eventTable th.icalIcon img { 
     282  vertical-align: middle; 
     283        padding-left: 1em; 
    280284} 
    281285#eventTable th.fieldname { 
  • trunk/calendar3/deployment/webpublic/webapp/resources/demoskins/default/default/default.xsl

    r475 r496  
    557557        </td> 
    558558        <th class="icalIcon" rowspan="2"> 
    559           <xsl:variable name="id" select="id"/> 
    560           <xsl:variable name="subscriptionId" select="subscription/id"/> 
    561           <xsl:variable name="calPath" select="calendar/encodedPath"/> 
    562           <xsl:variable name="guid" select="guid"/> 
    563           <xsl:variable name="recurrenceId" select="recurrenceId"/> 
    564           <a href="{$privateCal}/addEventRef.do?subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}" title="Add event to MyCalendar" target="myCalendar"> 
    565             <img class="addref" src="{$resourcesRoot}/images/add2mycal-icon.gif" width="20" height="26" border="0" alt="Add event to MyCalendar"/> 
    566           </a> 
    567           <xsl:variable name="eventIcalName" select="concat($id,'.ics')"/> 
    568           <a href="{$export}?subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}&amp;nocache=no&amp;skinName=ical&amp;contentType=text/calendar&amp;contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> 
    569             <img src="{$resourcesRoot}/images/std-ical_icon.gif" width="20" height="26" border="0" alt="Download this event"/> 
    570           </a> 
     559          <div id="eventIcons"> 
     560                                                <xsl:variable name="id" select="id"/> 
     561                                                <xsl:variable name="subscriptionId" select="subscription/id"/> 
     562                                                <xsl:variable name="calPath" select="calendar/encodedPath"/> 
     563                                                <xsl:variable name="guid" select="guid"/> 
     564                                                <xsl:variable name="recurrenceId" select="recurrenceId"/> 
     565                                                <a href="{$privateCal}/addEventRef.do?subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}" title="Add event to MyCalendar" target="myCalendar"> 
     566                                                        <img class="addref" src="{$resourcesRoot}/images/add2mycal-icon.gif" width="20" height="26" border="0" alt="Add event to MyCalendar"/> 
     567                                                add to my calendar</a>  
     568                                                <xsl:variable name="eventIcalName" select="concat($id,'.ics')"/> 
     569                                                <a href="{$export}?subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}&amp;nocache=no&amp;skinName=ical&amp;contentType=text/calendar&amp;contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> 
     570                                                        <img src="{$resourcesRoot}/images/std-ical_icon.gif" width="20" height="26" border="0" alt="Download this event"/> 
     571                                                 download</a> 
     572                                        </div> 
    571573        </th> 
    572574      </tr> 
  • trunk/calendar3/deployment/webpublic/webapp/resources/demoskins/default/default/green.css

    r444 r496  
    287287#eventTable th.icalIcon { 
    288288  margin: 0em; 
     289  vertical-align: middle; 
    289290  text-align: right; 
     291  padding: 0.5em 1em 0.2em 0.5em; 
     292  white-space: nowrap; 
     293        font-size: 0.9em; 
     294        font-weight: normal; 
     295} 
     296#eventTable th.icalIcon a { 
     297  text-decoration: none; 
     298} 
     299#eventTable th.icalIcon img { 
    290300  vertical-align: middle; 
    291   padding: 0.5em 1em 0.2em 0.5em; 
    292   font-size: 0.7em; 
    293   white-space: nowrap; 
    294 
    295 #eventTable th.icalIcon img.addref { 
    296   margin-right: 0.5em; 
    297   position: relative; 
    298   top: -5px; 
     301        padding-left: 1em; 
    299302} 
    300303#calPageTable { 
  • trunk/calendar3/deployment/webpublic/webapp/resources/demoskins/default/default/red.css

    r444 r496  
    287287#eventTable th.icalIcon { 
    288288  margin: 0em; 
     289  vertical-align: middle; 
    289290  text-align: right; 
     291  padding: 0.5em 1em 0.2em 0.5em; 
     292  white-space: nowrap; 
     293        font-size: 0.9em; 
     294        font-weight: normal; 
     295} 
     296#eventTable th.icalIcon a { 
     297  text-decoration: none; 
     298} 
     299#eventTable th.icalIcon img { 
    290300  vertical-align: middle; 
    291   padding: 0.5em 1em 0.2em 0.5em; 
    292   font-size: 0.7em; 
    293   white-space: nowrap; 
    294 
    295 #eventTable th.icalIcon img.addref { 
    296   margin-right: 0.5em; 
    297   position: relative; 
    298   top: -5px; 
     301        padding-left: 1em; 
    299302} 
    300303#calPageTable {