[Bedework-commit] r496 - trunk/calendar3/deployment/webpublic/webapp/resources/demoskins/default/default

svnadmin at bedework.org svnadmin at bedework.org
Fri May 19 02:18:06 EDT 2006


Author: johnsa
Date: 2006-05-19 02:18:04 -0400 (Fri, 19 May 2006)
New Revision: 496

Modified:
   trunk/calendar3/deployment/webpublic/webapp/resources/demoskins/default/default/blue.css
   trunk/calendar3/deployment/webpublic/webapp/resources/demoskins/default/default/default.xsl
   trunk/calendar3/deployment/webpublic/webapp/resources/demoskins/default/default/green.css
   trunk/calendar3/deployment/webpublic/webapp/resources/demoskins/default/default/red.css
Log:
improvements to public calendar download and add event ref icons in single event display (could be improved more)

Modified: trunk/calendar3/deployment/webpublic/webapp/resources/demoskins/default/default/blue.css
===================================================================
--- trunk/calendar3/deployment/webpublic/webapp/resources/demoskins/default/default/blue.css	2006-05-19 05:54:13 UTC (rev 495)
+++ trunk/calendar3/deployment/webpublic/webapp/resources/demoskins/default/default/blue.css	2006-05-19 06:18:04 UTC (rev 496)
@@ -272,12 +272,16 @@
   text-align: right;
   padding: 0.5em 1em 0.2em 0.5em;
   white-space: nowrap;
+	font-size: 0.9em;
+	font-weight: normal;
 }
-#eventTable th.icalIcon img.addref {
-  margin-right: 0.5em;
-  position: relative;
-  top: -5px;
+#eventTable th.icalIcon a {
+  text-decoration: none;
 }
+#eventTable th.icalIcon img {
+  vertical-align: middle;
+	padding-left: 1em;
+}
 #eventTable th.fieldname {
   text-align: left;
   padding: 1em 0.5em 1em 0.5em;

Modified: trunk/calendar3/deployment/webpublic/webapp/resources/demoskins/default/default/default.xsl
===================================================================
--- trunk/calendar3/deployment/webpublic/webapp/resources/demoskins/default/default/default.xsl	2006-05-19 05:54:13 UTC (rev 495)
+++ trunk/calendar3/deployment/webpublic/webapp/resources/demoskins/default/default/default.xsl	2006-05-19 06:18:04 UTC (rev 496)
@@ -556,18 +556,20 @@
           </xsl:choose>
         </td>
         <th class="icalIcon" rowspan="2">
-          <xsl:variable name="id" select="id"/>
-          <xsl:variable name="subscriptionId" select="subscription/id"/>
-          <xsl:variable name="calPath" select="calendar/encodedPath"/>
-          <xsl:variable name="guid" select="guid"/>
-          <xsl:variable name="recurrenceId" select="recurrenceId"/>
-          <a href="{$privateCal}/addEventRef.do?subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}" title="Add event to MyCalendar" target="myCalendar">
-            <img class="addref" src="{$resourcesRoot}/images/add2mycal-icon.gif" width="20" height="26" border="0" alt="Add event to MyCalendar"/>
-          </a>
-          <xsl:variable name="eventIcalName" select="concat($id,'.ics')"/>
-          <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">
-            <img src="{$resourcesRoot}/images/std-ical_icon.gif" width="20" height="26" border="0" alt="Download this event"/>
-          </a>
+          <div id="eventIcons">
+						<xsl:variable name="id" select="id"/>
+						<xsl:variable name="subscriptionId" select="subscription/id"/>
+						<xsl:variable name="calPath" select="calendar/encodedPath"/>
+						<xsl:variable name="guid" select="guid"/>
+						<xsl:variable name="recurrenceId" select="recurrenceId"/>
+						<a href="{$privateCal}/addEventRef.do?subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}" title="Add event to MyCalendar" target="myCalendar">
+							<img class="addref" src="{$resourcesRoot}/images/add2mycal-icon.gif" width="20" height="26" border="0" alt="Add event to MyCalendar"/>
+						add to my calendar</a> 
+						<xsl:variable name="eventIcalName" select="concat($id,'.ics')"/>
+						<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">
+							<img src="{$resourcesRoot}/images/std-ical_icon.gif" width="20" height="26" border="0" alt="Download this event"/>
+						 download</a>
+					</div>
         </th>
       </tr>
       <tr>

Modified: trunk/calendar3/deployment/webpublic/webapp/resources/demoskins/default/default/green.css
===================================================================
--- trunk/calendar3/deployment/webpublic/webapp/resources/demoskins/default/default/green.css	2006-05-19 05:54:13 UTC (rev 495)
+++ trunk/calendar3/deployment/webpublic/webapp/resources/demoskins/default/default/green.css	2006-05-19 06:18:04 UTC (rev 496)
@@ -286,17 +286,20 @@
 }
 #eventTable th.icalIcon {
   margin: 0em;
+  vertical-align: middle;
   text-align: right;
-  vertical-align: middle;
   padding: 0.5em 1em 0.2em 0.5em;
-  font-size: 0.7em;
   white-space: nowrap;
+	font-size: 0.9em;
+	font-weight: normal;
 }
-#eventTable th.icalIcon img.addref {
-  margin-right: 0.5em;
-  position: relative;
-  top: -5px;
+#eventTable th.icalIcon a {
+  text-decoration: none;
 }
+#eventTable th.icalIcon img {
+  vertical-align: middle;
+	padding-left: 1em;
+}
 #calPageTable {
   width: 100%;
   font-size: 100%;

Modified: trunk/calendar3/deployment/webpublic/webapp/resources/demoskins/default/default/red.css
===================================================================
--- trunk/calendar3/deployment/webpublic/webapp/resources/demoskins/default/default/red.css	2006-05-19 05:54:13 UTC (rev 495)
+++ trunk/calendar3/deployment/webpublic/webapp/resources/demoskins/default/default/red.css	2006-05-19 06:18:04 UTC (rev 496)
@@ -286,17 +286,20 @@
 }
 #eventTable th.icalIcon {
   margin: 0em;
+  vertical-align: middle;
   text-align: right;
-  vertical-align: middle;
   padding: 0.5em 1em 0.2em 0.5em;
-  font-size: 0.7em;
   white-space: nowrap;
+	font-size: 0.9em;
+	font-weight: normal;
 }
-#eventTable th.icalIcon img.addref {
-  margin-right: 0.5em;
-  position: relative;
-  top: -5px;
+#eventTable th.icalIcon a {
+  text-decoration: none;
 }
+#eventTable th.icalIcon img {
+  vertical-align: middle;
+	padding-left: 1em;
+}
 #calPageTable {
   width: 100%;
   font-size: 100%;



More information about the Bedework-commit mailing list