Changeset 1026

Show
Ignore:
Timestamp:
10/05/06 17:23:07
Author:
johnsa
Message:

expanded calendar sharing options for administrative client. (still need to pass back current sharing information for display)

Files:

Legend:

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

    r952 r1026  
    8181} 
    8282#content { 
    83   margin: 0em
    84   padding: 0em 1em 1em 1em; 
     83  margin: 0
     84  padding: 0 1em 1em 1em; 
    8585} 
    8686#content h2 { 
     
    326326} 
    327327#submitTable { 
    328   width: 98%; /* less than 100% helps avoid IE weirdness */ 
     328  width: 96%; /* less than 100% helps avoid IE weirdness */ 
    329329  margin-top: 1em; 
    330330} 
     
    345345#shareForm { 
    346346  margin: 1em 0; 
    347   padding: 0.5em; 
    348   border-top: 1px dotted #666; 
     347  padding: 0; 
     348
     349#shareFormTable { 
     350  width: 96%; /* less than 100% helps avoid IE weirdness */ 
     351
     352#shareFormTable td { 
     353  border: 1px solid #666; 
     354  padding-bottom: 0.5em; 
     355
     356#shareFormTable h5 { 
     357  background: #e5e5e5; 
     358  color: black; 
     359  margin: 0 -0.5em; 
     360  padding: 4px; 
     361
     362#howList { 
     363  margin: 0; 
     364  padding: 0 0 1em 0; 
     365
     366#howList ul { 
     367  margin: 0 0 0 2em; 
     368  padding: 0 0 0.5em 0; 
     369
     370#howList li { 
     371  list-style-type: none; 
     372  margin-left: 0; 
     373  font-size: 11px; 
    349374} 
    350375table.common { 
     
    385410  font-style: italic; 
    386411} 
     412#calendarTable { 
     413} 
    387414#calendarTable td, 
    388415#subsTable td { 
     
    394421  border-right: 1px solid #aaa; 
    395422  font-size: 0.9em; 
    396   width: 200px; 
    397423} 
    398424#calendarTable td.cals { 
     
    507533  color: black; 
    508534} 
     535.padTop { 
     536  padding-top: 1em; 
     537} 
    509538#footer { 
    510539  padding: 1em; 
  • trunk/deployment/webadmin/webapp/resources/default/default/default.xsl

    r952 r1026  
    18201820      <form name="calendarShareForm" action="{$calendar-setAccess}" id="shareForm" method="post"> 
    18211821        <input type="hidden" name="calPath" value="{$calPath}"/> 
    1822         <p> 
    1823           Share with group:<br/> 
    1824           <input type="text" name="who" size="20"/> 
    1825           <input type="hidden" value="group" name="whoType"/> 
    1826           <!--<input type="radio" value="user" name="whoType" checked="checked"/> user 
    1827           <input type="radio" value="group" name="whoType"/> group--> 
    1828         </p> 
    1829         <p> 
    1830           Access rights:<br/> 
    1831           <input type="radio" value="R" name="how" checked="checked"/> read<br/> 
    1832           <input type="radio" value="Rc" name="how"/> read/write content<br/> 
    1833           <input type="radio" value="f" name="how"/> read free/busy only<br/> 
    1834           <input type="radio" value="d" name="how"/> default (reset access) 
    1835         </p> 
     1822        <table cellpadding="0" id="shareFormTable" class="common"> 
     1823          <tr> 
     1824            <th colspan="2" class="commonHeader">Add:</th> 
     1825          </tr> 
     1826          <tr> 
     1827            <td> 
     1828              <h5>Who:</h5> 
     1829              <input type="text" name="who" size="20"/><br/> 
     1830              <input type="radio" value="user" name="whoType" checked="checked"/> user 
     1831              <input type="radio" value="group" name="whoType"/> group 
     1832              <p>OR</p> 
     1833              <p> 
     1834                <input type="radio" value="auth" name="whoType"/> all authorized users<br/> 
     1835                <input type="radio" value="other" name="whoType"/> other users 
     1836              </p> 
     1837            </td> 
     1838            <td> 
     1839              <h5>Rights:</h5> 
     1840              <ul id="howList"> 
     1841                <li><input type="radio" value="A" name="how"/> <strong>All</strong> (read, write, delete)</li> 
     1842                <!--<li> 
     1843                  <input type="radio" value="A" name="how"/> All 
     1844                  <ul> 
     1845                    <li> 
     1846                      <input type="radio" value="R" name="how" checked="checked"/> Read 
     1847                      <ul> 
     1848                        <li> 
     1849                          <input type="radio" value="r" name="how" disabled="disabled"/> Read acl 
     1850                        </li> 
     1851                        <li> 
     1852                          <input type="radio" value="P" name="how" disabled="disabled"/> Read current user privilege set 
     1853                        </li> 
     1854                        <li> 
     1855                          <input type="radio" value="f" name="how"/> Read free/busy 
     1856                        </li> 
     1857                      </ul> 
     1858                    </li> 
     1859                    <li> 
     1860                      <input type="radio" value="W" name="how"/> Write 
     1861                      <ul> 
     1862                        <li> 
     1863                          <input type="radio" value="a" name="how" disabled="disabled"/> Write acl 
     1864                        </li> 
     1865                        <li> 
     1866                          <input type="radio" value="p" name="how" disabled="disabled"/> Write properties 
     1867                        </li> 
     1868                        <li> 
     1869                          <input type="radio" value="c" name="how"/> Write content 
     1870                        </li> 
     1871                        <li> 
     1872                          <input type="radio" value="b" name="how" disabled="disabled"/> Bind (includes scheduling) 
     1873                        </li> 
     1874                        <li> 
     1875                          <input type="radio" value="u" name="how"/> Unbind (destroy) 
     1876                        </li> 
     1877                      </ul> 
     1878                    </li> 
     1879                  </ul> 
     1880                </li>--> 
     1881                <li class="padTop"> 
     1882                  <input type="radio" value="R" name="how" checked="checked"/> <strong>Read</strong> (content, access, freebusy) 
     1883                </li> 
     1884                <li> 
     1885                  <input type="radio" value="f" name="how"/> Read freebusy only 
     1886                </li> 
     1887                <li class="padTop"> 
     1888                  <input type="radio" value="W" name="how"/> <strong>Write and delete</strong> (content, access, properties) 
     1889                </li> 
     1890                <li> 
     1891                  <input type="radio" value="c" name="how"/> Write content only 
     1892                </li> 
     1893                <li> 
     1894                 <input type="radio" value="u" name="how"/> Delete only 
     1895                </li> 
     1896                <li class="padTop"> 
     1897                  <input type="radio" value="Rc" name="how"/> <strong>Read</strong> and <strong>Write content only</strong> 
     1898                </li> 
     1899                <li class="padTop"> 
     1900                  <input type="radio" value="N" name="how"/> <strong>None</strong> 
     1901                </li> 
     1902              </ul> 
     1903            </td> 
     1904          </tr> 
     1905        </table> 
    18361906        <input type="submit" name="submit" value="Submit"/> 
    18371907      </form>