Changeset 1983
- Timestamp:
- 12/05/08 00:32:46
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.css
r1979 r1983 1551 1551 padding-left: 0; 1552 1552 } 1553 #bedework li.aliasFolder { 1554 list-style-image: url(../../resources/calIconAliasFolder-sm.gif); 1555 font-style: italic; 1556 margin-left: 0; 1557 padding-left: 0; 1558 } 1553 1559 #bedework li.subscription li { 1554 1560 font-style: normal; trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl
r1982 r1983 4298 4298 <xsl:when test="/bedework/selectionState/selectionType = 'calendar' 4299 4299 and path = /bedework/selectionState/calendar/path">selected</xsl:when> 4300 <xsl:when test="isSubscription = 'true'"> 4301 <xsl:choose> 4302 <xsl:when test="calType = '0'">aliasFolder</xsl:when> 4303 <xsl:otherwise>alias</xsl:otherwise> 4304 </xsl:choose> 4305 </xsl:when> 4300 4306 <xsl:when test="calType = '0'">folder</xsl:when> 4301 <xsl:when test="calType = '7' or calType = '8'">alias</xsl:when>4302 4307 <xsl:otherwise>calendar</xsl:otherwise> 4303 4308 </xsl:choose> … … 4378 4383 <xsl:attribute name="class"> 4379 4384 <xsl:choose> 4385 <xsl:when test="isSubscription = 'true'"> 4386 <xsl:choose> 4387 <xsl:when test="calType = '0'">aliasFolder</xsl:when> 4388 <xsl:otherwise>alias</xsl:otherwise> 4389 </xsl:choose> 4390 </xsl:when> 4380 4391 <xsl:when test="calType = '0'">folder</xsl:when> 4381 <xsl:when test="calType = '7' or calType = '8'">alias</xsl:when>4382 4392 <xsl:otherwise>calendar</xsl:otherwise> 4383 4393 </xsl:choose> … … 4386 4396 <xsl:value-of select="name"/> 4387 4397 </a> 4388 <xsl:if test="calType = '0' ">4398 <xsl:if test="calType = '0' and isSubscription = 'false'"> 4389 4399 <xsl:text> </xsl:text> 4390 4400 <a href="{$calendar-initAdd}&calPath={$calPath}" title="add a calendar or folder"> … … 4392 4402 </a> 4393 4403 </xsl:if> 4394 <xsl:if test="calendar ">4404 <xsl:if test="calendar and isSubscription='false'"> 4395 4405 <ul> 4396 4406 <xsl:apply-templates select="calendar[number(calType) < 2 or number(calType) = 4 or number(calType) > 6]" mode="listForUpdate"> … … 4408 4418 <xsl:attribute name="class"> 4409 4419 <xsl:choose> 4420 <xsl:when test="isSubscription = 'true'">alias</xsl:when> 4410 4421 <xsl:when test="calType = '0'">folder</xsl:when> 4411 <xsl:when test="calType = '7' or calType = '8'">alias</xsl:when>4412 4422 <xsl:otherwise>calendar</xsl:otherwise> 4413 4423 </xsl:choose> … … 4485 4495 <xsl:when test="/bedework/selectionState/selectionType = 'calendar' 4486 4496 and name = /bedework/selectionState/subscriptions/subscription/calendar/name">selected</xsl:when> 4497 <xsl:when test="isSubscription = 'true'">alias</xsl:when> 4487 4498 <xsl:when test="name='Trash'">trash</xsl:when> 4488 4499 <xsl:when test="calendarCollection='false'">folder</xsl:when> … … 4558 4569 <xsl:choose> 4559 4570 <xsl:when test="name='Trash'">trash</xsl:when> 4571 <xsl:when test="isSubscription = 'true'">alias</xsl:when> 4560 4572 <xsl:when test="calendarCollection='false'">folder</xsl:when> 4561 4573 <xsl:otherwise>calendar</xsl:otherwise> … … 4583 4595 </xsl:template> 4584 4596 4585 <xsl:template match="currentCalendar" mode="modCalendar"> 4586 <xsl:variable name="calPath" select="path"/> 4587 <xsl:variable name="calPathEncoded" select="encodedPath"/> 4588 <xsl:choose> 4589 <xsl:when test="creating='true'"> 4590 <h3>Add Calendar, Folder, or Subscription</h3> 4591 </xsl:when> 4592 <xsl:when test="isSubscription='true'"> 4593 <h3>Modify Subscription</h3> 4594 </xsl:when> 4595 <xsl:when test="calendarCollection='true'"> 4596 <h3>Modify Calendar</h3> 4597 </xsl:when> 4598 <xsl:otherwise> 4599 <h3>Modify Folder</h3> 4600 </xsl:otherwise> 4601 </xsl:choose> 4597 <xsl:template match="currentCalendar" mode="addCalendar"> 4598 <h3>Add Calendar, Folder, or Subscription</h3> 4602 4599 <form name="addCalForm" method="post" action="{$calendar-update}" onsubmit="setCalendarAlias(this)"> 4603 4600 <table class="common"> … … 4749 4746 </td> 4750 4747 </tr> 4751 < tr>4748 <!-- tr> 4752 4749 <th>Mailing List ID:</th> 4753 4750 <td> 4754 4751 <xsl:value-of select="mailListId"/> 4755 4752 </td> 4756 </tr >4753 </tr --> 4757 4754 <tr> 4758 4755 <th>Summary:</th> … … 4775 4772 </td> 4776 4773 </tr> 4777 <tr> 4778 <th>Calendar/Folder:</th> 4774 <xsl:if test="isSubscription = 'true'"> 4775 <tr> 4776 <th>URL:</th> 4777 <td> 4778 <input name="aliasUri" value="" size="40"> 4779 <xsl:attribute name="value"><xsl:value-of select="aliasUri"/></xsl:attribute> 4780 </input> 4781 </td> 4782 </tr> 4783 <xsl:if test="externalSub = 'true'"> 4784 <tr> 4785 <th>Id (if required):</th> 4786 <td> 4787 <input name="remoteId" value="" size="40"/> 4788 </td> 4789 </tr> 4790 <tr> 4791 <th>Password (if required):</th> 4792 <td> 4793 <input type="password" name="remotePw" value="" size="40"/> 4794 </td> 4795 </tr> 4796 </xsl:if> 4797 </xsl:if> 4798 </table> 4799 4800 <table border="0" id="submitTable"> 4801 <tr> 4779 4802 <td> 4780 4803 <xsl:choose> 4781 <xsl:when test="calendarCollection='true'"> 4782 <input type="radio" value="true" name="calendarCollection" checked="checked"/> Calendar 4783 <input type="radio" value="false" name="calendarCollection"/> Folder 4804 <xsl:when test="isSubscription='true'"> 4805 <input type="submit" name="updateCalendar" value="Update Subscription"/> 4784 4806 </xsl:when> 4785 <xsl:otherwise>4786 <input type="radio" value="true" name="calendarCollection"/> Calendar4787 <input type="radio" value="false" name="calendarCollection" checked="checked"/> Folder4788 </xsl:otherwise>4789 </xsl:choose>4790 </td>4791 </tr>4792 <tr>4793 <th>URL: (for external subscriptions only)</th>4794 <td>4795 <input name="aliasUri" value="" size="40"/>4796 </td>4797 </tr>4798 <tr>4799 <th>Id: (for external subscriptions only)</th>4800 <td>4801 <input name="remoteId" value="" size="40"/>4802 </td>4803 </tr>4804 <tr>4805 <th>Password: (for external subscriptions only)</th>4806 <td>4807 <input type="password" name="remotePw" value="" size="40"/>4808 </td>4809 </tr>4810 </table>4811 4812 <table border="0" id="submitTable">4813 <tr>4814 <td>4815 <xsl:choose>4816 4807 <xsl:when test="calendarCollection='true'"> 4817 4808 <input type="submit" name="updateCalendar" value="Update Calendar"/> … … 4825 4816 <td align="right"> 4826 4817 <xsl:choose> 4818 <xsl:when test="isSubscription='true'"> 4819 <input type="submit" name="delete" value="Delete Subscription"/> 4820 </xsl:when> 4827 4821 <xsl:when test="calendarCollection='true'"> 4828 4822 <input type="submit" name="delete" value="Delete Calendar"/>
