Changeset 332
- Timestamp:
- 04/05/06 13:36:23
- Files:
-
- trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/default.css (modified) (7 diffs)
- trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl (modified) (27 diffs)
- trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/errors.xsl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/default.css
r329 r332 9 9 h2 { 10 10 margin: 0em; 11 padding: 1em 0.2em 0em 0.2em; 12 font-size: 1.4em; 11 padding: 0.2em 0.2em 0.2em 0.5em; 12 font-size: 1.3em; 13 background-color: #ccc; 14 color: black; 15 } 16 h2 a:link, 17 h2 a:active, 18 h2 a:visited, 19 h2 a:hover { 20 color: black; 21 background-color: inherit; 22 text-decoration: none; 13 23 } 14 24 h3 { … … 62 72 text-decoration: none; 63 73 } 64 #titleBar {74 /*#titleBar { 65 75 display: none; 66 } 76 }*/ 67 77 #curDateRange { 68 78 background-color: #663; … … 339 349 padding: 0; 340 350 } 351 352 /* table below is used for almost all forms */ 341 353 #commonTable { 342 354 width: 100%; … … 345 357 padding: 0px; 346 358 } 347 th#commonHeader, 348 #commonTable th#commonHeader { 349 /*background-color: black; 350 color: #eee;*/ 351 background-color: #ccc; 352 color: #333; 359 #commonTable th.commonHeader { 360 background-color: #666; 361 color: #eee; 353 362 padding: 0.2em 0.5em; 354 363 text-align: left; 364 font-weight: normal; 365 } 366 #commonTable th.commonHeader a:link, 367 #commonTable th.commonHeader a:active, 368 #commonTable th.commonHeader a:visited { 369 background-color: inherit; 370 color: #eee; 371 padding: 0.2em; 372 text-align: left; 373 } 374 #commonTable th.commonHeader a:hover { 375 background-color: inherit; 376 color: #ff9; 377 padding: 0.2em; 378 text-align: left; 355 379 } 356 380 #commonTable td.fieldval { … … 360 384 } 361 385 #commonTable td.fieldname { 386 width: 80px; 362 387 margin: 0em; 363 388 vertical-align: top; … … 367 392 white-space: nowrap; 368 393 } 369 #commonTable th.fieldval { 370 text-align: left; 371 padding: 1em 0.5em 0.5em 1em; 372 background-color: #fff; 373 color: black; 374 width: 100%; 375 } 376 #commonTable th, 377 #commonTable th.fieldname { 394 #commonTable th { 378 395 text-align: left; 379 396 vertical-align: top; … … 388 405 padding: 0.5em 1em 0.2em 0; 389 406 font-size: 0.7em; 407 background-color: #fff; 408 color: black; 390 409 } 391 410 #commonTable td.eventLinks { trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl
r329 r332 192 192 193 193 <xsl:template name="headSection"> 194 <title>Bedework: Personal Calendar Client</title>195 <meta name="robots" content="noindex,nofollow"/>196 <link rel="stylesheet" href="{$resourcesRoot}/default/default/default.css"/>197 <link rel="stylesheet" type="text/css" media="print" href="{$resourcesRoot}/default/default/print.css" />198 <link rel="icon" type="image/ico" href="{$resourcesRoot}/resources/bedework.ico" />199 <xsl:if test="/bedework/page='addEvent' or /bedework/page='editEvent'">200 <script type="text/javascript" src="{$resourcesRoot}/resources/includes.js"></script>201 <script type="text/javascript" src="{$resourcesRoot}/resources/bwClock.js"></script>202 <link rel="stylesheet" href="{$resourcesRoot}/resources/bwClock.css"/>203 <script type="text/javascript" src="{$resourcesRoot}/resources/dynCalendarWidget.js"></script>204 <link rel="stylesheet" href="{$resourcesRoot}/resources/dynCalendarWidget.css"/>205 <script type="text/javascript" src="{$resourcesRoot}/resources/browserSniffer.js"></script>206 </xsl:if>194 <title>Bedework: Personal Calendar Client</title> 195 <meta name="robots" content="noindex,nofollow"/> 196 <link rel="stylesheet" href="{$resourcesRoot}/default/default/default.css"/> 197 <link rel="stylesheet" type="text/css" media="print" href="{$resourcesRoot}/default/default/print.css" /> 198 <link rel="icon" type="image/ico" href="{$resourcesRoot}/resources/bedework.ico" /> 199 <xsl:if test="/bedework/page='addEvent' or /bedework/page='editEvent'"> 200 <script type="text/javascript" src="{$resourcesRoot}/resources/includes.js"></script> 201 <script type="text/javascript" src="{$resourcesRoot}/resources/bwClock.js"></script> 202 <link rel="stylesheet" href="{$resourcesRoot}/resources/bwClock.css"/> 203 <script type="text/javascript" src="{$resourcesRoot}/resources/dynCalendarWidget.js"></script> 204 <link rel="stylesheet" href="{$resourcesRoot}/resources/dynCalendarWidget.css"/> 205 <script type="text/javascript" src="{$resourcesRoot}/resources/browserSniffer.js"></script> 206 </xsl:if> 207 207 </xsl:template> 208 208 … … 210 210 211 211 <xsl:template name="headBar"> 212 <h1 id="titleBar">213 BEDEWORK PERSONAL CLIENT214 </h1>215 212 <table width="100%" border="0" cellpadding="0" cellspacing="0" id="logoTable"> 216 213 <tr> … … 1002 999 <xsl:variable name="guid" select="guid"/> 1003 1000 <xsl:variable name="recurrenceId" select="recurrenceId"/> 1001 <h2> 1002 <xsl:choose> 1003 <xsl:when test="link != ''"> 1004 <xsl:variable name="link" select="link"/> 1005 <a href="{$link}"> 1006 <xsl:value-of select="summary"/> 1007 </a> 1008 </xsl:when> 1009 <xsl:otherwise> 1010 <xsl:value-of select="summary"/> 1011 </xsl:otherwise> 1012 </xsl:choose> 1013 </h2> 1004 1014 <table id="commonTable" cellspacing="0"> 1005 1015 <tr> 1006 <th colspan="3" id="commonHeader">1016 <th colspan="3" class="commonHeader"> 1007 1017 <div id="eventActions"> 1008 1018 <xsl:choose> … … 1046 1056 </div> 1047 1057 <xsl:choose> 1048 <xsl:when test="kind='0'"> 1049 Private Event 1050 </xsl:when> 1051 <xsl:when test="kind='1'"> 1052 Public Event 1058 <xsl:when test="calendar/owner = /bedework/user"> 1059 Personal Event 1053 1060 </xsl:when> 1054 1061 <xsl:otherwise> 1055 Public Event from Subscription1062 Public Event 1056 1063 </xsl:otherwise> 1057 1064 </xsl:choose> 1058 1065 </th> 1059 1066 </tr> 1060 <tr> 1061 <th class="fieldname">Event:</th> 1062 <th class="fieldval"> 1063 <xsl:choose> 1064 <xsl:when test="link != ''"> 1065 <xsl:variable name="link" select="link"/> 1066 <a href="{$link}"> 1067 <!--<tr> 1068 <td class="fieldname">Title:</td> 1069 <td class="fieldval"> 1070 <strong> 1071 <xsl:choose> 1072 <xsl:when test="link != ''"> 1073 <xsl:variable name="link" select="link"/> 1074 <a href="{$link}"> 1075 <xsl:value-of select="summary"/> 1076 </a> 1077 </xsl:when> 1078 <xsl:otherwise> 1067 1079 <xsl:value-of select="summary"/> 1068 </a> 1069 </xsl:when> 1070 <xsl:otherwise> 1071 <xsl:value-of select="summary"/> 1072 </xsl:otherwise> 1073 </xsl:choose> 1074 </th> 1075 <th class="icon" rowspan="2"> 1076 <xsl:variable name="icalName" select="concat($guid,'.ics')"/> 1077 <a href="{$eventView}?subid={$subscriptionId}&&nocache=no&skinName=ical&contentType=text/calendar&contentName={$icalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> 1078 <img src="{$resourcesRoot}/resources/std-ical-icon.gif" width="20" height="26" border="0" align="left" alt="Download this event"/> 1079 </a><!-- <br /> 1080 [<a href="">help</a>] --> 1081 </th> 1082 </tr> 1080 </xsl:otherwise> 1081 </xsl:choose> 1082 </strong> 1083 </td> 1084 </tr>--> 1083 1085 <tr> 1084 1086 <td class="fieldname">When:</td> … … 1091 1093 <xsl:if test="end/time != ''"><span class="time"><xsl:value-of select="end/time"/></span></xsl:if> 1092 1094 </td> 1095 <th class="icon" rowspan="2"> 1096 <xsl:variable name="icalName" select="concat($guid,'.ics')"/> 1097 <a href="{$eventView}?subid={$subscriptionId}&&nocache=no&skinName=ical&contentType=text/calendar&contentName={$icalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> 1098 <img src="{$resourcesRoot}/resources/std-ical-icon.gif" width="20" height="26" border="0" align="left" alt="Download this event"/> 1099 </a><!-- <br /> 1100 [<a href="">help</a>] --> 1101 </th> 1093 1102 </tr> 1094 1103 <tr> … … 1175 1184 <input type="hidden" name="confirmationid" value="{$confId}"/> 1176 1185 <input type="hidden" name="endType" value="date"/> 1186 <h2>Add Event</h2> 1177 1187 <table id="commonTable" cellspacing="0"> 1178 <tr>1179 <th colspan="2" id="commonHeader">Add Event</th>1180 </tr>1181 1188 <tr> 1182 1189 <td class="fieldname"> … … 1513 1520 <input type="hidden" name="confirmationid" value="{$confId}"/> 1514 1521 <input type="hidden" name="endType" value="date"/> 1522 <h2>Edit Event</h2> 1515 1523 <table id="commonTable" cellspacing="0"> 1516 1524 <tr> 1517 <th colspan="2" id="commonHeader">1525 <th colspan="2" class="commonHeader"> 1518 1526 <div id="eventActions"> 1519 1527 <xsl:variable name="subscriptionId" select="subscriptionId"/> … … 1528 1536 </a> 1529 1537 </div> 1530 EditEvent1538 Personal Event 1531 1539 </th> 1532 1540 </tr> … … 1791 1799 <!--+++++++++++++++ Subscriptions ++++++++++++++++++++--> 1792 1800 <xsl:template match="subscriptions"> 1801 <h2>Manage Subscriptions</h2> 1793 1802 <table id="subsTable"> 1794 1803 <tr> … … 1845 1854 1846 1855 <xsl:template match="subscription" mode="addSubscription"> 1847 <h 2>Add New Subscription</h2>1856 <h3>Add New Subscription</h3> 1848 1857 <p class="note">*the subsciption name must be unique</p> 1849 1858 <form name="subscribeForm" action="{$subscriptions-subscribe}" method="post"> 1850 <table class="commonTable">1851 <tr> 1852 <t h>Name*:</th>1859 <table id="commonTable" cellspacing="0"> 1860 <tr> 1861 <td class="fieldname">Name:</td> 1853 1862 <td> 1854 1863 <xsl:variable name="subName" select="name"/> … … 1858 1867 <xsl:if test="internal='false'"> 1859 1868 <tr> 1860 <t h>Uri:</th>1869 <td class="fieldname">Uri:</td> 1861 1870 <td> 1862 1871 <xsl:variable name="subUri" select="uri"/> … … 1866 1875 </xsl:if> 1867 1876 <tr> 1868 <t h>Display:</th>1877 <td class="fieldname">Display:</td> 1869 1878 <td> 1870 1879 <input type="radio" value="true" name="subscription.display"/> yes … … 1873 1882 </tr> 1874 1883 <tr> 1875 <t h>Style:</th>1884 <td class="fieldname">Style:</td> 1876 1885 <td> 1877 1886 <xsl:variable name="subStyle" select="style"/> … … 1880 1889 </tr> 1881 1890 <!--<tr> 1882 <t h>Unremovable:</th>1891 <td class="fieldname">Unremovable:</td> 1883 1892 <td> 1884 1893 <input type="radio" value="true" name="unremoveable" size="60"/> true … … 1900 1909 1901 1910 <xsl:template match="subscription" mode="modSubscription"> 1902 <h 2>Modify Subscription</h2>1911 <h3>Modify Subscription</h3> 1903 1912 <form name="subscribeForm" action="{$subscriptions-subscribe}" method="post"> 1904 <table class="commonTable">1905 <tr> 1906 <t h>Name*:</th>1913 <table id="commonTable" cellspacing="0"> 1914 <tr> 1915 <td class="fieldname">Name:</td> 1907 1916 <td> 1908 1917 <xsl:value-of select="name"/> … … 1914 1923 <xsl:when test="internal='false'"> 1915 1924 <tr> 1916 <t h>Uri:</th>1925 <td class="fieldname">Uri:</td> 1917 1926 <td> 1918 1927 <xsl:variable name="subUri" select="uri"/> … … 1923 1932 <xsl:otherwise> 1924 1933 <tr> 1925 <t h>Uri:</th>1934 <td class="fieldname">Uri:</td> 1926 1935 <td> 1927 1936 <xsl:value-of select="uri"/> … … 1931 1940 </xsl:choose> 1932 1941 <tr> 1933 <t h>Display:</th>1942 <td class="fieldname">Display:</td> 1934 1943 <td> 1935 1944 <xsl:choose> … … 1946 1955 </tr> 1947 1956 <tr> 1948 <t h>Style:</th>1957 <td class="fieldname">Style:</td> 1949 1958 <td> 1950 1959 <xsl:variable name="subStyle" select="style"/> … … 1953 1962 </tr> 1954 1963 <!--<tr> 1955 <t h>Unremovable:</th>1964 <td class="fieldname">Unremovable:</td> 1956 1965 <td> 1957 1966 <xsl:choose> … … 2042 2051 <table id="commonTable" cellspacing="0"> 2043 2052 <tr> 2044 <th colspan="2" id="commonHeader">Alarm options</th>2053 <th colspan="2" class="commonHeader">Alarm options</th> 2045 2054 </tr> 2046 2055 <tr> … … 2113 2122 <xsl:template name="upload"> 2114 2123 <form method="post" action="{$upload}" id="standardForm" enctype="multipart/form-data"> 2124 <h2>Upload iCAL File</h2> 2115 2125 <table id="commonTable" cellspacing="0"> 2116 2126 <tr> 2117 <tr>2118 <th colspan="2" id="commonHeader">Upload iCAL File</th>2119 </tr>2120 2127 <td class="fieldname"> 2121 2128 Filename: … … 2142 2149 <table id="commonTable" cellspacing="0"> 2143 2150 <tr> 2144 <th colspan="2" id="commonHeader">Update email options</th>2151 <th colspan="2" class="commonHeader">Update email options</th> 2145 2152 </tr> 2146 2153 <tr> … … 2176 2183 <form name="addLocationForm" method="post" action="{$addLocation}" id="standardForm"> 2177 2184 <input type="hidden" name="confirmationid" value="{$confId}"/> 2185 <h2>Manage Locations</h2> 2178 2186 <table id="commonTable" cellspacing="0"> 2179 2187 <tr> 2180 <th colspan="2" id="commonHeader">Manage Locations</th> 2181 </tr> 2182 <tr> 2183 <th colspan="2">Add Location</th> 2188 <th class="commonHeader" colspan="2">Add Location</th> 2184 2189 </tr> 2185 2190 <tr> … … 2215 2220 </tr> 2216 2221 <tr> 2217 <th c olspan="2">Edit/Delete Locations</th>2222 <th class="commonHeader" colspan="2">Edit/Delete Locations</th> 2218 2223 </tr> 2219 2224 <td colspan="2" class="plain"> … … 2237 2242 <input type="hidden" name="updateLocation" value="true"/> 2238 2243 <input type="hidden" name="confirmationid" value="{$confId}"/> 2244 <h2>Manage Locations</h2> 2239 2245 <table id="commonTable" cellspacing="0"> 2240 2246 <tr> 2241 <th colspan="2" id="commonHeader">2247 <th colspan="2" class="commonHeader"> 2242 2248 <xsl:variable name="locId" select="/bedework/locationform/form/id"/> 2243 2249 <div id="eventActions"> … … 2323 2329 <td class="leftCell"> 2324 2330 <a href="http://www.bedework.org/">Bedework Calendar</a> | 2331 <a href="?noxslt=yes">show XML</a> | 2325 2332 <a href="?refreshXslt=yes">refresh XSLT</a> 2326 2333 </td> trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/errors.xsl
r329 r332 39 39 <p>Cannot remove: the subscription is referenced by View "<em><xsl:value-of select="param"/></em>"</p> 40 40 </xsl:when> 41 <xsl:when test="id='org.bedework.exception.duplicatesubscription'"> 42 <p>A subscription by that name already exists.</p> 43 </xsl:when> 41 44 <xsl:otherwise> 42 45 <p><xsl:value-of select="id"/> = <xsl:value-of select="param"/></p>
