Changeset 1002
- Timestamp:
- 09/13/06 13:48:05
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.css
r999 r1002 409 409 padding: 0 0.5em; 410 410 border-right: 1px solid #999; 411 color: black; 412 background: #ddd; 411 413 } 412 414 ul.submenu li.selected { … … 419 421 ul.submenu li a:active, 420 422 ul.submenu li a:visited { 423 margin: 0; 424 padding: 0; 421 425 } 422 426 #standardForm { … … 551 555 table.common .padMeTop { 552 556 padding-top: 1em !important; 557 } 558 table.common .padMe { 559 padding: 1em !important; 553 560 } 554 561 #bwEventCalDisplay { trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl
r999 r1002 375 375 </a> 376 376 </h3> 377 <!-- normal calendars --> 377 378 <ul class="calendarTree"> 378 <xsl:apply-templates select="/bedework/myCalendars/calendars/calendar" mode="myCalendars"/> 379 <xsl:apply-templates select="/bedework/myCalendars/calendars/calendar/calendar[calType < 2]" mode="myCalendars"/> 380 </ul> 381 <!-- special calendars: inbox, outbox, and trash --> 382 <ul class="calendarTree"> 383 <xsl:apply-templates select="/bedework/myCalendars/calendars/calendar/calendar[calType > 1]" mode="myCalendars"/> 379 384 </ul> 380 385 … … 2416 2421 <xsl:template match="calendar" mode="myCalendars"> 2417 2422 <!-- supress Inbox and Outbox for the moment --> 2418 <xsl:if test="(name != 'Inbox') and (name != 'Outbox') and (name != 'Deleted')"> 2423 <!--<xsl:if test="(name != 'Inbox') and (name != 'Outbox') and (name != 'Deleted')">--> 2424 <xsl:if test="name != 'Deleted'"> 2419 2425 <xsl:variable name="id" select="id"/> 2420 < xsl:variable name="itemClass">2421 <xsl: choose>2422 <xsl: when test="/bedework/selectionState/selectionType = 'calendar'2423 and path = /bedework/selectionState/subscriptions/subscription/calendar/path">selected</xsl:when>2424 <xsl:when test="name='Trash'">trash</xsl:when>2425 <xsl:when test="calendarCollection='false'">folder</xsl:when>2426 <xsl:otherwise>calendar</xsl:otherwise>2427 </xsl:choose>2428 </xsl:variable>2429 <li class="{$itemClass}">2426 <li> 2427 <xsl:attribute name="class"> 2428 <xsl:choose> 2429 <xsl:when test="/bedework/selectionState/selectionType = 'calendar' 2430 and path = /bedework/selectionState/subscriptions/subscription/calendar/path">selected</xsl:when> 2431 <xsl:when test="name='Trash'">trash</xsl:when> 2432 <xsl:when test="calendarCollection='false'">folder</xsl:when> 2433 <xsl:otherwise>calendar</xsl:otherwise> 2434 </xsl:choose> 2435 </xsl:attribute> 2430 2436 <xsl:variable name="calPath" select="path"/> 2431 2437 <a href="{$setSelection}&calUrl={$calPath}"> … … 2454 2460 <xsl:if test="(name != 'Inbox') and (name != 'Outbox') and (name != 'Deleted')"> 2455 2461 <xsl:variable name="calPath" select="encodedPath"/> 2456 < xsl:variable name="itemClass">2457 <xsl: choose>2458 <xsl: when test="calendarCollection='false'">folder</xsl:when>2459 <xsl:otherwise>calendar</xsl:otherwise>2460 </xsl:choose>2461 </xsl:variable>2462 <li class="{$itemClass}">2462 <li> 2463 <xsl:attribute name="class"> 2464 <xsl:choose> 2465 <xsl:when test="calendarCollection='false'">folder</xsl:when> 2466 <xsl:otherwise>calendar</xsl:otherwise> 2467 </xsl:choose> 2468 </xsl:attribute> 2463 2469 <a href="{$calendar-fetchForUpdate}&calPath={$calPath}" title="update"> 2464 2470 <xsl:value-of select="name"/> … … 2484 2490 <xsl:if test="(name != 'Inbox') and (name != 'Outbox') and (name != 'Deleted')"> 2485 2491 <xsl:variable name="calPath" select="encodedPath"/> 2486 < xsl:variable name="itemClass">2487 <xsl: choose>2488 <xsl: when test="calendarCollection='false'">folder</xsl:when>2489 <xsl:otherwise>calendar</xsl:otherwise>2490 </xsl:choose>2491 </xsl:variable>2492 <li class="{$itemClass}">2492 <li> 2493 <xsl:attribute name="class"> 2494 <xsl:choose> 2495 <xsl:when test="calendarCollection='false'">folder</xsl:when> 2496 <xsl:otherwise>calendar</xsl:otherwise> 2497 </xsl:choose> 2498 </xsl:attribute> 2493 2499 <a href="{$calendar-fetchForDisplay}&calPath={$calPath}" title="display"> 2494 2500 <xsl:value-of select="name"/> … … 2552 2558 <xsl:template match="calendar" mode="selectCalForEventCalTree"> 2553 2559 <!-- supress Inbox and Outbox for the moment --> 2554 <xsl:if test="(name != 'Inbox') and (name != 'Outbox') and (name != 'Deleted')"> 2560 <!--<xsl:if test="(name != 'Inbox') and (name != 'Outbox') and (name != 'Deleted')">--> 2561 <xsl:if test="name != 'Deleted'"> 2555 2562 <xsl:variable name="id" select="id"/> 2556 < xsl:variable name="itemClass">2557 <xsl: choose>2558 <xsl: when test="/bedework/selectionState/selectionType = 'calendar'2559 and name = /bedework/selectionState/subscriptions/subscription/calendar/name">selected</xsl:when>2560 <xsl:when test="name='Trash'">trash</xsl:when>2561 <xsl:when test="calendarCollection='false'">folder</xsl:when>2562 <xsl:otherwise>calendar</xsl:otherwise>2563 </xsl:choose>2564 </xsl:variable>2565 <li class="{$itemClass}">2563 <li> 2564 <xsl:attribute name="class"> 2565 <xsl:choose> 2566 <xsl:when test="/bedework/selectionState/selectionType = 'calendar' 2567 and name = /bedework/selectionState/subscriptions/subscription/calendar/name">selected</xsl:when> 2568 <xsl:when test="name='Trash'">trash</xsl:when> 2569 <xsl:when test="calendarCollection='false'">folder</xsl:when> 2570 <xsl:otherwise>calendar</xsl:otherwise> 2571 </xsl:choose> 2572 </xsl:attribute> 2566 2573 <xsl:variable name="calPath" select="path"/> 2567 2574 <xsl:variable name="userPath">user/<xsl:value-of select="/bedework/userid"/>/</xsl:variable> … … 3985 3992 </tr> 3986 3993 <tr> 3987 <td >3994 <td class="padMe"> 3988 3995 <form name="eventForm" method="post" action="{$prefs-setAccess}"> 3989 3996 <input type="hidden" name="what" value="in"/> 3990 <input type="text" name="who" width="40"/> 3991 <input type="radio" name="whoType" value="user" checked="checked"/>user 3992 <input type="radio" name="whoType" value="group"/>group 3993 <input type="radio" name="whoType" value="owner"/>owner 3994 3995 <p>may send the following to me:</p> 3997 <p> 3998 <input type="text" name="who" width="40"/> 3999 <input type="radio" name="whoType" value="user" checked="checked"/>user 4000 <input type="radio" name="whoType" value="group"/>group 4001 </p> 4002 <p> 4003 <strong>or</strong> 4004 <input type="radio" name="whoType" value="owner"/>owner 4005 <input type="radio" name="whoType" value="auth"/>authenticated users 4006 <input type="radio" name="whoType" value="other"/>anyone 4007 </p> 4008 4009 <p><strong>may send the following to me:</strong></p> 3996 4010 3997 4011 <input type="hidden" name="how" value="S"/> … … 4016 4030 </xsl:for-each> 4017 4031 </td> 4018 <td class="leftBorder ">4032 <td class="leftBorder padMe"> 4019 4033 <form name="eventForm" method="post" action="{$prefs-setAccess}"> 4020 4034 <input type="hidden" name="what" value="out"/> 4021 <input type="text" name="who" width="40"/> 4022 <input type="radio" name="whoType" value="user" checked="checked"/>user 4023 <input type="radio" name="whoType" value="group"/>group 4024 <input type="radio" name="whoType" value="owner"/>owner 4025 4026 <p>may send the following on my behalf:</p> 4035 <p> 4036 <input type="text" name="who" width="40"/> 4037 <input type="radio" name="whoType" value="user" checked="checked"/>user 4038 <input type="radio" name="whoType" value="group"/>group 4039 </p> 4040 <p> 4041 <strong>or</strong> 4042 <input type="radio" name="whoType" value="owner"/>owner 4043 <input type="radio" name="whoType" value="auth"/>authenticated users 4044 <input type="radio" name="whoType" value="other"/>anyone 4045 </p> 4046 4047 <p><strong>may send the following on my behalf:</strong></p> 4027 4048 4028 4049 <input type="hidden" name="how" value="S"/>
