Changeset 1027

Show
Ignore:
Timestamp:
10/05/06 18:04:37
Author:
johnsa
Message:

expanded calendar and event sharing options for user client.

Files:

Legend:

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

    r1026 r1027  
    387387  white-space: nowrap; 
    388388} 
     389table.common th.thin { 
     390  width: 80px; 
     391} 
    389392table.common th.commonHeader { 
    390393  vertical-align: middle; 
  • trunk/deployment/webadmin/webapp/resources/default/default/default.xsl

    r1026 r1027  
    18021802        </tr> 
    18031803        <tr> 
    1804           <th>Owner:</th> 
     1804          <th class="thin">Owner:</th> 
    18051805          <td> 
    18061806            <xsl:value-of select="name(acl/ace[principal/property/owner]/grant/*)"/> 
     
    18091809        <xsl:if test="acl/ace/principal/href"> 
    18101810          <tr> 
    1811             <th>Users:</th> 
     1811            <th class="thin">Users:</th> 
    18121812            <td> 
    18131813              <xsl:for-each select="acl/ace[principal/href]"> 
     
    18391839              <h5>Rights:</h5> 
    18401840              <ul id="howList"> 
    1841                 <li><input type="radio" value="A" name="how"/> <strong>All</strong> (read, write, delete)</li> 
     1841 
    18421842                <!--<li> 
    18431843                  <input type="radio" value="A" name="how"/> All 
     
    18781878                    </li> 
    18791879                  </ul> 
     1880                </li> 
     1881                <li> 
     1882                  <input type="radio" value="N" name="how"/> None 
    18801883                </li>--> 
     1884 
     1885                <li><input type="radio" value="A" name="how"/> <strong>All</strong> (read, write, delete)</li> 
    18811886                <li class="padTop"> 
    18821887                  <input type="radio" value="R" name="how" checked="checked"/> <strong>Read</strong> (content, access, freebusy) 
  • trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.css

    r1021 r1027  
    429429  padding: 0; 
    430430} 
    431  
    432431/* table below is used for almost all forms  */ 
    433432table.common { 
     
    444443  color: black; 
    445444  white-space: nowrap; 
     445} 
     446table.common th.thin { 
     447  width: 80px; 
    446448} 
    447449table.common th.icon { 
     
    12221224#shareForm { 
    12231225  margin: 1em 0; 
    1224   padding: 0.5em; 
    1225   border-top: 1px dotted #666; 
     1226  padding: 0; 
     1227
     1228#shareFormTable { 
     1229  width: 96%; /* less than 100% helps avoid IE weirdness */ 
     1230
     1231#shareFormTable td { 
     1232  border: 1px solid #666; 
     1233  padding-bottom: 0.5em; 
     1234
     1235#shareFormTable h5 { 
     1236  background: #e5e5e5; 
     1237  color: black; 
     1238  margin: 0 -0.5em; 
     1239  padding: 4px; 
     1240}#shareFormTable h5.margOk { 
     1241  margin: 0; 
     1242
     1243#howList { 
     1244  margin: 0; 
     1245  padding: 0 0 1em 0; 
     1246
     1247#howList ul { 
     1248  margin: 0 0 0 2em; 
     1249  padding: 0 0 0.5em 0; 
     1250
     1251#howList li { 
     1252  list-style-type: none; 
     1253  margin-left: 0; 
     1254  font-size: 11px; 
    12261255} 
    12271256/* Footer */ 
     
    12941323  text-transform : lowercase; 
    12951324} 
     1325.padTop { 
     1326  padding-top: 1em; 
     1327} 
    12961328#featureHighlight { 
    12971329  color: #dd0; 
  • trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl

    r1022 r1027  
    22812281        </tr> 
    22822282        <tr> 
    2283           <th>Owner:</th> 
     2283          <th class="thin">Owner:</th> 
    22842284          <td class="fieldval"> 
    22852285            <xsl:value-of select="name(/bedework/access/acl/ace[principal/property/owner]/grant/*)"/> 
     
    22882288        <xsl:if test="/bedework/access/acl/ace/principal/href"> 
    22892289          <tr> 
    2290             <th>Users:</th> 
     2290            <th class="thin">Users:</th> 
    22912291            <td> 
    22922292              <xsl:for-each select="/bedework/access/acl/ace[principal/href]"> 
     
    23012301        <input type="hidden" name="guid" value="{$guid}"/> 
    23022302        <input type="hidden" name="recurid" value="{$recurrenceId}"/> 
    2303         <p> 
     2303        <table cellpadding="0" id="shareFormTable" class="common"> 
     2304          <tr> 
     2305            <th colspan="2" class="commonHeader">Add:</th> 
     2306          </tr> 
     2307          <tr> 
     2308            <td> 
     2309              <h5 class="margOk">Who:</h5> 
     2310              <input type="text" name="who" size="20"/><br/> 
     2311              <input type="radio" value="user" name="whoType" checked="checked"/> user 
     2312              <input type="radio" value="group" name="whoType"/> group 
     2313              <p>OR</p> 
     2314              <p> 
     2315                <input type="radio" value="auth" name="whoType"/> all authorized users<br/> 
     2316                <input type="radio" value="other" name="whoType"/> other users 
     2317              </p> 
     2318            </td> 
     2319            <td> 
     2320              <h5 class="margOk">Rights:</h5> 
     2321              <ul id="howList"> 
     2322                <li><input type="radio" value="A" name="how"/> <strong>All</strong> (read, write, delete)</li> 
     2323                <li class="padTop"> 
     2324                  <input type="radio" value="R" name="how" checked="checked"/> <strong>Read</strong> (content, access, freebusy) 
     2325                </li> 
     2326                <li> 
     2327                  <input type="radio" value="f" name="how"/> Read freebusy only 
     2328                </li> 
     2329                <li class="padTop"> 
     2330                  <input type="radio" value="W" name="how"/> <strong>Write and delete</strong> (content, access, properties) 
     2331                </li> 
     2332                <li> 
     2333                  <input type="radio" value="c" name="how"/> Write content only 
     2334                </li> 
     2335                <li> 
     2336                 <input type="radio" value="u" name="how"/> Delete only 
     2337                </li> 
     2338                <li class="padTop"> 
     2339                  <input type="radio" value="Rc" name="how"/> <strong>Read</strong> and <strong>Write content only</strong> 
     2340                </li> 
     2341                <li class="padTop"> 
     2342                  <input type="radio" value="N" name="how"/> <strong>None</strong> 
     2343                </li> 
     2344              </ul> 
     2345            </td> 
     2346          </tr> 
     2347        </table> 
     2348        <!--<p> 
    23042349          Share this event with:<br/> 
    23052350          <input type="text" name="who" size="20"/> 
     
    23132358          <input type="radio" value="f" name="how"/> read free/busy only<br/> 
    23142359          <input type="radio" value="d" name="how"/> default (reset access) 
    2315         </p> 
     2360        </p>--> 
    23162361        <input type="submit" name="submit" value="Submit"/> 
    23172362      </form> 
     
    29292974        </tr> 
    29302975        <tr> 
    2931           <th>Owner:</th> 
     2976          <th class="thin">Owner:</th> 
    29322977          <td> 
    29332978            <xsl:value-of select="name(acl/ace[principal/property/owner]/grant/*)"/> 
     
    29362981        <xsl:if test="acl/ace/principal/href"> 
    29372982          <tr> 
    2938             <th>Users:</th> 
     2983            <th class="thin">Users:</th> 
    29392984            <td> 
    29402985              <xsl:for-each select="acl/ace[principal/href]"> 
     
    29472992      <form name="calendarShareForm" action="{$calendar-setAccess}" id="shareForm"> 
    29482993        <input type="hidden" name="calPath" value="{$calPath}"/> 
    2949         <p> 
     2994        <table cellpadding="0" id="shareFormTable" class="common"> 
     2995          <tr> 
     2996            <th colspan="2" class="commonHeader">Add:</th> 
     2997          </tr> 
     2998          <tr> 
     2999            <td> 
     3000              <h5>Who:</h5> 
     3001              <input type="text" name="who" size="20"/><br/> 
     3002              <input type="radio" value="user" name="whoType" checked="checked"/> user 
     3003              <input type="radio" value="group" name="whoType"/> group 
     3004              <p>OR</p> 
     3005              <p> 
     3006                <input type="radio" value="auth" name="whoType"/> all authorized users<br/> 
     3007                <input type="radio" value="other" name="whoType"/> other users 
     3008              </p> 
     3009            </td> 
     3010            <td> 
     3011              <h5>Rights:</h5> 
     3012              <ul id="howList"> 
     3013                <li><input type="radio" value="A" name="how"/> <strong>All</strong> (read, write, delete)</li> 
     3014                <li class="padTop"> 
     3015                  <input type="radio" value="R" name="how" checked="checked"/> <strong>Read</strong> (content, access, freebusy) 
     3016                </li> 
     3017                <li> 
     3018                  <input type="radio" value="f" name="how"/> Read freebusy only 
     3019                </li> 
     3020                <li class="padTop"> 
     3021                  <input type="radio" value="W" name="how"/> <strong>Write and delete</strong> (content, access, properties) 
     3022                </li> 
     3023                <li> 
     3024                  <input type="radio" value="c" name="how"/> Write content only 
     3025                </li> 
     3026                <li> 
     3027                 <input type="radio" value="u" name="how"/> Delete only 
     3028                </li> 
     3029                <li class="padTop"> 
     3030                  <input type="radio" value="Rc" name="how"/> <strong>Read</strong> and <strong>Write content only</strong> 
     3031                </li> 
     3032                <li class="padTop"> 
     3033                  <input type="radio" value="N" name="how"/> <strong>None</strong> 
     3034                </li> 
     3035              </ul> 
     3036            </td> 
     3037          </tr> 
     3038        </table> 
     3039        <!--<p> 
    29503040          Share with:<br/> 
    29513041          <input type="text" name="who" size="20"/> 
     
    29593049          <input type="radio" value="f" name="how"/> read free/busy only<br/> 
    29603050          <input type="radio" value="d" name="how"/> default (reset access) 
    2961         </p> 
     3051        </p>--> 
    29623052        <input type="submit" name="submit" value="Submit"/> 
    29633053      </form>