Changeset 998

Show
Ignore:
Timestamp:
09/12/06 15:48:05
Author:
johnsa
Message:

beginnings of scheduling preferences in personal client UI; corrected subscription color classes to allow for full range of subscription colors; minor updates to the deployment manual.

Files:

Legend:

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

    r952 r998  
    4444  font-size: 1em; 
    4545} 
     46td { 
     47  vertical-align: top; 
     48} 
    4649.center { 
    4750  text-align: center; 
     
    392395  background: #FF8B86 url(../../resources/glassFill-error.gif) repeat-x bottom; 
    393396}*/ 
     397ul.submenu { 
     398  margin: 0 0 1em 0; 
     399  padding: 0; 
     400  font-size: 0.9em; 
     401  color: black; 
     402  background: #eee; 
     403  border-bottom: 1px solid #666; 
     404  border-top: 1px solid #666; 
     405} 
     406ul.submenu li { 
     407  display: inline; 
     408  margin: 0; 
     409  padding: 0 0.5em; 
     410  border-right: 1px solid #999; 
     411} 
     412ul.submenu li.selected { 
     413  color: black; 
     414  background: white; 
     415  font-weight: bold; 
     416  border-bottom: 1px solid white; 
     417} 
     418ul.submenu li a:link, 
     419ul.submenu li a:active, 
     420ul.submenu li a:visited { 
     421} 
     422table#prefSchedulingForm { 
     423  margin: 0 1em 1em 1em; 
     424  padding: 0; 
     425  border: 1px solid #999; 
     426} 
     427table#prefSchedulingForm td { 
     428  padding: 1em; 
     429} 
    394430#standardForm { 
    395431  margin: 0; 
  • trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl

    r952 r998  
    112112  <xsl:variable name="prefs-fetchForUpdate" select="/bedework/urlPrefixes/prefs/fetchForUpdate/a/@href"/> 
    113113  <xsl:variable name="prefs-update" select="/bedework/urlPrefixes/prefs/update/a/@href"/> 
     114  <xsl:variable name="prefs-fetchSchedulingForUpdate" select="/bedework/urlPrefixes/prefs/fetchSchedulingForUpdate/a/@href"/> 
     115  <xsl:variable name="prefs-setAccess" select="/bedework/urlPrefixes/prefs/setAccess/a/@href"/> 
    114116 
    115117  <!-- URL of the web application - includes web context 
     
    210212                    <xsl:when test="/bedework/page='modPrefs'"> 
    211213                      <xsl:apply-templates select="/bedework/prefs"/> 
     214                    </xsl:when> 
     215                    <xsl:when test="/bedework/page='modSchedulingPrefs'"> 
     216                      <xsl:apply-templates select="/bedework/schPrefs"/> 
    212217                    </xsl:when> 
    213218                    <xsl:when test="/bedework/page='other'"> 
     
    36493654  <xsl:template match="prefs"> 
    36503655    <h2>Manage Preferences</h2> 
     3656    <ul class="submenu"> 
     3657      <li class="selected">General</li> 
     3658      <li><a href="{$prefs-fetchSchedulingForUpdate}">Scheduling/Meetings</a></li> 
     3659    </ul> 
    36513660    <!-- The name "eventForm" is referenced by several javascript functions. Do not 
    36523661    change it without modifying includes.js --> 
     
    38923901            </select> 
    38933902          </td> 
    3894         </tr> 
    3895         <!-- as you add skins, update this list and set the selected flag 
     3903        </tr><!-- as you add skins, update this list and set the selected flag 
    38963904                 as required; hide if not in use --> 
    38973905        <!--<tr> 
     
    39613969      <input type="reset" value="Reset"/> 
    39623970      <input type="submit" name="cancelled" value="Cancel"/> 
     3971    </form> 
     3972  </xsl:template> 
     3973 
     3974  <xsl:template match="schPrefs"> 
     3975    <h2>Manage Preferences</h2> 
     3976    <ul class="submenu"> 
     3977      <li><a href="{$prefs-fetchForUpdate}">General</a></li> 
     3978      <li class="selected"><a href="">Scheduling/Meetings</a></li> 
     3979    </ul> 
     3980    <form name="eventForm" method="post" action="{$prefs-setAccess}"> 
     3981      <table id="prefSchedulingForm"> 
     3982        <tr> 
     3983          <td> 
     3984            <input type="text" width="40"/> 
     3985            <input type="radio" name="whoType" value="user" checked="checked"/>user 
     3986            <input type="radio" name="whoType" value="group"/>group 
     3987            <input type="radio" name="whoType" value="owner"/>owner<br/> 
     3988            <input type="radio" name="how" value="inbox" checked="checked"/>can send me meeting requests<br/> 
     3989            <input type="radio" name="how" value="outbox"/>can send meeting requests on my behalf<br/><br/> 
     3990            <input type="submit" name="modPrefs" value="Update"/> 
     3991            <input type="reset" value="Reset"/> 
     3992            <input type="submit" name="cancelled" value="Cancel"/> 
     3993          </td> 
     3994          <td> 
     3995            <input type="hidden" name="how" value="S"/> 
     3996            Access control settings:<br/> 
     3997            <dl> 
     3998              <dt> 
     3999                <input type="checkbox" name="howSetter" value="S" checked="checked" onchange="setScheduleHow(this)"/>schedule 
     4000              </dt> 
     4001              <dd> 
     4002                <input type="checkbox" name="howSetter" value="t" checked="checked" disabled="disabled"/>schedule-request<br/> 
     4003                <input type="checkbox" name="howSetter" value="y" checked="checked" disabled="disabled"/>schedule-reply<br/> 
     4004                <input type="checkbox" name="howSetter" value="s" checked="checked" disabled="disabled"/>schedule-free-busy 
     4005              </dd> 
     4006            </dl> 
     4007          </td> 
     4008        </tr> 
     4009      </table> 
     4010 
     4011      <table class="common"> 
     4012        <tr> 
     4013          <th>Can send me meeting requests:</th> 
     4014          <th>Can schedule meetings on my behalf:</th> 
     4015        </tr> 
     4016        <tr> 
     4017          <td> 
     4018            <em>list not implemented</em> 
     4019          </td> 
     4020          <td> 
     4021            <em>list not implemented</em> 
     4022          </td> 
     4023        </tr> 
     4024      </table> 
    39634025    </form> 
    39644026  </xsl:template> 
  • trunk/deployment/webuser/webapp/resources/demoskins/default/default/subColors.css

    r952 r998  
    33   to create the web forms. Background-color must be 
    44   "important" to override more specific selectors in 
    5    the default.css stylesheet. */ 
     5   the default.css stylesheet.  Note - class names must not 
     6   begin with a number, so all color classes are prepended with "c" */ 
    67 
    7 .FFFFFF { 
     8.cFFFFFF { 
    89  background-color: #FFFFFF !important; 
    910  color: black; 
    1011} 
    11 .FDDEEE { 
     12.cFDDEEE { 
    1213  background-color: #FDDEEE !important; 
    1314  color: black; 
    1415} 
    15 .DDD4E8 { 
     16.cDDD4E8 { 
    1617  background-color: #DDD4E8 !important; 
    1718  color: black; 
    1819} 
    19 .BFD5E8 { 
     20.cBFD5E8 { 
    2021  background-color: #BFD5E8 !important; 
    2122  color: black; 
    2223} 
    23 .CCECEF { 
     24.cCCECEF { 
    2425  background-color: #CCECEF !important; 
    2526  color: black; 
    2627} 
    27 .B3E2DD { 
     28.cB3E2DD { 
    2829  background-color: #B3E2DD !important; 
    2930  color: black; 
    3031} 
    31 .CFECCF { 
     32.cCFECCF { 
    3233  background-color: #CFECCF !important; 
    3334  color: black; 
    3435} 
    35 .E0F3B0 { 
     36.cE0F3B0 { 
    3637  background-color: #E0F3B0 !important; 
    3738  color: black; 
    3839} 
    39 .FFFFB0 { 
     40.cFFFFB0 { 
    4041  background-color: #FFFFB0 !important; 
    4142  color: black; 
    4243} 
    43 .FEEBC9 { 
     44.cFEEBC9 { 
    4445  background-color: #FEEBC9 !important; 
    4546  color: black; 
    4647} 
    4748/* medium pastels */ 
    48 .EEEEEE { 
     49.cEEEEEE { 
    4950  background-color: #EEEEEE !important; 
    5051  color: black; 
    5152} 
    52 .FBB6D1 { 
     53.cFBB6D1 { 
    5354  background-color: #FBB6D1 !important; 
    5455  color: black; 
    5556} 
    56 .C1B3D7 { 
     57.cC1B3D7 { 
    5758  background-color: #C1B3D7 !important; 
    5859  color: black; 
     
    6162  border-bottom: 1px solid #999 !important; 
    6263} 
    63 .94A8D0 { 
     64.c94A8D0 { 
    6465  background-color: #94A8D0 !important; 
    6566  color: black; 
    6667} 
    67 .9ACEDF { 
     68.c9ACEDF { 
    6869  background-color: #9ACEDF !important; 
    6970  color: black; 
    7071} 
    71 .86CFBE { 
     72.c86CFBE { 
    7273  background-color: #86CFBE !important; 
    7374  color: black; 
    7475} 
    75 .B5E1AE { 
     76.cB5E1AE { 
    7677  background-color: #B5E1AE !important; 
    7778  color: black; 
    7879} 
    79 .BFE476 { 
     80.cBFE476 { 
    8081  background-color: #BFE476 !important; 
    8182  color: black; 
     
    8485  border-bottom: 1px solid #999 !important; 
    8586} 
    86 .FFFA81 { 
     87.cFFFA81 { 
    8788  background-color: #FFFA81 !important; 
    8889  color: black; 
    8990} 
    90 .FDCAA2 { 
     91.cFDCAA2 { 
    9192  background-color: #FDCAA2 !important; 
    9293  color: black; 
    9394} 
    9495/* dark pastels */ 
    95 .DDDDDD { 
     96.cDDDDDD { 
    9697  background-color: #DDDDDD !important; 
    9798  color: black; 
    9899} 
    99 .F98CB6 { 
     100.cF98CB6 { 
    100101  background-color: #F98CB6 !important; 
    101102  color: black; 
    102103} 
    103 .A589C1 { 
     104.cA589C1 { 
    104105  background-color: #A589C1 !important; 
    105106  color: black; 
    106107} 
    107 .7589BF { 
     108.c7589BF { 
    108109  background-color: #7589BF !important; 
    109110  color: black; 
    110111} 
    111 .6FB7D6 { 
     112.c6FB7D6 { 
    112113  background-color: #6FB7D6 !important; 
    113114  color: black; 
    114115} 
    115 .48B5A3 { 
     116.c48B5A3 { 
    116117  background-color: #48B5A3 !important; 
    117118  color: black; 
    118119} 
    119 .91D290 { 
     120.c91D290 { 
    120121  background-color: #91D290 !important; 
    121122  color: black; 
    122123} 
    123 .85CA5D { 
     124.c85CA5D { 
    124125  background-color: #85CA5D !important; 
    125126  color: black; 
    126127} 
    127 .FFED62 { 
     128.cFFED62 { 
    128129  background-color: #FFED62 !important; 
    129130  color: black; 
    130131} 
    131 .FCA985 { 
     132.cFCA985 { 
    132133  background-color: #FCA985 !important; 
    133134  color: black; 
  • trunk/deployment/webuser/webapp/resources/demoskins/default/default/subColors.xml

    r952 r998  
    33<subscriptionColors> 
    44  <!-- light pastels --> 
    5   <color name="white">FFFFFF</color> 
    6   <color name="lt pink">FDDEEE</color> 
    7   <color name="lt purple">DDD4E8</color> 
    8   <color name="lt steelblue">BFD5E8</color> 
    9   <color name="lt blue">CCECEF</color> 
    10   <color name="lt aquamarine">B3E2DD</color> 
    11   <color name="lt seagreen">CFECCF</color> 
    12   <color name="lt green">E0F3B0</color> 
    13   <color name="lt yellow">FFFFB0</color> 
    14   <color name="lt salmon">FEEBC9</color> 
     5  <color name="white">cFFFFFF</color> 
     6  <color name="lt pink">cFDDEEE</color> 
     7  <color name="lt purple">cDDD4E8</color> 
     8  <color name="lt steelblue">cBFD5E8</color> 
     9  <color name="lt blue">cCCECEF</color> 
     10  <color name="lt aquamarine">cB3E2DD</color> 
     11  <color name="lt seagreen">cCFECCF</color> 
     12  <color name="lt green">cE0F3B0</color> 
     13  <color name="lt yellow">cFFFFB0</color> 
     14  <color name="lt salmon">cFEEBC9</color> 
    1515 
    1616  <!-- medium pastels --> 
    17   <color name="gray">EEEEEE</color> 
    18   <color name="pink">FBB6D1</color> 
    19   <color name="purple">C1B3D7</color> 
    20   <!-- these colors are broken for some reason 
    21   <color name="steelblue">94A8D0</color> 
    22   <color name="blue">9ACEDF</color> 
    23   <color name="aquamarine">86CFBE</color>--> 
    24   <color name="seagreen">B5E1AE</color> 
    25   <color name="green">BFE476</color> 
     17  <color name="gray">cEEEEEE</color> 
     18  <color name="pink">cFBB6D1</color> 
     19  <color name="purple">cC1B3D7</color> 
     20  <color name="steelblue">c94A8D0</color> 
     21  <color name="blue">c9ACEDF</color> 
     22  <color name="aquamarine">c86CFBE</color> 
     23  <color name="seagreen">cB5E1AE</color> 
     24  <color name="green">cBFE476</color> 
    2625  <!-- don't allow bright yellow - reserve for a hover color 
    27   <color name="yellow">FFFA81</color> --> 
    28   <color name="salmon">FDCAA2</color> 
     26  <color name="yellow">cFFFA81</color> --> 
     27  <color name="salmon">cFDCAA2</color> 
    2928 
    3029  <!-- dark pastels --> 
    31   <color name="md gray">DDDDDD</color> 
    32   <color name="md pink">F98CB6</color> 
    33   <color name="md purple">A589C1</color> 
    34   <!-- these colors are broken for some reason 
    35   <color name="md steelblue">7589BF</color> 
    36   <color name="md blue">6FB7D6</color> 
    37   <color name="md aquamarine">48B5A3</color> 
    38   <color name="md seagreen">91D290</color> 
    39   <color name="md green">85CA5D</color> --> 
     30  <color name="md gray">cDDDDDD</color> 
     31  <color name="md pink">cF98CB6</color> 
     32  <color name="md purple">cA589C1</color> 
     33  <color name="md steelblue">c7589BF</color> 
     34  <color name="md blue">c6FB7D6</color> 
     35  <color name="md aquamarine">c48B5A3</color> 
     36  <color name="md seagreen">c91D290</color> 
     37  <color name="md green">c85CA5D</color> 
    4038  <!-- don't allow bright yellow - reserve for a hover color 
    41   <color name="md yellow">FFED62</color> --> 
    42   <color name="md salmon">FCA985</color> 
     39  <color name="md yellow">cFFED62</color> --> 
     40  <color name="md salmon">cFCA985</color> 
    4341</subscriptionColors> 
  • trunk/deployment/webuser/webapp/resources/demoskins/resources/includes.js

    r952 r998  
    136136  } 
    137137} 
     138 
     139function setScheduleHow(multibox) { 
     140  var accessString = ""; 
     141  for (i=0; i<multibox.length; i++) { 
     142    alert(mulitbox[i].value); 
     143  } 
     144}