Changeset 1514

Show
Ignore:
Timestamp:
08/14/07 00:34:14
Author:
johnsa
Message:

admin and personal client: a start on cleaning up rdates and exdates interface elements

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/deployment/webadmin/webapp/resources/default/default/default.css

    r1506 r1514  
    518518#rdatesFormFields { 
    519519  font-size: 0.9em; 
    520   text-align: center; 
     520  padding: 0.5em; 
     521
     522#bedework #rdatesFormFields p { 
     523  clear: both; 
     524  margin-top: 1em; 
    521525} 
    522526.rdatesTable { 
     
    533537  text-align: center; 
    534538  font-size: 0.9em; 
     539} 
     540#bedework #bwCurrentRdates, 
     541#bedework #bwCurrentExdates { 
     542  float: left; 
     543  margin: 1em 2em 1em 0; 
     544} 
     545#bedework #bwCurrentRdates th, 
     546#bedework #bwCurrentRdates td, 
     547#bedework #bwCurrentExdates th, 
     548#bedework #bwCurrentExdates td { 
     549  text-align: left; 
     550  padding: 0 0.5em 0 0; 
    535551} 
    536552#bwDialogBox { 
  • trunk/deployment/webadmin/webapp/resources/default/default/default.xsl

    r1513 r1514  
    13971397                        <div id="hourlyRecurrenceRules" class="invisible"> 
    13981398                          <p> 
    1399                             <strong>Interval:</strong
     1399                            <em>Interval:</em
    14001400                            every 
    14011401                            <input type="text" name="hourlyInterval" size="2" value="1"> 
     
    14101410                        <div id="dailyRecurrenceRules" class="invisible"> 
    14111411                          <p> 
    1412                             <strong>Interval:</strong
     1412                            <em>Interval:</em
    14131413                            every 
    14141414                            <input type="text" name="dailyInterval" size="2" value="1"> 
     
    14451445                        <div id="weeklyRecurrenceRules" class="invisible"> 
    14461446                          <p> 
    1447                             <strong>Interval:</strong
     1447                            <em>Interval:</em
    14481448                            every 
    14491449                            <input type="text" name="weeklyInterval" size="2" value="1"> 
     
    14811481                        <div id="monthlyRecurrenceRules" class="invisible"> 
    14821482                          <p> 
    1483                             <strong>Interval:</strong
     1483                            <em>Interval:</em
    14841484                            every 
    14851485                            <input type="text" name="monthlyInterval" size="2" value="1"> 
     
    15191519                        <div id="yearlyRecurrenceRules" class="invisible"> 
    15201520                          <p> 
    1521                             <strong>Interval:</strong
     1521                            <em>Interval:</em
    15221522                            every 
    15231523                            <input type="text" name="yearlyInterval" size="2" value="1"> 
     
    16111611                    <input type="button" value="manage recurrence &amp; exception dates" onclick="launchSizedWindow('{$event-showRdates}','560','400')"/> 
    16121612                  </div>--> 
    1613                   <h4 id="dialogTitle"
     1613                  <h4
    16141614                    Recurrence and Exception Dates 
    16151615                  </h4> 
    16161616                  <div id="raContent"> 
    16171617                    <div class="dateStartEndBox" id="rdatesFormFields"> 
     1618                      <!-- dateonly (anniversary) event: this is temporary - should be determined by the main event --> 
     1619                      <input type="checkbox" name="dateOnly" id="rdateDateOnly" onclick="swapRdateAllDay(this)" value="true"/> 
     1620                      all day 
     1621                      <!-- floating event: no timezone (and not UTC) --> 
     1622                      <input type="checkbox" name="floating" id="rdateFloating" onclick="swapRdateFloatingTime(this)" value="true"/> 
     1623                      floating 
     1624                      <!-- store time as coordinated universal time (UTC) --> 
     1625                      <input type="checkbox" name="storeUTC" id="rdateStoreUTC" onclick="swapRdateStoreUTC(this)" value="true"/> 
     1626                      store as UTC<br/>                       
    16181627                      <div class="dateFields"> 
    16191628                        <input name="eventRdate.date" 
     
    16851694                      <input type="button" name="rdate" value="add recurrence" onclick="bwRdates.update(this.form['eventRdate.date'].value,this.form['eventRdate.hour'].value + this.form['eventRdate.minute'].value,false,false,false,this.form.tzid.value)"/> 
    16861695                      <input type="button" name="exdate" value="add exception" onclick="bwExdates.update(this.form['eventRdate.date'].value,this.form['eventRdate.hour'].value + this.form['eventRdate.minute'].value,false,false,false,this.form.tzid.value)"/> 
    1687                       <br/> 
    1688                       <!-- dateonly (anniversary) event: this is temporary - should be determined by the main event --> 
    1689                       <input type="checkbox" name="dateOnly" id="rdateDateOnly" onclick="swapRdateAllDay(this)" value="true"/> 
    1690                       all day 
    1691                       <!-- floating event: no timezone (and not UTC) --> 
    1692                       <input type="checkbox" name="floating" id="rdateFloating" onclick="swapRdateFloatingTime(this)" value="true"/> 
    1693                       floating 
    1694                       <!-- store time as coordinated universal time (UTC) --> 
    1695                       <input type="checkbox" name="storeUTC" id="rdateStoreUTC" onclick="swapRdateStoreUTC(this)" value="true"/> 
    1696                       store as UTC 
     1696 
     1697                      <input type="hidden" name="rdates" value="" id="bwRdatesField" /> 
     1698                      <!-- if there are no recurence dates, the following table will show --> 
     1699                      <table cellspacing="0" id="bwCurrentRdatesNone"> 
     1700                        <tr><th>Recurrence Dates</th></tr> 
     1701                        <tr><td>No recurrence dates</td></tr> 
     1702                      </table> 
     1703   
     1704                      <!-- if there are recurrence dates, the following table will show --> 
     1705                      <table cellspacing="0" id="bwCurrentRdates"> 
     1706                        <tr> 
     1707                          <th colspan="4">Recurrence Dates</th> 
     1708                        </tr> 
     1709                        <tr> 
     1710                          <td>Date</td> 
     1711                          <td>Time</td> 
     1712                          <td>TZid</td> 
     1713                          <td></td> 
     1714                        </tr> 
     1715                      </table> 
     1716   
     1717                      <input type="hidden" name="exdates" value="" id="bwExdatesField" /> 
     1718                      <!-- if there are no exception dates, the following table will show --> 
     1719                      <table cellspacing="0" id="bwCurrentExdatesNone"> 
     1720                        <tr><th>Exception Dates</th></tr> 
     1721                        <tr><td>No exception dates</td></tr> 
     1722                      </table> 
     1723   
     1724                      <!-- if there are exception dates, the following table will show --> 
     1725                      <table cellspacing="0" id="bwCurrentExdates"> 
     1726                        <tr> 
     1727                          <th colspan="4">Exception Dates</th> 
     1728                        </tr> 
     1729                        <tr> 
     1730                          <td>Date</td> 
     1731                          <td>Time</td> 
     1732                          <td>TZid</td> 
     1733                          <td></td> 
     1734                        </tr> 
     1735                      </table> 
     1736                      <p> 
     1737                        Exception dates may also be created by deleting an instance 
     1738                        of a recurring event. 
     1739                      </p> 
    16971740                    </div> 
    1698  
    1699                     <input type="hidden" name="rdates" value="" id="bwRdatesField" /> 
    1700                     <!-- if there are no recurence dates, the following table will show --> 
    1701                     <table cellspacing="0" id="bwCurrentRdatesNone"> 
    1702                       <tr><th>Recurrence Dates</th></tr> 
    1703                       <tr><td>No recurrence dates</td></tr> 
    1704                     </table> 
    1705  
    1706                     <!-- if there are recurrence dates, the following table will show --> 
    1707                     <table cellspacing="0" id="bwCurrentRdates"> 
    1708                       <tr> 
    1709                         <th colspan="4">Recurrence Dates</th> 
    1710                       </tr> 
    1711                       <tr> 
    1712                         <td>Date</td> 
    1713                         <td>Time</td> 
    1714                         <td>TZid</td> 
    1715                         <td></td> 
    1716                       </tr> 
    1717                     </table> 
    1718  
    1719                     <input type="hidden" name="exdates" value="" id="bwExdatesField" /> 
    1720                     <!-- if there are no exception dates, the following table will show --> 
    1721                     <table cellspacing="0" id="bwCurrentExdatesNone"> 
    1722                       <tr><th>Exception Dates</th></tr> 
    1723                       <tr><td>No exception dates</td></tr> 
    1724                     </table> 
    1725  
    1726                     <!-- if there are exception dates, the following table will show --> 
    1727                     <table cellspacing="0" id="bwCurrentExdates"> 
    1728                       <tr> 
    1729                         <th colspan="4">Exception Dates</th> 
    1730                       </tr> 
    1731                       <tr> 
    1732                         <td>Date</td> 
    1733                         <td>Time</td> 
    1734                         <td>TZid</td> 
    1735                         <td></td> 
    1736                       </tr> 
    1737                     </table> 
    1738                     <p> 
    1739                       Exception dates may also be created by deleting an instance 
    1740                       of a recurring event. 
    1741                     </p> 
    17421741                  </div> 
    17431742                </div> 
  • trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.css

    r1461 r1514  
    887887#bedework #rdatesFormFields { 
    888888  font-size: 0.9em; 
    889   text-align: center; 
     889  padding: 0.5em; 
     890
     891#bedework #rdatesFormFields p { 
     892  clear: both; 
     893  margin-top: 1em; 
    890894} 
    891895#bedework .rdatesTable { 
     
    902906  text-align: center; 
    903907  font-size: 0.9em; 
     908} 
     909#bedework #bwCurrentRdates, 
     910#bedework #bwCurrentExdates { 
     911  float: left; 
     912  margin: 1em 2em 1em 0; 
     913} 
     914#bedework #bwCurrentRdates th, 
     915#bedework #bwCurrentRdates td, 
     916#bedework #bwCurrentExdates th, 
     917#bedework #bwCurrentExdates td { 
     918  text-align: left; 
     919  padding: 0 0.5em 0 0; 
    904920} 
    905921#bedework .shown { 
  • trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl

    r1513 r1514  
    26852685            <xsl:if test="form/recurringEntity = 'true'"><xsl:attribute name="class">visible</xsl:attribute></xsl:if> 
    26862686 
     2687            <h4>Recurrence Rules</h4> 
    26872688            <!-- show or hide rrules fields when editing: --> 
    26882689            <xsl:if test="form/recurrence"> 
     
    28242825              <tr> 
    28252826                <td id="recurrenceFrequency" rowspan="2"> 
    2826                   <strong>Frequency:</strong><br/> 
     2827                  <em>Frequency:</em><br/> 
    28272828                  <input type="radio" name="freq" value="NONE" onclick="showRrules(this.value)" checked="checked"/>none<br/> 
    28282829                  <!--<input type="radio" name="freq" value="HOURLY" onclick="showRrules(this.value)"/>hourly<br/>--> 
     
    28382839                  </div> 
    28392840                  <div id="recurrenceUntilRules" class="invisible"> 
    2840                     <strong>Repeat:</strong
     2841                    <em>Repeat:</em
    28412842                    <p> 
    28422843                      <input type="radio" name="recurCountUntil" value="forever"> 
     
    28782879                  <div id="hourlyRecurrenceRules" class="invisible"> 
    28792880                    <p> 
    2880                       <strong>Interval:</strong
     2881                      <em>Interval:</em
    28812882                      every 
    28822883                      <input type="text" name="hourlyInterval" size="2" value="1"> 
     
    28912892                  <div id="dailyRecurrenceRules" class="invisible"> 
    28922893                    <p> 
    2893                       <strong>Interval:</strong
     2894                      <em>Interval:</em
    28942895                      every 
    28952896                      <input type="text" name="dailyInterval" size="2" value="1"> 
     
    29262927                  <div id="weeklyRecurrenceRules" class="invisible"> 
    29272928                    <p> 
    2928                       <strong>Interval:</strong
     2929                      <em>Interval:</em
    29292930                      every 
    29302931                      <input type="text" name="weeklyInterval" size="2" value="1"> 
     
    29622963                  <div id="monthlyRecurrenceRules" class="invisible"> 
    29632964                    <p> 
    2964                       <strong>Interval:</strong
     2965                      <em>Interval:</em
    29652966                      every 
    29662967                      <input type="text" name="monthlyInterval" size="2" value="1"> 
     
    30003001                  <div id="yearlyRecurrenceRules" class="invisible"> 
    30013002                    <p> 
    3002                       <strong>Interval:</strong
     3003                      <em>Interval:</em
    30033004                      every 
    30043005                      <input type="text" name="yearlyInterval" size="2" value="1"> 
     
    30923093              <input type="button" value="manage recurrence &amp; exception dates" onclick="launchSizedWindow('{$event-showRdates}','560','400')"/> 
    30933094            </div>--> 
    3094             <h4 id="dialogTitle"
     3095            <h4
    30953096              Recurrence and Exception Dates 
    30963097            </h4> 
    30973098            <div id="raContent"> 
    30983099              <div class="dateStartEndBox" id="rdatesFormFields"> 
     3100                <!-- dateonly (anniversary) event: this is temporary - should be determined by the main event --> 
     3101                <input type="checkbox" name="dateOnly" id="rdateDateOnly" onclick="swapRdateAllDay(this)" value="true"/> 
     3102                all day 
     3103                <!-- floating event: no timezone (and not UTC) --> 
     3104                <input type="checkbox" name="floating" id="rdateFloating" onclick="swapRdateFloatingTime(this)" value="true"/> 
     3105                floating 
     3106                <!-- store time as coordinated universal time (UTC) --> 
     3107                <input type="checkbox" name="storeUTC" id="rdateStoreUTC" onclick="swapRdateStoreUTC(this)" value="true"/> 
     3108                store as UTC<br/> 
    30993109                <div class="dateFields"> 
    31003110                  <input name="eventRdate.date" 
     
    31663176                <input type="button" name="rdate" value="add recurrence" onclick="bwRdates.update(this.form['eventRdate.date'].value,this.form['eventRdate.hour'].value + this.form['eventRdate.minute'].value,false,false,false,this.form.tzid.value)"/> 
    31673177                <input type="button" name="exdate" value="add exception" onclick="bwExdates.update(this.form['eventRdate.date'].value,this.form['eventRdate.hour'].value + this.form['eventRdate.minute'].value,false,false,false,this.form.tzid.value)"/> 
    3168                 <br/> 
    3169                 <!-- dateonly (anniversary) event: this is temporary - should be determined by the main event --> 
    3170                 <input type="checkbox" name="dateOnly" id="rdateDateOnly" onclick="swapRdateAllDay(this)" value="true"/> 
    3171                 all day 
    3172                 <!-- floating event: no timezone (and not UTC) --> 
    3173                 <input type="checkbox" name="floating" id="rdateFloating" onclick="swapRdateFloatingTime(this)" value="true"/> 
    3174                 floating 
    3175                 <!-- store time as coordinated universal time (UTC) --> 
    3176                 <input type="checkbox" name="storeUTC" id="rdateStoreUTC" onclick="swapRdateStoreUTC(this)" value="true"/> 
    3177                 store as UTC 
     3178 
     3179                <input type="hidden" name="rdates" value="" id="bwRdatesField" /> 
     3180                <!-- if there are no recurrence dates, the following table will show --> 
     3181                <table cellspacing="0" class="invisible" id="bwCurrentRdatesNone"> 
     3182                  <tr><th>Recurrence Dates</th></tr> 
     3183                  <tr><td>No recurrence dates</td></tr> 
     3184                </table> 
     3185   
     3186                <!-- if there are no recurence dates, the following table will show --> 
     3187                <table cellspacing="0" class="invisible" id="bwCurrentRdates"> 
     3188                  <tr> 
     3189                    <th colspan="4">Recurrence Dates</th> 
     3190                  </tr> 
     3191                  <tr> 
     3192                    <td>Date</td> 
     3193                    <td>Time</td> 
     3194                    <td>TZid</td> 
     3195                    <td></td> 
     3196                  </tr> 
     3197                </table> 
     3198   
     3199                <input type="hidden" name="exdates" value="" id="bwExdatesField" /> 
     3200                <!-- if there are no exception dates, the following table will show --> 
     3201                <table cellspacing="0" class="invisible" id="bwCurrentExdatesNone"> 
     3202                  <tr><th>Exception Dates</th></tr> 
     3203                  <tr><td>No exception dates</td></tr> 
     3204                </table> 
     3205   
     3206                <!-- if there are exception dates, the following table will show --> 
     3207                <table cellspacing="0" class="invisible" id="bwCurrentExdates"> 
     3208                  <tr> 
     3209                    <th colspan="4">Exception Dates</th> 
     3210                  </tr> 
     3211                  <tr> 
     3212                    <td>Date</td> 
     3213                    <td>Time</td> 
     3214                    <td>TZid</td> 
     3215                    <td></td> 
     3216                  </tr> 
     3217                </table> 
     3218                <p> 
     3219                  Exception dates may also be created by deleting an instance 
     3220                  of a recurring event. 
     3221                </p> 
    31783222              </div> 
    3179  
    3180               <input type="hidden" name="rdates" value="" id="bwRdatesField" /> 
    3181               <!-- if there are no recurrence dates, the following table will show --> 
    3182               <table cellspacing="0" class="invisible" id="bwCurrentRdatesNone"> 
    3183                 <tr><th>Recurrence Dates</th></tr> 
    3184                 <tr><td>No recurrence dates</td></tr> 
    3185               </table> 
    3186  
    3187               <!-- if there are no recurence dates, the following table will show --> 
    3188               <table cellspacing="0" class="invisible" id="bwCurrentRdates"> 
    3189                 <tr> 
    3190                   <th colspan="4">Recurrence Dates</th> 
    3191                 </tr> 
    3192                 <tr> 
    3193                   <td>Date</td> 
    3194                   <td>Time</td> 
    3195                   <td>TZid</td> 
    3196                   <td></td> 
    3197                 </tr> 
    3198               </table> 
    3199  
    3200               <input type="hidden" name="exdates" value="" id="bwExdatesField" /> 
    3201               <!-- if there are no exception dates, the following table will show --> 
    3202               <table cellspacing="0" class="invisible" id="bwCurrentExdatesNone"> 
    3203                 <tr><th>Exception Dates</th></tr> 
    3204                 <tr><td>No exception dates</td></tr> 
    3205               </table> 
    3206  
    3207               <!-- if there are exception dates, the following table will show --> 
    3208               <table cellspacing="0" class="invisible" id="bwCurrentExdates"> 
    3209                 <tr> 
    3210                   <th colspan="4">Exception Dates</th> 
    3211                 </tr> 
    3212                 <tr> 
    3213                   <td>Date</td> 
    3214                   <td>Time</td> 
    3215                   <td>TZid</td> 
    3216                   <td></td> 
    3217                 </tr> 
    3218               </table> 
    3219               <p> 
    3220                 Exception dates may also be created by deleting an instance 
    3221                 of a recurring event. 
    3222               </p> 
    32233223            </div> 
    32243224          </div>