Changeset 383
- Timestamp:
- 04/19/06 13:36:51
- Files:
-
- trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/default.css (modified) (12 diffs)
- trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl (modified) (18 diffs)
- trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/errors.xsl (modified) (2 diffs)
- trunk/calendar3/webclient/war/docs/calendar/displayCalendarCommon.jsp (modified) (1 diff)
- trunk/calendar3/webclient/war/docs/header.jsp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/default.css
r382 r383 385 385 386 386 /* table below is used for almost all forms */ 387 #commonTable{387 table.common { 388 388 width: 100%; 389 389 font-size: 0.9em; … … 391 391 padding: 0px; 392 392 } 393 #commonTableth {393 table.common th { 394 394 text-align: left; 395 395 vertical-align: top; … … 399 399 white-space: nowrap; 400 400 } 401 #commonTableth.icon {401 table.common th.icon { 402 402 margin: 0em; 403 403 vertical-align: middle; … … 407 407 color: black; 408 408 } 409 #commonTableth.commonHeader {409 table.common th.commonHeader { 410 410 background-color: #666; 411 411 color: #eee; … … 414 414 font-weight: normal; 415 415 } 416 #commonTableth.commonHeader a:link,417 #commonTableth.commonHeader a:active,418 #commonTableth.commonHeader a:visited {416 table.common th.commonHeader a:link, 417 table.common th.commonHeader a:active, 418 table.common th.commonHeader a:visited { 419 419 background-color: inherit; 420 420 color: #eee; … … 422 422 text-align: left; 423 423 } 424 #commonTableth.commonHeader a:hover {424 table.common th.commonHeader a:hover { 425 425 background-color: inherit; 426 426 color: #ff9; … … 428 428 text-align: left; 429 429 } 430 #commonTabletd.filler {430 table.common td.filler { 431 431 height: 200px; 432 432 } 433 #commonTabletd.fieldval {433 table.common td.fieldval { 434 434 margin: 0em; 435 435 vertical-align: top; 436 436 padding: 0.5em 0.5em 0.2em 1em; 437 437 } 438 #commonTabletd.fieldname {438 table.common td.fieldname { 439 439 width: 80px; 440 440 margin: 0em; … … 445 445 white-space: nowrap; 446 446 } 447 #commonTabletd.eventLinks {447 table.common td.eventLinks { 448 448 background-color: #ddd; 449 449 color: #eee; … … 451 451 text-align: center; 452 452 } 453 #commonTable#eventActions {453 table.common #eventActions { 454 454 float: right; 455 455 clear: none; 456 456 } 457 #commonTabletd.allField {457 table.common td.allField { 458 458 white-space: nowrap; 459 459 text-align: right; … … 463 463 padding: 0.2em; 464 464 } 465 #commonTable.dateFields {465 table.common .dateFields { 466 466 display: inline; 467 467 } 468 #commonTable.timeFields {468 table.common .timeFields { 469 469 display: inline; 470 470 margin-left: 1em; 471 471 } 472 #commonTable.dateStartEndBox {472 table.common .dateStartEndBox { 473 473 border: 1px solid #ccb; 474 474 margin: 4px; 475 475 padding: 4px; 476 476 } 477 #commonTable.dateStartEndBox strong {477 table.common .dateStartEndBox strong { 478 478 display: block; 479 479 } 480 #commonTable.startDateLabel {480 table.common .startDateLabel { 481 481 margin-left: 26px; 482 482 } 483 #commonTablediv.durationBox {483 table.common div.durationBox { 484 484 border: 1px solid #ccb; 485 485 display: inline; … … 487 487 padding: 4px; 488 488 } 489 #commonTable.durationSpacerText {489 table.common .durationSpacerText { 490 490 font-weight: bold; 491 491 margin: 0 1em; … … 1006 1006 background-color: yellow; 1007 1007 text-decoration: none; 1008 } 1009 #sharingBox { 1010 margin: 2em 0; 1011 border-top: 1px solid #333; 1012 } 1013 #sharingBox h3 { 1014 padding: 1em 0 0.5em 0; 1015 } 1016 #sharingBox h5 { 1017 padding: 1em 0 0.5em 0; 1018 } 1019 #sharingBox ul { 1020 font-size: 0.8em; 1021 margin: 0 1em; 1022 } 1023 #shareForm { 1024 margin: 1em 0; 1025 padding: 0.5em; 1026 border-top: 1px dotted #666; 1008 1027 } 1009 1028 /* Footer */ trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl
r382 r383 59 59 <xsl:variable name="upload" select="/bedework/urlPrefixes/upload"/> 60 60 <xsl:variable name="getFreeBusy" select="/bedework/urlPrefixes/getFreeBusy/a/@href"/> 61 <xsl:variable name="setAccess" select="/bedework/urlPrefixes/setAccess/a/@href"/> 61 62 <!-- calendars --> 62 63 <xsl:variable name="fetchPublicCalendars" select="/bedework/urlPrefixes/fetchPublicCalendars"/> … … 1017 1018 </xsl:choose> 1018 1019 </h2> 1019 <table id="commonTable" cellspacing="0">1020 <table class="common" cellspacing="0"> 1020 1021 <tr> 1021 1022 <th colspan="3" class="commonHeader"> … … 1248 1249 <input type="hidden" name="endType" value="date"/> 1249 1250 <h2>Add Event</h2> 1250 <table id="commonTable" cellspacing="0">1251 <table class="common" cellspacing="0"> 1251 1252 <tr> 1252 1253 <td class="fieldname"> … … 1614 1615 <input type="hidden" name="endType" value="date"/> 1615 1616 <h2>Edit Event</h2> 1616 <table id="commonTable" cellspacing="0">1617 <table class="common" cellspacing="0"> 1617 1618 <tr> 1618 1619 <th colspan="2" class="commonHeader"> … … 2109 2110 <h3>Add Calendar / Folder</h3> 2110 2111 <form name="addCalForm" action="{$calendar-update}"> 2111 <table id="commonTable">2112 <table class="common"> 2112 2113 <tr> 2113 2114 <th>Name:</th> … … 2159 2160 </table> 2160 2161 </form> 2162 2163 <div id="sharingBox"> 2164 <h3>Sharing</h3> 2165 Sharing may be added to a calendar once created. 2166 </div> 2167 2161 2168 </xsl:template> 2162 2169 … … 2171 2178 </xsl:choose> 2172 2179 <form name="modCalForm" action="{$calendar-update}"> 2173 <table id="commonTable"> 2174 <tr> 2175 <th>Path:</th> 2176 <td> 2180 <table class="common"> 2181 <tr> 2182 <th class="commonHeader" colspan="2"> 2177 2183 <xsl:value-of select="path"/> 2178 </t d>2184 </th> 2179 2185 </tr> 2180 2186 <tr> … … 2249 2255 </table> 2250 2256 </form> 2257 <div id="sharingBox"> 2258 <h3>Sharing</h3> 2259 <table class="common"> 2260 <tr> 2261 <th class="commonHeader" colspan="2">Current access:</th> 2262 </tr> 2263 <tr> 2264 <td class="fieldName">Owner:</td> 2265 <td><xsl:value-of select="name(acl/ace[principal/property/owner]/grant/*)"/></td> 2266 </tr> 2267 <xsl:if test="acl/ace/principal/href"> 2268 <tr> 2269 <td class="fieldName">Users:</td> 2270 <td> 2271 <xsl:for-each select="acl/ace[principal/href]"> 2272 <xsl:value-of select="principal/href"/> (<xsl:value-of select="name(grant/*)"/>)<br/> 2273 </xsl:for-each> 2274 </td> 2275 </tr> 2276 </xsl:if> 2277 </table> 2278 <form name="calendarShareForm" action="{$setAccess}" id="shareForm"> 2279 <xsl:variable name="id" select="id"/> 2280 <input type="hidden" name="calId" value="{$id}"/> 2281 <p> 2282 Share this calendar with:<br/> 2283 <input type="text" name="who" size="20"/> 2284 <input type="radio" value="user" name="whoType" checked="checked"/> user 2285 <input type="radio" value="group" name="whoType"/> group 2286 </p> 2287 <p> 2288 Access rights:<br/> 2289 <input type="radio" value="r" name="how" checked="checked"/> read<br/> 2290 <input type="radio" value="w" name="how"/> write<br/> 2291 <input type="radio" value="f" name="how"/> free/busy only<br/> 2292 <input type="radio" value="d" name="how"/> default (reset access) 2293 </p> 2294 <input type="submit" name="submit" value="Submit"/> 2295 </form> 2296 </div> 2251 2297 </xsl:template> 2252 2298 … … 2309 2355 <xsl:template match="currentCalendar" mode="displayCalendar"> 2310 2356 <h2>Calendar Information</h2> 2311 <table id="commonTable">2357 <table class="common"> 2312 2358 <tr> 2313 2359 <th>Name:</th> … … 2355 2401 2356 2402 <form name="delCalForm" action="{$calendar-delete}"> 2357 <table id="commonTable">2403 <table class="common"> 2358 2404 <tr> 2359 2405 <th>Path:</th> … … 2490 2536 <p class="note">*the subsciption name must be unique</p> 2491 2537 <form name="subscribeForm" action="{$subscriptions-subscribe}" method="post"> 2492 <table id="commonTable" cellspacing="0">2538 <table class="common" cellspacing="0"> 2493 2539 <tr> 2494 2540 <td class="fieldname">Name:</td> … … 2544 2590 <h3>Modify Subscription</h3> 2545 2591 <form name="subscribeForm" action="{$subscriptions-subscribe}" method="post"> 2546 <table id="commonTable" cellspacing="0">2592 <table class="common" cellspacing="0"> 2547 2593 <tr> 2548 2594 <td class="fieldname">Name:</td> … … 2627 2673 <xsl:template name="subscriptionList"> 2628 2674 <h3>Current subscriptions</h3> 2629 <table id="commonTable" cellspacing="0">2675 <table class="common" cellspacing="0"> 2630 2676 <tr> 2631 2677 <th>Name</th> … … 2698 2744 <form method="get" action="{$setAlarm}" id="standardForm"> 2699 2745 <input type="hidden" name="updateAlarmOptions" value="true"/> 2700 <table id="commonTable" cellspacing="0">2746 <table class="common" cellspacing="0"> 2701 2747 <tr> 2702 2748 <th colspan="2" class="commonHeader">Alarm options</th> … … 2772 2818 <form method="post" action="{$upload}" id="standardForm" enctype="multipart/form-data"> 2773 2819 <h2>Upload iCAL File</h2> 2774 <table id="commonTable" cellspacing="0">2820 <table class="common" cellspacing="0"> 2775 2821 <tr> 2776 2822 <td class="fieldname"> … … 2796 2842 <form method="get" action="{$mailEvent}" id="standardForm"> 2797 2843 <input type="hidden" name="updateEmailOptions" value="true"/> 2798 <table id="commonTable" cellspacing="0">2844 <table class="common" cellspacing="0"> 2799 2845 <tr> 2800 2846 <th colspan="2" class="commonHeader">Update email options</th> … … 2833 2879 <input type="hidden" name="confirmationid" value="{$confId}"/> 2834 2880 <h2>Manage Locations</h2> 2835 <table id="commonTable" cellspacing="0">2881 <table class="common" cellspacing="0"> 2836 2882 <tr> 2837 2883 <th class="commonHeader" colspan="2">Add Location</th> … … 2892 2938 <input type="hidden" name="confirmationid" value="{$confId}"/> 2893 2939 <h2>Manage Locations</h2> 2894 <table id="commonTable" cellspacing="0">2940 <table class="common" cellspacing="0"> 2895 2941 <tr> 2896 2942 <th colspan="2" class="commonHeader"> trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/errors.xsl
r342 r383 27 27 <p>Missing event's calendar id (required).</p> 28 28 </xsl:when> 29 <xsl:when test="id='org.bedework.client.error.unknowncalendar'"> 30 <p>Unknown calendar.</p> 31 </xsl:when> 29 32 <xsl:when test="id='org.bedework.client.error.location.referenced'"> 30 33 <p>Location is in use. It cannot be deleted while referenced by an event.</p> … … 45 48 <p>No default view defined</p> 46 49 </xsl:when> 50 <xsl:when test="id='org.bedework.client.error.unimplemented'"> 51 <p>The feature you requested is currently unimplemented.</p> 52 </xsl:when> 47 53 <xsl:otherwise> 48 54 <p><xsl:value-of select="id"/> = <xsl:value-of select="param"/></p> trunk/calendar3/webclient/war/docs/calendar/displayCalendarCommon.jsp
r319 r383 1 1 <%@ taglib uri='struts-bean' prefix='bean' %> 2 2 <%@ taglib uri='struts-logic' prefix='logic' %> 3 <%@ taglib uri=' struts-html' prefix='html' %>3 <%@ taglib uri='bedework' prefix='bw' %> 4 4 5 5 <bean:define id="curcal" name="calForm" property="calendar"/> 6 6 <currentCalendar> 7 <id><bean:write name="curcal" property="id" /></id> 8 <name><bean:write name="curcal" property="name" /></name> 9 <summary><bean:write name="curcal" property="summary" /></summary> 10 <desc><bean:write name="curcal" property="description" /></desc> 11 <path><bean:write name="curcal" property="path" /></path> 12 <calendarCollection><bean:write name="curcal" property="calendarCollection" /></calendarCollection> 13 <mailListId><bean:write name="calendar" property="mailListId" /></mailListId> 7 <id><bean:write name="calendar" property="id" /></id> 8 <bw:emitText name="calendar" property="name" /> 9 <bw:emitText name="calendar" property="path" /> 10 <bw:emitText name="calendar" property="description" tagName="desc" /> 11 <calendarCollection><bean:write name="calendar" property="calendarCollection" /></calendarCollection> 12 <bw:emitText name="calendar" property="mailListId" /> 13 <bw:emitCurrentPrivs name="calendar" property="currentAccess" /> 14 <bw:emitAcl name="calendar" property="currentAccess" /> 14 15 </currentCalendar> trunk/calendar3/webclient/war/docs/header.jsp
r381 r383 140 140 141 141 <getFreeBusy><genurl:link page="/getFreeBusy.do?b=de"/></getFreeBusy> 142 <setAccess><genurl:link page="/setAccess.do?b=de"/></setAccess> 142 143 143 144 <calendar>
