Changeset 327

Show
Ignore:
Timestamp:
04/03/06 17:11:48
Author:
johnsa
Message:

began the styling of subscriptions in personal client (still incomplete); functionality is now mostly in place.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/default.css

    r292 r327  
    66  padding: 0.75em 1em 0em 1em; 
    77} 
     8/* Generic selectors*/ 
     9h2 { 
     10  margin: 0em; 
     11  padding: 1em 0.2em 0em 0.2em; 
     12  font-size: 1.4em; 
     13} 
     14h3 { 
     15  margin: 0em; 
     16  padding: 1em 0.2em 0em 0.2em; 
     17  font-size: 1.1em; 
     18} 
     19h4 { 
     20  margin: 0em; 
     21  padding: 1em 0.2em 0em 0.2em; 
     22  font-size: 1em; 
     23} 
     24/* Header IDs and classes */ 
    825#logoTable { 
    926  padding: 0em; 
     
    318335  background-color: #ffa; 
    319336} 
    320 th#commonHeader { 
     337th#commonHeader, 
     338#commonTable th#commonHeader { 
    321339  /*background-color: black; 
    322340  color: #eee;*/ 
     
    357375  width: 100%; 
    358376} 
     377#commonTable th, 
    359378#commonTable th.fieldname { 
    360379  text-align: left; 
     
    434453  margin: 0; 
    435454  padding: 0; 
    436 } 
    437 #calPageTable { 
    438   width: 100%; 
    439   font-size: 100%; 
    440   margin: 0; 
    441   padding: 0; 
    442 } 
    443 #calPageTable td { 
    444   width: 50%; 
    445   vertical-align: top; 
    446   padding: 0.5em 2em 1em 3em; 
    447 } 
    448 #calPageTable th { 
    449   padding: 4px 0; 
    450   font-size: 1.2em; 
    451   background-color: #ccc; 
    452   color: black; 
    453   font-weight: bold; 
    454 } 
    455 #calPageTable td.leftCell { 
    456   border-right : thin dashed #999; 
    457 } 
    458  
    459 #calPageTable ul.calendarTree li { 
    460   font-weight: bold; 
    461 } 
    462 #calPageTable ul.calendarTree li ul li { 
    463   font-weight: normal; 
    464 } 
    465 #calPageTable ul.calendarTree li.folder { 
    466   list-style-image: url(../../resources/catIcon.gif); 
    467   padding-top: 0.25em; 
    468   padding-bottom: 0.25em; 
    469 } 
    470 #calPageTable ul.calendarTree li.calendar { 
    471   list-style-image: url(../../resources/calIcon-sm.gif); 
    472 } 
    473 #calPageTable td.infoCell { 
    474   background-color: #eee; 
    475   color: black; 
    476   text-align: center; 
    477   padding: 4px; 
    478455} 
    479456#dayCalendarTable { 
     
    857834  padding: 1em; 
    858835} 
     836/* Calendars and Subscriptions */ 
     837#calendarTable td, 
     838#subsTable td { 
     839  padding: 0 0.5em; 
     840  vertical-align: top; 
     841} 
     842#calendarTable td.cals, 
     843#subsTable td.cals { 
     844  border-right: 1px solid #aaa; 
     845  font-size: 0.9em; 
     846  width: 200px; 
     847} 
     848#calendarTable td.cals { 
     849  width: 300px; 
     850} 
     851#subsTable td.cals { 
     852  width: 200px; 
     853} 
     854#calendarTree ul { 
     855  padding-left: 10px; 
     856  margin-left: 10px; 
     857} 
     858#calendarTree li { 
     859  padding-top: 0.25em; 
     860  /*font-weight: bold;*/ 
     861} 
     862#calendarTree li.folder { 
     863  list-style-image: url(../../resources/catIcon.gif); 
     864} 
     865#calendarTree li.calendar { 
     866  list-style-image: url(../../resources/calIcon-sm.gif); 
     867} 
     868#calendarTree a:link, 
     869#calendarTree a:active, 
     870#calendarTree a:visited { 
     871  text-decoration: none; 
     872} 
     873#calendarTree a:hover { 
     874  color: black; 
     875  background-color: #ff3; 
     876} 
     877#submitTable { 
     878  width: 98%; /* less than 100% helps avoid IE weirdness */ 
     879  margin-top: 1em; 
     880} 
     881p.note { 
     882  margin: 0; 
     883  padding: 0 0 1em 0; 
     884  font-size: 0.8em; 
     885  font-style: italic; 
     886} 
     887/* Footer */ 
    859888#footer { 
    860889  font-size: 0.7em; 
  • trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl

    r319 r327  
    10391039              </xsl:when> 
    10401040              <xsl:otherwise> 
    1041                 <a href="{$fetchPublicCalendars}"> 
     1041                <a href="{$subscriptions-fetch}"> 
    10421042                  Manage Subscriptions 
    10431043                </a> 
     
    17981798          </p> 
    17991799          <ul id="calendarTree"> 
    1800             <xsl:apply-templates select="/bedeworkadmin/subscriptions/subscribe/calendars/calendar" mode="subscribe"/> 
     1800            <xsl:apply-templates select="/bedework/subscriptions/subscribe/calendars/calendar" mode="subscribe"/> 
    18011801          </ul> 
    18021802        </td> 
    18031803        <td class="subs"> 
    18041804          <xsl:choose> 
    1805             <xsl:when test="/bedeworkadmin/page='subscriptions'"> 
     1805            <xsl:when test="/bedework/page='subscriptions'"> 
    18061806              <xsl:call-template name="subscriptionList"/> 
    18071807            </xsl:when> 
    1808             <xsl:when test="/bedeworkadmin/creating='true'"> 
     1808            <xsl:when test="/bedework/creating='true'"> 
    18091809              <xsl:apply-templates select="subscription" mode="addSubscription"/> 
    18101810            </xsl:when> 
     
    18441844    <p class="note">*the subsciption name must be unique</p> 
    18451845    <form name="subscribeForm" action="{$subscriptions-subscribe}" method="post"> 
    1846       <table class="eventFormTable"> 
     1846      <table class="commonTable"> 
    18471847        <tr> 
    18481848          <th>Name*:</th> 
     
    18981898    <h2>Modify Subscription</h2> 
    18991899    <form name="subscribeForm" action="{$subscriptions-subscribe}" method="post"> 
    1900       <table class="eventFormTable"> 
     1900      <table class="commonTable"> 
    19011901        <tr> 
    19021902          <th>Name*:</th> 
     
    19811981  <xsl:template name="subscriptionList"> 
    19821982    <h3>Current subscriptions</h3> 
    1983     <table id="commonListTable"> 
     1983    <table id="commonTable"> 
    19841984      <tr> 
    19851985        <th>Name</th> 
  • trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/errors.xsl

    r317 r327  
    3333          Unknown timezone <xsl:value-of select="param"/> 
    3434      </xsl:when> 
     35      <xsl:when test="id='org.bedework.client.error.subscription.reffed'"> 
     36          Cannot remove: the subscription is referenced by View "<xsl:value-of select="param"/>" 
     37      </xsl:when> 
    3538      <xsl:otherwise> 
    3639        <xsl:value-of select="id"/> = <xsl:value-of select="param"/> 
  • trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/print.css

    r2 r327  
    77  font-size: 10pt; 
    88} 
    9 @page { 
    10   margin:  0in; 
    11 } 
    129tr { 
    1310  page-break-inside: avoid;