Changeset 5921


Ignore:
Timestamp:
Jan 10, 2012, 1:30:57 PM (11 years ago)
Author:
Nicklas Nordborg
Message:

References #1655: GUI improvements

Edit dialogs for all items in the first level under the Administrate menu.

Location:
trunk/www
Files:
18 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/admin/clients/edit_client.jsp

    r5908 r5921  
    132132  </base:head>
    133133  <base:body onload="init()">
    134     <p>
     134    <h1><%=title%> <base:help tabcontrol="settings" /></h1>
    135135    <form action="index.jsp?ID=<%=ID%>" method="post" name="client" onsubmit="return false;">
    136136    <input type="hidden" name="cmd" value="UpdateItem">
    137137
    138     <h3 class="docked"><%=title%> <base:help tabcontrol="settings" /></h3>
    139     <t:tabcontrol id="settings" contentstyle="<%="height: "+(int)(scale*160)+"px;"%>"
     138    <t:tabcontrol id="settings"
     139      subclass="content dialogtabcontrol"
    140140      position="bottom"  remember="<%=client != null%>"
    141141      extensions="<%=invoker%>">
    142142    <t:tab id="info" title="Client application" validate="validateClient()" helpid="client.edit">
    143       <table class="form" cellspacing=0>
     143      <table class="fullform input100 smaller">
    144144      <tr>
    145         <td class="prompt">Name</td>
     145        <th>Name</th>
    146146        <td><input <%=requiredClazz%> type="text" name="name"
    147147          value="<%=HTML.encodeTags(client == null ? Values.getString(cc.getPropertyValue("name"), "New client application") : client.getName())%>"
    148           size="40" maxlength="<%=Client.MAX_NAME_LENGTH%>"></td>
     148          maxlength="<%=Client.MAX_NAME_LENGTH%>"></td>
     149        <td></td>
    149150      </tr>
    150151      <tr>
    151         <td class="prompt">External Id</td>
     152        <th>External Id</th>
    152153        <td><input <%=requiredClazz%> type="text" name="external_id"
    153154          value="<%=HTML.encodeTags(client == null ? cc.getPropertyValue("externalId") : client.getExternalId())%>"
    154           size="40" maxlength="<%=Client.MAX_EXTERNAL_ID_LENGTH%>"></td>
     155          maxlength="<%=Client.MAX_EXTERNAL_ID_LENGTH%>"></td>
     156        <td></td>
    155157      </tr>
    156       <tr >
    157         <td class="prompt">Description</td>
    158         <td nowrap>
    159           <textarea <%=clazz%> rows="4" cols="40" name="description"
     158      <tr class="dynamic">
     159        <th>Description</th>
     160        <td>
     161          <textarea <%=clazz%> rows="6" name="description"
    160162            ><%=HTML.encodeTags(client == null ? cc.getPropertyValue("description") : client.getDescription())%></textarea>
    161           <a href="javascript:Main.zoom('Description', 'client', 'description')"
    162             title="Edit in larger window"><base:icon image="zoom.png" /></a>
     163        </td>
     164        <td style="width: 20px;">
     165          <base:icon image="zoom.png"
     166            onclick="Main.zoom('Description', 'client', 'description')"
     167            tooltip="Edit in larger window"
     168          />
    163169        </td>
    164170      </tr>
    165171      </table>
    166       <div align=right>&nbsp;<i><base:icon image="required.gif" /> = required information</i></div>
    167172    </t:tab>
    168173    </t:tabcontrol>
     174    </form>
     175   
     176    <div class="legend">
     177      <base:icon image="required.gif" /> = required information
     178    </div>
    169179
    170     <table align="center">
    171     <tr>
    172       <td width="50%"><base:button onclick="saveSettings()" title="Save" /></td>
    173       <td width="50%"><base:button onclick="window.close()" title="Cancel" /></td>
    174     </tr>
    175     </table>
    176     </form>
     180    <base:buttongroup subclass="dialogbuttons">
     181      <base:button onclick="saveSettings()" title="Save" />
     182      <base:button onclick="window.close()" title="Cancel" />
     183    </base:buttongroup>
    177184  </base:body>
    178185  </base:page>
  • trunk/www/admin/clients/help/edit_help.jsp

    r5908 r5921  
    295295    />
    296296    </m:menu>
    297     <p>
     297    <h1><%=title%> <base:help tabcontrol="settings" /></h1>
    298298    <form action="index.jsp?ID=<%=ID%>" method="post" name="help" onsubmit="return false;">
    299299    <input type="hidden" name="cmd" value="UpdateItem">
    300300    <input type="hidden" name="client_id" value="<%=clientId%>">
    301301
    302     <h3 class="docked"><%=title%> <base:help tabcontrol="settings" /></h3>
    303     <t:tabcontrol id="settings" contentstyle="<%="height: "+(int)(scale*360)+"px;"%>"
     302    <t:tabcontrol id="settings"
     303      subclass="content dialogtabcontrol"
    304304      position="bottom" remember="<%=help != null%>"
    305305      extensions="<%=invoker%>">
    306306    <t:tab id="info" title="Help text" validate="validateHelp()" helpid="help.edit">
    307       <table class="form" cellspacing=0>
     307      <table class="fullform input100 smaller">
    308308      <tr>
    309         <td class="prompt">Title</td>
     309        <th>Title</th>
    310310        <td><input <%=requiredClazz%> type="text" name="name"
    311311          value="<%=HTML.encodeTags(help == null ? Values.getString(cc.getPropertyValue("name"), "New help") : help.getName())%>"
    312           size="40" maxlength="<%=Help.MAX_NAME_LENGTH%>"></td>
     312          maxlength="<%=Help.MAX_NAME_LENGTH%>"></td>
     313        <td></td>
    313314      </tr>
    314315      <tr>
    315         <td class="prompt">External ID</td>
     316        <th>External ID</th>
    316317        <td><input <%=requiredClazz%> type="text" name="external_id"
    317318          value="<%=HTML.encodeTags(externalId)%>"
    318           size="40" maxlength="<%=Help.MAX_EXTERNAL_ID_LENGTH%>"></td>
     319          maxlength="<%=Help.MAX_EXTERNAL_ID_LENGTH%>"></td>
     320        <td></td>
    319321      </tr>   
    320          
    321       <tr >
    322         <td class="prompt">Help text</td>
    323         <td>
    324           <tbl:toolbar style="border-right:none;width:176px;">                       
     322      <tr>
     323        <th>Help text</th>
     324        <td colspan="2" style="padding: 0px;">
     325          <tbl:toolbar subclass="bottomborder topborder">                       
    325326            <tbl:button
    326327              tooltip="Bold"             
     
    379380            />         
    380381          </tbl:toolbar>
    381           <textarea <%=clazz%> rows="16" cols="60" name="description"
     382        </td>
     383      </tr>
     384      <tr class="dynamic">
     385        <th class="subprompt"></th>
     386        <td>
     387          <textarea <%=clazz%> rows="16" name="description"
    382388            ><%=HTML.encodeTags(help == null ? cc.getPropertyValue("description") : help.getDescription())%></textarea>
    383           <a href="javascript:Main.zoom('Help text', 'help', 'description')"
    384             title="Edit in larger window"><base:icon image="zoom.png" /></a>
     389        </td>
     390        <td style="width: 20px;">
     391          <base:icon image="zoom.png"
     392            onclick="Main.zoom('Help text', 'help', 'description')"
     393            tooltip="Edit in larger window"
     394          />
    385395        </td>
    386396      </tr>
    387397      </table>
    388       <div align=right>&nbsp;<i><base:icon image="required.gif" /> = required information</i></div>
    389398    </t:tab>
    390399    </t:tabcontrol>
    391 
    392     <table align="center">
    393     <tr>
    394       <td width="50%"><base:button onclick="saveSettings()" title="Save" /></td>
    395       <td width="50%"><base:button onclick="window.close()" title="Cancel" /></td>
    396     </tr>
    397     </table>
    398400    </form>
     401   
     402    <div class="legend">
     403      <base:icon image="required.gif" /> = required information
     404    </div>
     405
     406    <base:buttongroup subclass="dialogbuttons">
     407      <base:button onclick="saveSettings()" title="Save" />
     408      <base:button onclick="window.close()" title="Cancel" />
     409    </base:buttongroup>
    399410  </base:body>
    400411  </base:page>
  • trunk/www/admin/groups/edit_group.jsp

    r5908 r5921  
    263263  </base:head>
    264264  <base:body onload="init()">
    265     <p>
     265    <h1><%=title%> <base:help tabcontrol="settings" /></h1>
     266
    266267    <form action="index.jsp?ID=<%=ID%>" method="post" name="group" onsubmit="return false;">
    267268    <input type="hidden" name="cmd" value="UpdateItem">
    268269
    269     <h3 class="docked"><%=title%> <base:help tabcontrol="settings" /></h3>
    270     <t:tabcontrol id="settings" contentstyle="<%="height: "+(int)(scale*280)+"px;"%>"
     270    <t:tabcontrol id="settings"
     271      subclass="content dialogtabcontrol"
    271272      position="bottom" remember="<%=group != null%>"
    272273      extensions="<%=invoker%>">
    273274    <t:tab id="info" title="Group" validate="validateGroup()" helpid="group.edit">
    274       <table class="form" cellspacing=0>
     275      <table class="fullform input100 smaller">
    275276      <tr>
    276         <td class="prompt">Name</td>
     277        <th>Name</th>
    277278        <td><input <%=requiredClazz%> type="text" name="name"
    278279          value="<%=HTML.encodeTags(group == null ? Values.getString(cc.getPropertyValue("name"), "New group") : group.getName())%>"
    279           size="40" maxlength="<%=Group.MAX_NAME_LENGTH%>"></td>
     280          maxlength="<%=Group.MAX_NAME_LENGTH%>"></td>
     281        <td></td>
    280282      </tr>
    281283      <tr>
    282         <td class="prompt">Default</td>
     284        <th>Default</th>
    283285        <td>
    284286          <input type="radio" name="is_default" id="defaultNo" value="0" <%=!isDefault ? "checked" : ""%>><label for="defaultNo">no</label>
    285287          <input type="radio" name="is_default" id="defaultYes" value="1" <%=isDefault ? "checked" : ""%>><label for="defaultYes">yes</label>
    286288        </td>
     289        <td></td>
    287290      </tr>
    288291      <tr>
    289         <td class="prompt">Hidden members</td>
     292        <th>Hidden members</th>
    290293        <td>
    291294          <input type="radio" name="hidden_members" id="hiddenNo" value="0" <%=!hiddenMembers ? "checked" : ""%>><label for="hiddenNo">no</label>
    292295          <input type="radio" name="hidden_members" id="hiddenYes" value="1" <%=hiddenMembers ? "checked" : ""%>><label for="hiddenYes">yes</label>
    293296        </td>
     297        <td></td>
    294298      </tr>
    295       <tr >
    296         <td class="prompt">Quota</td>
     299      <tr>
     300        <th>Quota</th>
    297301        <td>
    298302          <select name="quota_id" <%=isEveryone || !useQuota ? "disabled readonly class=\"disabled\"" : ""%>>
     
    327331          %>
    328332        </td>
     333        <td></td>
    329334      </tr>
    330       <tr >
    331         <td class="prompt">Description</td>
    332         <td nowrap>
    333           <textarea <%=clazz%> rows="4" cols="40" name="description"
     335      <tr class="dynamic">
     336        <th>Description</th>
     337        <td>
     338          <textarea <%=clazz%> rows="6" name="description"
    334339            ><%=HTML.encodeTags(group == null ? cc.getPropertyValue("description") : group.getDescription())%></textarea>
    335           <a href="javascript:Main.zoom('Description', 'group', 'description')"
    336             title="Edit in larger window"><base:icon image="zoom.png" /></a>
     340        </td>
     341        <td style="width: 20px;">
     342          <base:icon image="zoom.png"
     343            onclick="Main.zoom('Description', 'group', 'description')"
     344            tooltip="Edit in larger window"
     345          />
    337346        </td>
    338347      </tr>
    339348      </table>
    340       <div align=right>&nbsp;<i><base:icon image="required.gif" /> = required information</i></div>
    341349    </t:tab>
    342350   
    343351    <t:tab id="members" title="Members" tooltip="Add/remove members of this group"
    344352      validate="validateMembers()" helpid="group.edit.membership">
    345     <table >
    346     <tr >
    347     <td>
    348       <b>Members</b><br>
    349       <select name="members" size="14" multiple <%=isEveryone || !writeMembers ? "disabled readonly class=\"disabled\"" : ""%> style="width: 15em;">
    350       </select>
    351       <input type="hidden" name="removeUsers" value="">
    352       <input type="hidden" name="addUsers" value="">
    353       <input type="hidden" name="removeGroups" value="">
    354       <input type="hidden" name="addGroups" value="">
    355     </td>
    356     <td>
    357       <br>
    358       <table width="150">
    359       <tr><td><base:button
    360         clazz="leftaligned buttonclass"
    361         onclick="addUsersOnClick()"
    362         title="Add&nbsp;users&hellip;"
    363         tooltip="Add users to this group"
    364         disabled="<%=isEveryone || !writeMembers %>"
    365         /></td></tr>
    366       <tr><td><base:button
    367         clazz="leftaligned buttonclass"
    368         onclick="addGroupsOnClick()"
    369         title="Add&nbsp;groups&hellip;" 
    370         tooltip="Add child groups to this group"
    371         disabled="<%=isEveryone || !writeMembers %>"
    372       /></td></tr>
    373       <tr><td><base:button
    374         clazz="leftaligned buttonclass"
    375         onclick="removeOnClick()"
    376         title="Remove"
    377         tooltip="Remove the selected items from this group"
    378         disabled="<%=isEveryone || !writeMembers%>"
    379       /></td></tr>
     353      <table class="fullform smaller">
     354      <tr class="dynamic">
     355      <th>Members</th>
     356      <td>
     357        <div class="selectionlist">
     358          <table>
     359          <tr>
     360            <td>
     361              <select name="members" size="14" multiple <%=isEveryone || !writeMembers ? "disabled readonly class=\"disabled\"" : ""%>>
     362              </select>
     363              <input type="hidden" name="removeUsers" value="">
     364              <input type="hidden" name="addUsers" value="">
     365              <input type="hidden" name="removeGroups" value="">
     366              <input type="hidden" name="addGroups" value="">
     367            </td>
     368            <td style="vertical-align: top;">
     369             
     370              <base:buttongroup vertical="true">
     371                <base:button
     372                  subclass="leftaligned"
     373                  style="width: 12em;"
     374                  onclick="addUsersOnClick()"
     375                  title="Add&nbsp;users&hellip;"
     376                  tooltip="Add users to this group"
     377                  disabled="<%=isEveryone || !writeMembers %>"
     378                />
     379                <base:button
     380                  subclass="leftaligned"
     381                  style="width: 12em;"
     382                  onclick="addGroupsOnClick()"
     383                  title="Add&nbsp;groups&hellip;" 
     384                  tooltip="Add child groups to this group"
     385                  disabled="<%=isEveryone || !writeMembers %>"
     386                />
     387                <base:button
     388                  subclass="leftaligned"
     389                  style="width: 12em;"
     390                  onclick="removeOnClick()"
     391                  title="Remove"
     392                  tooltip="Remove the selected items from this group"
     393                  disabled="<%=isEveryone || !writeMembers%>"
     394                />
     395              </base:buttongroup>
     396            </td>
     397          </tr>
     398          </table>
     399        </div>
     400      </td>
     401      </tr>
    380402      </table>
    381     </td>
    382     </tr>
    383     </table>
    384403    </t:tab>
    385404    </t:tabcontrol>
    386 
    387     <table align="center">
    388     <tr>
    389       <td width="50%"><base:button onclick="saveSettings()" title="Save" /></td>
    390       <td width="50%"><base:button onclick="window.close()" title="Cancel" /></td>
    391     </tr>
    392     </table>
    393405    </form>
     406   
     407    <div class="legend">
     408      <base:icon image="required.gif" /> = required information
     409    </div>
     410
     411    <base:buttongroup subclass="dialogbuttons">
     412      <base:button onclick="saveSettings()" title="Save" />
     413      <base:button onclick="window.close()" title="Cancel" />
     414    </base:buttongroup>
    394415  </base:body>
    395416  </base:page>
  • trunk/www/admin/hardware/edit_hardware.jsp

    r5908 r5921  
    146146  </base:head>
    147147  <base:body onload="init()">
    148     <p>
     148    <h1><%=title%> <base:help tabcontrol="settings" /></h1>
    149149    <form action="index.jsp?ID=<%=ID%>" method="post" name="hardware" onsubmit="return false;">
    150150    <input type="hidden" name="cmd" value="UpdateItem">
    151151
    152     <h3 class="docked"><%=title%> <base:help tabcontrol="settings" /></h3>
    153     <t:tabcontrol id="settings" contentstyle="<%="height: "+(int)(scale*180)+"px;"%>"
     152    <t:tabcontrol id="settings"
     153      subclass="content dialogtabcontrol"
    154154      position="bottom"  remember="<%=hardware != null%>"
    155155      extensions="<%=invoker%>">
    156156    <t:tab id="info" title="Hardware" validate="validateHardware()" helpid="hardware.edit">
    157       <table class="form" cellspacing=0>
     157      <table class="fullform input100 smaller">
    158158      <tr>
    159         <td class="prompt">Name</td>
     159        <th>Name</th>
    160160        <td><input <%=requiredClazz%> type="text" name="name"
    161161          value="<%=HTML.encodeTags(hardware == null ? Values.getString(cc.getPropertyValue("name"), "New hardware") : hardware.getName())%>"
    162           size="40" maxlength="<%=Hardware.MAX_NAME_LENGTH%>"></td>
    163       </tr>
    164       <tr >
    165         <td class="prompt">Type</td>
    166         <td colspan="2">
     162          maxlength="<%=Hardware.MAX_NAME_LENGTH%>"></td>
     163        <td></td>
     164      </tr>
     165      <tr>
     166        <th>Type</th>
     167        <td>
    167168          <select name="subtype_id"
    168169            <%=!readCurrentSubtype ? "disabled readonly class=\"disabled selectionlist\"" : "class=\"selectionlist\""%>>
     
    194195          </select>
    195196        </td>
     197        <td></td>
    196198      </tr>
    197199      <tr>
    198         <td class="prompt">Version</td>
     200        <th>Version</th>
    199201        <td><input <%=clazz%> type="text" name="version"
    200202          value="<%=HTML.encodeTags(hardware == null ? cc.getPropertyValue("versionString") : hardware.getVersionString())%>"
    201           size="40" maxlength="<%=Hardware.MAX_VERSIONSTRING_LENGTH%>"></td>
    202       </tr>
    203       <tr >
    204         <td class="prompt">Description</td>
    205         <td nowrap>
    206           <textarea <%=clazz%> rows="4" cols="40" name="description"
     203          maxlength="<%=Hardware.MAX_VERSIONSTRING_LENGTH%>"></td>
     204        <td></td>
     205      </tr>
     206      <tr class="dynamic">
     207        <th>Description</th>
     208        <td>
     209          <textarea <%=clazz%> rows="6" name="description"
    207210            ><%=HTML.encodeTags(hardware == null ? cc.getPropertyValue("description") : hardware.getDescription())%></textarea>
    208           <a href="javascript:Main.zoom('Description', 'hardware', 'description')"
    209             title="Edit in larger window"><base:icon image="zoom.png" /></a>
    210211        </td>
     212        <td style="width: 20px;">
     213          <base:icon image="zoom.png"
     214            onclick="Main.zoom('Description', 'hardware', 'description')"
     215            tooltip="Edit in larger window"
     216          />
     217        </td>
    211218      </tr>
    212219      </table>
    213       <div align=right>&nbsp;<i><base:icon image="required.gif" /> = required information</i></div>
    214220    </t:tab>
    215221    </t:tabcontrol>
    216 
    217     <table align="center">
    218     <tr>
    219       <td width="50%"><base:button onclick="saveSettings()" title="Save" /></td>
    220       <td width="50%"><base:button onclick="window.close()" title="Cancel" /></td>
    221     </tr>
    222     </table>
    223222    </form>
     223   
     224    <div class="legend">
     225      <base:icon image="required.gif" /> = required information
     226    </div>
     227
     228    <base:buttongroup subclass="dialogbuttons">
     229      <base:button onclick="saveSettings()" title="Save" />
     230      <base:button onclick="window.close()" title="Cancel" />
     231    </base:buttongroup>
    224232  </base:body>
    225233  </base:page>
  • trunk/www/admin/news/edit_news.jsp

    r5908 r5921  
    155155  </base:head>
    156156  <base:body onload="init()">
    157     <p>
     157    <h1><%=title%> <base:help tabcontrol="settings" /></h1>
    158158    <form action="index.jsp?ID=<%=ID%>" method="post" name="news" onsubmit="return false;">
    159159    <input type="hidden" name="cmd" value="UpdateItem">
    160160
    161     <h3 class="docked"><%=title%> <base:help tabcontrol="settings" /></h3>
    162     <t:tabcontrol id="settings" contentstyle="<%="height: "+(int)(scale*280)+"px;"%>"
     161    <t:tabcontrol id="settings"
     162      subclass="content dialogtabcontrol"
    163163      position="bottom"  remember="<%=news != null%>"
    164164      extensions="<%=invoker%>">
    165165    <t:tab id="info" title="News" validate="validateNews()" helpid="news.edit">
    166       <table class="form" cellspacing=0>
    167       <tr>
    168         <td class="prompt">Title</td>
    169         <td colspan="2"><input <%=requiredClazz%> type="text" name="title"
     166      <table class="fullform input100 smaller">
     167      <tr>
     168        <th>Title</th>
     169        <td><input <%=requiredClazz%> type="text" name="title"
    170170          value="<%=HTML.encodeTags(news == null ? Values.getString(cc.getPropertyValue("name"), "New news") : news.getName())%>"
    171           size="40" maxlength="<%=News.MAX_NAME_LENGTH%>"></td>
    172       </tr>
    173       <tr>
    174         <td class="prompt">Start date</td>
    175         <td>
    176           <input <%=requiredClazz%> type="text" name="start_date"
    177           value="<%=HTML.encodeTags(dateFormatter.format(startDate == null ? new Date() : startDate))%>"
    178           size="20" maxlength="20" title="Enter date in format: <%=htmlDateFormat%>">
    179         </td>
    180         <td>
    181           <base:button
    182             onclick="<%="Dates.selectDate('Start date', 'news', 'start_date', null, '"+jsDateFormat+"')"%>"
    183             image="calendar.png"
    184             title="Calendar&hellip;"
    185             tooltip="Select a date from a calendar"
     171          maxlength="<%=News.MAX_NAME_LENGTH%>"></td>
     172        <td></td>
     173      </tr>
     174      <tr>
     175        <th>Start date</th>
     176        <td>
     177          <table>
     178          <tr>
     179          <td>
     180            <input <%=requiredClazz%> type="text" name="start_date" style="width: 15em;"
     181            value="<%=HTML.encodeTags(dateFormatter.format(startDate == null ? new Date() : startDate))%>"
     182            maxlength="20" title="Enter date in format: <%=htmlDateFormat%>">
     183          </td>
     184          <td>
     185            <base:button
     186              onclick="<%="Dates.selectDate('Start date', 'news', 'start_date', null, '"+jsDateFormat+"')"%>"
     187              image="calendar.png"
     188              title="Calendar&hellip;"
     189              tooltip="Select a date from a calendar"
     190            />
     191          </td>
     192          </tr>
     193          </table>
     194        </td>
     195        <td></td>
     196      </tr>
     197      <tr>
     198        <th>News date</th>
     199        <td>
     200          <table>
     201          <tr>
     202          <td>
     203            <input <%=requiredClazz%> type="text" name="news_date" style="width: 15em;"
     204            value="<%=HTML.encodeTags(dateFormatter.format(newsDate == null ? new Date() : newsDate))%>"
     205            maxlength="20" title="Enter date in format: <%=htmlDateFormat%>">
     206          </td>
     207          <td>
     208            <base:button
     209              onclick="<%="Dates.selectDate('News date', 'news', 'news_date', null, '"+jsDateFormat+"')"%>"
     210              image="calendar.png"
     211              title="Calendar&hellip;"
     212              tooltip="Select a date from a calendar"
     213            />
     214          </td>
     215          </tr>
     216          </table>
     217        </td>
     218        <td></td>
     219      </tr>
     220      <tr>
     221        <th>End date</th>
     222        <td>
     223          <table>
     224          <tr>
     225          <td>
     226            <input <%=clazz%> type="text" name="end_date" style="width: 15em;"
     227            value="<%=dateFormatter.format(news == null ?
     228                (Date)cc.getPropertyObject("endDate") : news.getEndDate())%>"
     229            maxlength="20" title="Enter date in format: <%=htmlDateFormat%>">
     230          </td>
     231          <td>
     232            <base:button
     233              onclick="<%="Dates.selectDate('End date', 'news', 'end_date', null, '"+jsDateFormat+"')"%>"
     234              image="calendar.png"
     235              title="Calendar&hellip;"
     236              tooltip="Select a date from a calendar"
     237            />
     238          </td>
     239          </tr>
     240          </table>
     241        </td>
     242        <td></td>
     243      </tr>
     244      <tr class="dynamic">
     245        <th>Description</th>
     246        <td>
     247          <textarea <%=clazz%> rows="4"name="description"
     248            ><%=HTML.encodeTags(news == null ? cc.getPropertyValue("description") : news.getDescription())%></textarea>
     249        </td>
     250        <td style="width: 20px;">
     251          <base:icon image="zoom.png"
     252            onclick="Main.zoom('Description', 'news', 'description')"
     253            tooltip="Edit in larger window"
    186254          />
    187255        </td>
    188256      </tr>
    189       <tr>
    190         <td class="prompt">News date</td>
    191         <td>
    192           <input <%=requiredClazz%> type="text" name="news_date"
    193             value="<%=HTML.encodeTags(dateFormatter.format(newsDate == null ? new Date() : newsDate))%>"
    194             size="20" maxlength="20" title="Enter date in format: <%=htmlDateFormat%>">
    195         </td>
    196         <td>
    197           <base:button
    198             onclick="<%="Dates.selectDate('News date', 'news', 'news_date', null, '"+jsDateFormat+"')"%>"
    199             image="calendar.png"
    200             title="Calendar&hellip;"
    201             tooltip="Select a date from a calendar"
    202           />
    203         </td>
    204       </tr>
    205       <tr>
    206         <td class="prompt">End date</td>
    207         <td>
    208           <input <%=clazz%> type="text" name="end_date"
    209           value="<%=dateFormatter.format(news == null ?
    210               (Date)cc.getPropertyObject("endDate") : news.getEndDate())%>"
    211           size="20" maxlength="20" title="Enter date in format: <%=htmlDateFormat%>"><br>
    212         </td>
    213         <td>
    214           <base:button
    215             onclick="<%="Dates.selectDate('End date', 'news', 'end_date', null, '"+jsDateFormat+"')"%>"
    216             image="calendar.png"
    217             title="Calendar&hellip;"
    218             tooltip="Select a date from a calendar"
    219           />
    220         </td>
    221       </tr>
    222       <tr >
    223         <td class="prompt">Description</td>
    224         <td  colspan="2" nowrap>
    225           <textarea <%=clazz%> rows="4" cols="40" name="description"
    226             ><%=HTML.encodeTags(news == null ? cc.getPropertyValue("description") : news.getDescription())%></textarea>
    227           <a href="javascript:Main.zoom('Description', 'news', 'description')"
    228             title="Edit in larger window"><base:icon image="zoom.png" /></a>
    229         </td>
    230       </tr>
    231257      </table>
    232       <div align=right>&nbsp;<i><base:icon image="required.gif" /> = required information</i></div>
    233258    </t:tab>
    234259    </t:tabcontrol>
    235 
    236     <table align="center">
    237     <tr>
    238       <td width="50%"><base:button onclick="saveSettings()" title="Save" /></td>
    239       <td width="50%"><base:button onclick="window.close()" title="Cancel" /></td>
    240     </tr>
    241     </table>
    242260    </form>
     261   
     262    <div class="legend">
     263      <base:icon image="required.gif" /> = required information
     264    </div>
     265
     266    <base:buttongroup subclass="dialogbuttons">
     267      <base:button onclick="saveSettings()" title="Save" />
     268      <base:button onclick="window.close()" title="Cancel" />
     269    </base:buttongroup>
    243270  </base:body>
    244271  </base:page>
  • trunk/www/admin/protocols/edit_protocol.jsp

    r5908 r5921  
    254254  </base:head>
    255255  <base:body onload="init()">
    256     <p>
     256    <h1><%=title%> <base:help tabcontrol="settings" /></h1>
    257257    <form action="index.jsp?ID=<%=ID%>" method="post" name="protocol" onsubmit="return false;">
    258258    <input type="hidden" name="cmd" value="UpdateItem">
    259259
    260     <h3 class="docked"><%=title%> <base:help tabcontrol="settings" /></h3>
    261     <t:tabcontrol id="settings" contentstyle="<%="height: "+(int)(scale*370)+"px;"%>"
     260    <t:tabcontrol id="settings"
     261      subclass="content dialogtabcontrol"
    262262      position="bottom"  remember="<%=protocol != null%>" switch="switchTab"
    263263      extensions="<%=invoker%>">
    264264    <t:tab id="info" title="Protocol" validate="validateProtocol()" helpid="protocol.edit">
    265       <table class="form" cellspacing=0>
     265      <table class="fullform input100 smaller">
    266266      <tr>
    267         <td class="prompt">Name</td>
     267        <th>Name</th>
    268268        <td><input <%=requiredClazz%> type="text" name="name"
    269269          value="<%=HTML.encodeTags(protocol == null ? Values.getString(cc.getPropertyValue("name"), "New protocol") : protocol.getName())%>"
    270           size="40" maxlength="<%=Protocol.MAX_NAME_LENGTH%>"></td>
    271       </tr>
    272       <tr >
    273         <td class="prompt">Type</td>
    274         <td colspan="2">
     270          maxlength="<%=Protocol.MAX_NAME_LENGTH%>"></td>
     271        <td></td>
     272      </tr>
     273      <tr>
     274        <th>Type</th>
     275        <td>
    275276          <select name="subtype_id"
    276277            <%=!readCurrentSubtype ? "disabled readonly class=\"disabled selectionlist\"" : "class=\"selectionlist\""%>>
     
    302303          </select>
    303304        </td>
     305        <td></td>
    304306      </tr>
    305307      <tr>
    306         <td class="prompt">External ID</td>
     308        <th>External ID</th>
    307309        <td><input <%=clazz%> type="text" name="external_id"
    308310          value="<%=HTML.encodeTags(protocol == null ? Values.getString(cc.getPropertyValue("externalId"), "") : protocol.getExternalId())%>"
    309           size="40" maxlength="<%=Protocol.MAX_EXTERNAL_ID_LENGTH%>"></td>
     311          maxlength="<%=Protocol.MAX_EXTERNAL_ID_LENGTH%>"></td>
     312        <td></td>
    310313      </tr>
    311314      <tr>
    312         <td class="prompt">File</td>
     315        <th>File</th>
    313316        <td>
    314317          <base:select
     
    323326          />
    324327        </td>
    325       </tr>
    326 
    327       <tr >
    328         <td class="prompt">Description</td>
    329         <td nowrap>
    330           <textarea <%=clazz%> rows="4" cols="40" name="description"
     328        <td></td>
     329      </tr>
     330      <tr class="dynamic">
     331        <th>Description</th>
     332        <td>
     333          <textarea <%=clazz%> rows="6" name="description"
    331334            ><%=HTML.encodeTags(protocol == null ? cc.getPropertyValue("description") : protocol.getDescription())%></textarea>
    332           <a href="javascript:Main.zoom('Description', 'protocol', 'description')"
    333             title="Edit in larger window"><base:icon image="zoom.png" /></a>
    334335        </td>
     336        <td style="width: 20px;">
     337          <base:icon image="zoom.png"
     338            onclick="Main.zoom('Description', 'protocol', 'description')"
     339            tooltip="Edit in larger window"
     340          />
     341        </td>
    335342      </tr>
    336343      </table>
    337       <div align=right>&nbsp;<i><base:icon image="required.gif" /> = required information</i></div>
    338344    </t:tab>
    339345   
    340346    <t:tab id="parameters" title="Parameters"
    341347      validate="validateParameters()" helpid="protocol.edit.parameters">
    342     <table class="form" cellspacing=0>
    343    
    344     <tr >
    345       <td><b>Annotation types</b>
    346         <table border="0" cellspacing="0" cellpadding="0">
    347         <tr >
     348      <table class="fullform input100">
     349      <tr class="big">
     350        <th>Annotation types</th>
    348351        <td>
    349           <select name="annotationTypes" size="10" multiple style="width: 20em;">
    350           </select>
    351           <input type="hidden" name="addedAnnotationTypes" value="">
    352           <input type="hidden" name="removedAnnotationTypes" value="">
     352        <div class="selectionlist">
     353          <table>
     354          <tr>
     355            <td>
     356            <select name="annotationTypes" size="20" multiple>
     357            </select>
     358            </td>
     359            <td style="vertical-align: top;">
     360              <base:buttongroup vertical="true">
     361                <base:button
     362                  subclass="leftaligned"
     363                  style="width: 15em;"
     364                  onclick="addAnnotationTypesOnClick()"
     365                  title="Add annotation types&hellip;"
     366                  tooltip="Add annotation types"
     367                  />
     368                <base:button
     369                  subclass="leftaligned"
     370                  style="width: 15em;"
     371                  onclick="removeAnnotationTypesOnClick()"
     372                  title="Remove"
     373                  tooltip="Remove the selected annotation types"
     374                />
     375              </base:buttongroup>
     376            <input type="hidden" name="addedAnnotationTypes" value="">
     377            <input type="hidden" name="removedAnnotationTypes" value="">
     378            </td>
     379          </tr>
     380          </table>
     381        </div>
    353382        </td>
    354         <td>
    355           <table border="0">
    356           <tr><td width="150"><base:button
    357             clazz="leftaligned buttonclass"
    358             onclick="addAnnotationTypesOnClick()"
    359             title="Add annotation types&hellip;"
    360             tooltip="Add annotation types"
    361             /></td></tr>
    362           <tr><td width="150"><base:button
    363             clazz="leftaligned buttonclass"
    364             onclick="removeAnnotationTypesOnClick()"
    365             title="Remove"
    366             tooltip="Remove the selected annotation types"
    367           /></td></tr>
    368           </table>
    369         </td>
    370         </tr>
    371         </table>
    372       </td>
    373     </tr>
    374     </table>
     383      </tr>
     384      <tr class="dynamic">
     385        <th></th>
     386        <td></td>
     387      </tr>
     388      </table>
    375389    </t:tab>
    376390   
    377     <t:tab id="annotations" title="Annotations"
    378       helpid="annotations.edit" tooltip="Enter values for annotations">
    379       <iframe name="annotations" id="idAnnotations" src="../../common/annotations/wait.jsp"
    380         width="100%"  height="<%=(int)(scale*370)%>" frameborder=0 vspace=0 hspace=0
    381         marginwidth=0 marginheight=0 scrolling="auto" style="overflow: visible"></iframe>
    382     </t:tab>
    383    
     391    <t:tab id="annotations" title="Annotations" helpid="annotations.edit"><iframe
     392      name="annotations" id="idAnnotations" src="../../common/annotations/wait.jsp"
     393      style="width: 100%; height: 100%;"></iframe></t:tab>
     394
    384395    </t:tabcontrol>
    385 
    386     <table align="center">
    387     <tr>
    388       <td width="50%"><base:button onclick="saveSettings()" title="Save" /></td>
    389       <td width="50%"><base:button onclick="window.close()" title="Cancel" /></td>
    390     </tr>
    391     </table>
    392396    </form>
     397   
     398    <div class="legend">
     399      <base:icon image="required.gif" /> = required information
     400    </div>
     401
     402    <base:buttongroup subclass="dialogbuttons">
     403      <base:button onclick="saveSettings()" title="Save" />
     404      <base:button onclick="window.close()" title="Cancel" />
     405    </base:buttongroup>
    393406  </base:body>
    394407  </base:page>
  • trunk/www/admin/quota/edit_quota.jsp

    r5908 r5921  
    7474  StringBuilder sb = new StringBuilder();
    7575  sb.append("<input type=\"text\" class=\"").append(clazz).append("\"");
    76   sb.append(" size=\"16\" maxlength=\"16\"");
     76  sb.append(" maxlength=\"16\" style=\"width: 16em;\"");
    7777  sb.append(" name=\"").append(location.name()).append(type.getId()).append("\"");
    7878  sb.append(" value=\"").append(fBytes).append("\"");
     
    149149        return false;
    150150      }
    151       return true;
    152     }
    153     // Validate the "Quota values" tab
    154     function validateValues()
    155     {
    156       var frm = document.forms['quota'];
    157151      if (Main.trimString(frm.<%=Location.PRIMARY.name()+total.getId()%>.value) == '')
    158152      {
     
    171165      if (TabControl.validateActiveTab('settings'))
    172166      {
    173         if (!validateValues()) return;
    174167        frm.submit();
    175168      }
     
    211204  </base:head>
    212205  <base:body onload="init()">
    213     <p>
     206    <h1><%=title%> <base:help tabcontrol="settings" /></h1>
    214207    <form action="index.jsp?ID=<%=ID%>" method="post" name="quota" onsubmit="return false;">
    215208    <input type="hidden" name="cmd" value="UpdateItem">
    216209
    217     <h3 class="docked"><%=title%> <base:help tabcontrol="settings" /></h3>
    218     <t:tabcontrol id="settings" contentstyle="<%="height: "+(int)(scale*320)+"px;"%>"
     210    <t:tabcontrol id="settings"
     211      subclass="content dialogtabcontrol"
    219212      position="bottom" remember="<%=quota != null%>"
    220213      extensions="<%=invoker%>">
    221214    <t:tab id="info" title="Quota" validate="validateQuota()" helpid="quota.edit">
    222       <table class="form" cellspacing=0>
    223       <tr>
    224         <td class="prompt">Name</td>
    225         <td><input <%=requiredClazz%> type="text" name="name"
     215      <table class="fullform input100 smaller">
     216      <tr>
     217        <th>Name</th>
     218        <td colspan="2"><input <%=requiredClazz%> type="text" name="name"
    226219          value="<%=HTML.encodeTags(quota == null ? Values.getString(cc.getPropertyValue("name"), "New quota") : quota.getName())%>"
    227           size="40" maxlength="<%=Quota.MAX_NAME_LENGTH%>"></td>
    228       </tr>
    229       <tr >
    230         <td class="prompt">Description</td>
    231         <td nowrap>
    232           <textarea <%=clazz%> rows="4" cols="40" name="description"
    233             ><%=HTML.encodeTags(quota == null ? cc.getPropertyValue("description") : quota.getDescription())%></textarea>
    234           <a href="javascript:Main.zoom('Description', 'quota', 'description')"
    235             title="Edit in larger window"><base:icon image="zoom.png" /></a>
    236         </td>
    237       </tr>
    238       </table>
    239       <div align=right>&nbsp;<i><base:icon image="required.gif" /> = required information</i></div>
    240     </t:tab>
    241    
    242     <t:tab id="values" title="Quota values" tooltip="Specify maximum disk usage values"
    243       validate="validateValues()" helpid="quota.edit.values">
    244       <table class="form" width="100%">
    245       <tr>
     220          maxlength="<%=Quota.MAX_NAME_LENGTH%>"></td>
    246221        <td></td>
     222      </tr>
     223      <tr>
     224        <th></th>
    247225        <td><b>Primary location</b></td>
    248226        <td><b>Secondary location</b></td>
    249       </tr>
    250       <tr>
    251         <td class="prompt">Total quota</td>
     227        <td></td>
     228      </tr>
     229      <tr>
     230        <th style="border-top: 0px; border-bottom: 1px dotted #A0A0A0;">Total quota</th>
    252231        <td><%=getQuotaInput(quota, total, Location.PRIMARY)%></td>
    253232        <td><%=getQuotaInput(quota, total, Location.SECONDARY)%></td>
    254       </tr>
    255       <tr>
    256         <td colspan="3" style="border-top: 1px solid #cccccc"></td>
     233        <td></td>
    257234      </tr>
    258235      <%
     
    262239        %>
    263240        <tr>
    264         <td><%=HTML.encodeTags(current.getName())%></td>
    265         <td><%=getQuotaInput(quota, current, Location.PRIMARY)%></td>
    266         <td><%=getQuotaInput(quota, current, Location.SECONDARY)%></td>
     241          <th class="subprompt"><%=HTML.encodeTags(current.getName())%></th>
     242          <td><%=getQuotaInput(quota, current, Location.PRIMARY)%></td>
     243          <td><%=getQuotaInput(quota, current, Location.SECONDARY)%></td>
     244          <td></td>
    267245        </tr>
    268246        <%
     
    270248      %>
    271249      <tr>
     250        <th class="subprompt"></th>
    272251        <td colspan="3">
    273           <div align="right">&nbsp;<i><base:icon image="required.gif" /> = required information</i></div>
    274             <br>
     252          <div class="messagecontainer help" style="margin: 0.5em 0px 0.5em 0px;">
    275253            The individual quota values doesn't have to sum up to the total value.
    276254            The most restrictive value is always used.
     
    282260            <li><b>bytes</b> or <b>b</b> for byte values (<code>50 bytes</code>)
    283261            </ul>
     262          </div>
    284263        </td>
    285264      </tr>
     265      <tr class="dynamic">
     266        <th>Description</th>
     267        <td colspan="2">
     268          <textarea <%=clazz%> rows="6" name="description"
     269            ><%=HTML.encodeTags(quota == null ? cc.getPropertyValue("description") : quota.getDescription())%></textarea>
     270        </td>
     271        <td style="width: 20px;">
     272          <base:icon image="zoom.png"
     273            onclick="Main.zoom('Description', 'quota', 'description')"
     274            tooltip="Edit in larger window"
     275          />
     276        </td>
     277      </tr>
    286278      </table>
    287      
    288279    </t:tab>
     280    </t:tabcontrol>
     281    </form>
    289282   
    290     </t:tabcontrol>
    291 
    292     <table align="center">
    293     <tr>
    294       <td width="50%"><base:button onclick="saveSettings()" title="Save" /></td>
    295       <td width="50%"><base:button onclick="window.close()" title="Cancel" /></td>
    296     </tr>
    297     </table>
    298     </form>
     283    <div class="legend">
     284      <base:icon image="required.gif" /> = required information
     285    </div>
     286
     287    <base:buttongroup subclass="dialogbuttons">
     288      <base:button onclick="saveSettings()" title="Save" />
     289      <base:button onclick="window.close()" title="Cancel" />
     290    </base:buttongroup>
    299291  </base:body>
    300292  </base:page>
  • trunk/www/admin/reporterclonetemplates/edit_template.jsp

    r5908 r5921  
    156156  </base:head>
    157157  <base:body onload="init()">
    158     <p>
     158    <h1><%=title%> <base:help tabcontrol="settings" /></h1>
    159159    <form action="index.jsp?ID=<%=ID%>" method="post" name="template" onsubmit="return false;">
    160160    <input type="hidden" name="cmd" value="UpdateItem">
    161161
    162     <h3 class="docked"><%=title%> <base:help tabcontrol="settings" /></h3>
    163     <t:tabcontrol id="settings" contentstyle="<%="height: "+(int)(scale*320)+"px;"%>"
     162    <t:tabcontrol id="settings"
     163      subclass="content dialogtabcontrol"
    164164      position="bottom"  remember="<%=template != null%>" switch="switchTab"
    165165      extensions="<%=invoker%>">
    166166    <t:tab id="info" title="Reporter clone template" validate="validateTemplate()" helpid="reporterclonetemplate.edit">
    167       <table class="form" cellspacing=0>
     167      <table class="fullform input100 smaller">
    168168      <tr>
    169         <td class="prompt">Name</td>
     169        <th>Name</th>
    170170        <td><input <%=requiredClazz%> type="text" name="name"
    171171          value="<%=HTML.encodeTags(template == null ? Values.getString(cc.getPropertyValue("name"), "New reporter clone template") : template.getName())%>"
    172           size="40" maxlength="<%=ReporterCloneTemplate.MAX_NAME_LENGTH%>"></td>
     172          maxlength="<%=ReporterCloneTemplate.MAX_NAME_LENGTH%>"></td>
     173        <td></td>
    173174      </tr>
    174       <tr>
    175         <td class="prompt">Properties</td>
     175      <tr class="big">
     176        <th>Properties</th>
    176177        <td>
    177           <table border="0" cellspacing="0" cellpadding="0" width="100%">
     178          <table style="width: 100%;">
    178179          <tr>
    179             <td width="45%">
     180            <td style="width: 47%;">
    180181              <b>Cloned</b><br>
    181182              <select name="cloned_properties" multiple size="12" style="width: 100%;"
     
    194195            </td>
    195196           
    196             <td style="vertical-align: middle; padding: 5px;" width="10%">
    197                <br>
    198               <base:button
    199                 onclick="moveBetween(document.forms['template'].uncloned_properties, document.forms['template'].cloned_properties)"
    200                 title="<img src='../../images/move_left.png' alt='' style='vertical-align: middle;'>"
    201                 tooltip="Clone the selected uncloned properties"
    202               /><p>
    203               <base:button
    204                 onclick="moveBetween(document.forms['template'].cloned_properties, document.forms['template'].uncloned_properties, true)"
    205                 title="<img src='../../images/move_right.png' alt='' style='vertical-align: middle;'>"
    206                 tooltip="Do not cloned the selected properties"
    207               />
    208               <br>
     197            <td style="vertical-align: middle; padding: 5px;" style="width: 6%;">
     198               <base:buttongroup vertical="true">
     199                <base:button
     200                  onclick="moveBetween(document.forms['template'].uncloned_properties, document.forms['template'].cloned_properties)"
     201                  image="move_left.png"
     202                  tooltip="Clone the selected uncloned properties"
     203                  subclass="square"
     204                />
     205                <base:button
     206                  onclick="moveBetween(document.forms['template'].cloned_properties, document.forms['template'].uncloned_properties, true)"
     207                  image="move_right.png"
     208                  tooltip="Do not cloned the selected properties"
     209                  subclass="square"
     210                />
     211              </base:buttongroup>
    209212            </td>
    210213           
    211             <td width="45%">
     214            <td style="width: 47%;">
    212215              <b>Not cloned</b><br>
    213216              <select name="uncloned_properties" multiple size="12" style="width: 100%;"
     
    230233          </table>
    231234        </td>
     235        <td></td>
    232236      </tr>
    233       <tr >
    234         <td class="prompt">Description</td>
    235         <td nowrap>
    236           <textarea <%=clazz%> rows="4" cols="40" name="description"
     237      <tr class="dynamic">
     238        <th>Description</th>
     239        <td>
     240          <textarea <%=clazz%> rows="6" name="description"
    237241            ><%=HTML.encodeTags(template == null ? cc.getPropertyValue("description") : template.getDescription())%></textarea>
    238           <a href="javascript:Main.zoom('Description', 'template', 'description')"
    239             title="Edit in larger window"><base:icon image="zoom.png" /></a>
     242        </td>
     243        <td style="width: 20px;">
     244          <base:icon image="zoom.png"
     245            onclick="Main.zoom('Description', 'template', 'description')"
     246            tooltip="Edit in larger window"
     247          />
    240248        </td>
    241249      </tr>
    242250      </table>
    243       <div align=right>&nbsp;<i><base:icon image="required.gif" /> = required information</i></div>
    244251    </t:tab>
     252    </t:tabcontrol>
     253    </form>
    245254   
    246     </t:tabcontrol>
    247 
    248     <table align="center">
    249     <tr>
    250       <td width="50%"><base:button onclick="saveSettings()" title="Save" /></td>
    251       <td width="50%"><base:button onclick="window.close()" title="Cancel" /></td>
    252     </tr>
    253     </table>
    254     </form>
     255    <div class="legend">
     256      <base:icon image="required.gif" /> = required information
     257    </div>
     258
     259    <base:buttongroup subclass="dialogbuttons">
     260      <base:button onclick="saveSettings()" title="Save" />
     261      <base:button onclick="window.close()" title="Cancel" />
     262    </base:buttongroup>
    255263  </base:body>
    256264  </base:page>
  • trunk/www/admin/roles/edit_role.jsp

    r5908 r5921  
    351351  </base:head>
    352352  <base:body onload="init()">
    353     <p>
     353    <h1><%=title%> <base:help tabcontrol="settings" /></h1>
    354354    <form action="index.jsp?ID=<%=ID%>" method="post" name="role" onsubmit="return false;">
    355355    <input type="hidden" name="cmd" value="UpdateItem">
    356356
    357     <h3 class="docked"><%=title%> <base:help tabcontrol="settings" /></h3>
    358     <t:tabcontrol id="settings" contentstyle="<%="height: "+(int)(scale*300)+"px;"%>"
     357    <t:tabcontrol id="settings"
     358      subclass="content dialogtabcontrol"
    359359      position="bottom" remember="<%=role != null%>"
    360360      extensions="<%=invoker%>">
    361361    <t:tab id="info" title="Role" validate="validateRole()" helpid="role.edit">
    362       <table class="form" cellspacing=0>
     362      <table class="fullform input100">
    363363      <tr>
    364         <td class="prompt">Name</td>
     364        <th>Name</th>
    365365        <td><input <%=requiredClazz%> type="text" name="name"
    366366          value="<%=HTML.encodeTags(role == null ? Values.getString(cc.getPropertyValue("name"), "New role") : role.getName())%>"
    367           size="40" maxlength="<%=Role.MAX_NAME_LENGTH%>"></td>
     367          maxlength="<%=Role.MAX_NAME_LENGTH%>"></td>
     368        <td></td>
    368369      </tr>
    369       <tr >
    370         <td class="prompt">System-level<br>permissions</td>
     370      <tr class="big">
     371        <th>System-level<br>permissions</th>
    371372        <td>
    372           <input type="checkbox" value="1" name="share_to_everyone"
     373          <input type="checkbox" value="1" name="share_to_everyone" id="share_to_everyone"
    373374            <%=hasShareToEveryone ? "checked" : ""%>
    374             >Share to Everyone<br>
    375           <input type="checkbox" value="1" name="act_as_another_user"
     375            ><label for="share_to_everyone">Share to Everyone</label><br>
     376          <input type="checkbox" value="1" name="act_as_another_user" id="act_as_another_user"
    376377            <%=hasActAsAnotherUser ? "checked" : ""%>
    377             >Act as another user<br>
    378           <input type="checkbox" value="1" name="select_jobagent"
     378            ><label for="act_as_another_user">Act as another user</label><br>
     379          <input type="checkbox" value="1" name="select_jobagent" id="select_jobagent"
    379380            <%=hasSelectJobagent ? "checked" : ""%>
    380             >Select job agent for jobs<br>
     381            ><label for="select_jobagent">Select job agent for jobs</label><br>
    381382        </td>
     383        <td></td>
    382384      </tr>
    383385      <tr>
    384         <td class="prompt">Default</td>
     386        <th>Default</th>
    385387        <td>
    386388          <input type="radio" name="is_default" id="defaultNo" value="0"
     
    389391            <%=isDefault ? "checked" : ""%>><label for="defaultYes">yes</label>
    390392        </td>
     393        <td></td>
    391394      </tr>
    392395
    393       <tr >
    394         <td class="prompt">Description</td>
     396      <tr class="dynamic">
     397        <th>Description</th>
    395398        <td nowrap>
    396           <textarea <%=clazz%> rows="4" cols="40" name="description"
     399          <textarea <%=clazz%> rows="6" name="description"
    397400            ><%=HTML.encodeTags(role == null ? cc.getPropertyValue("description") : role.getDescription())%></textarea>
    398           <a href="javascript:Main.zoom('Description', 'role', 'description')"
    399             title="Edit in larger window"><base:icon image="zoom.png" /></a>
     401        </td>
     402        <td style="width: 20px;">
     403          <base:icon image="zoom.png"
     404            onclick="Main.zoom('Description', 'role', 'description')"
     405            tooltip="Edit in larger window"
     406          />
    400407        </td>
    401408      </tr>
    402409      </table>
    403       <div align=right>&nbsp;<i><base:icon image="required.gif" /> = required information</i></div>
    404410    </t:tab>
    405411   
    406412    <t:tab id="permissions" title="Permissions"
    407413      tooltip="Set permissions for this role" helpid="role.edit.permissions">
    408     <table >
    409     <tr >
    410     <td>
    411       <b>Item types</b><br>
    412       <select name="items" size="15" onChange="showPermissions(this[this.selectedIndex].value);" multiple>
    413       <%
    414       Map<String, List<Item>> permissionGroups = PermissionUtil.getPermissionGroups();
    415       for (Map.Entry<String, List<Item>> entry : permissionGroups.entrySet())
    416       {
    417         String name = entry.getKey();
    418         List<Item> items = entry.getValue();
    419         %>
    420         <option class="selectoptionheader" value="">-- <%=name%>
    421         <%
    422         for (Item item : items)
    423         {
     414      <table class="fullform">
     415      <tr class="dynamic">
     416      <th>Item types</th>
     417      <td>
     418        <table>
     419        <tr>
     420        <td>
     421          <select name="items" size="15" onChange="showPermissions(this[this.selectedIndex].value);" multiple>
     422          <%
     423          Map<String, List<Item>> permissionGroups = PermissionUtil.getPermissionGroups();
     424          for (Map.Entry<String, List<Item>> entry : permissionGroups.entrySet())
     425          {
     426            String name = entry.getKey();
     427            List<Item> items = entry.getValue();
     428            %>
     429            <option class="selectoptionheader" value="">-- <%=name%>
     430            <%
     431            for (Item item : items)
     432            {
     433              %>
     434              <%=getOption(dc, role, item)%>
     435              <%
     436            }
     437          }
    424438          %>
    425           <%=getOption(dc, role, item)%>
    426           <%
    427         }
    428       }
    429       %>
    430       </select>
    431     </td>
    432     <td>
    433       <b>Permissions</b><br>
    434       <input type="checkbox" name="deny" onClick="setPermissions(this.checked, true)">Deny<br>
    435       <input type="checkbox" name="create" onClick="setPermissions(this.checked)">Create<br>
    436       <input type="checkbox" name="read" onClick="setPermissions(this.checked)">Read<br>
    437       <input type="checkbox" name="use" onClick="setPermissions(this.checked)">Use<br>
    438       <input type="checkbox" name="write" onClick="setPermissions(this.checked)">Write<br>
    439       <input type="checkbox" name="delete" onClick="setPermissions(this.checked)">Delete<br>
    440       <input type="checkbox" name="set_owner" onClick="setPermissions(this.checked)">Set owner<br>
    441       <input type="checkbox" name="set_permission" onClick="setPermissions(this.checked)">Set permission<br>
     439          </select>
     440        </td>
     441        <td style="vertical-align: top; padding-left: 2px;">
     442          <b>Permissions</b><br>
     443          <input type="checkbox" name="deny" id="deny" onClick="setPermissions(this.checked, true)"><label for="deny">Deny</label><br>
     444          <input type="checkbox" name="create" id="create" onClick="setPermissions(this.checked)"><label for="create">Create</label><br>
     445          <input type="checkbox" name="read" id="read" onClick="setPermissions(this.checked)"><label for="read">Read</label><br>
     446          <input type="checkbox" name="use" id="use" onClick="setPermissions(this.checked)"><label for="use">Use</label><br>
     447          <input type="checkbox" name="write" id="write" onClick="setPermissions(this.checked)"><label for="write">Write</label><br>
     448          <input type="checkbox" name="delete" id="delete" onClick="setPermissions(this.checked)"><label for="delete">Delete</label><br>
     449          <input type="checkbox" name="set_owner" id="set_owner" onClick="setPermissions(this.checked)"><label for="set_owner">Set owner</label><br>
     450          <input type="checkbox" name="set_permission" id="set_permission" onClick="setPermissions(this.checked)"><label for="set_permission">Set permission</label><br>
     451          </td>
     452        </tr>
     453        </table>
    442454      </td>
    443     </tr>
    444     </table>
     455      </tr>
     456      </table>
    445457    </t:tab>
    446458   
    447459    <t:tab id="members" title="Members" tooltip="Add/remove members of this role"
    448460      validate="validateMembers()" helpid="role.edit.members">
    449     <table >
    450     <tr >
    451     <td>
    452       <b>Members</b><br>
    453       <select name="members" size="15" multiple
    454         <%=!useUsers ? "disabled readonly class=\"disabled\"" : ""%> style="width: 15em;">
    455       </select>
    456       <input type="hidden" name="removeUsers" value="">
    457       <input type="hidden" name="addUsers" value="">
    458     </td>
    459     <td>
    460       <br>
    461       <table width="150">
    462       <tr><td><base:button
    463         clazz="leftaligned buttonclass"
    464         onclick="addUsersOnClick()"
    465         title="Add&nbsp;users&hellip;"
    466         tooltip="Add users to this role"
    467         disabled="<%=!useUsers %>"
    468         /></td></tr>
    469       <tr><td><base:button
    470         clazz="leftaligned buttonclass"
    471         onclick="removeOnClick()"
    472         title="Remove"
    473         tooltip="Remove the selected items from this role"
    474         disabled="<%=!useUsers%>"
    475       /></td></tr>
     461      <table class="fullform">
     462      <tr class="dynamic">
     463      <th>Members</th>
     464      <td>
     465          <div class="selectionlist">
     466          <table>
     467          <tr>
     468            <td>
     469            <select name="members" size="15" multiple <%=!useUsers ? "disabled readonly class=\"disabled\"" : ""%>>
     470            </select>
     471          </td>
     472          <td style="vertical-align: top;">
     473            <base:buttongroup vertical="true">
     474              <base:button
     475                subclass="leftaligned"
     476                style="width: 12em;"
     477                onclick="addUsersOnClick()"
     478                title="Add&nbsp;users&hellip;"
     479                tooltip="Add users to this role"
     480                disabled="<%=!useUsers %>"
     481              />
     482              <base:button
     483                subclass="leftaligned"
     484                style="width: 12em;"
     485                onclick="removeOnClick()"
     486                title="Remove"
     487                tooltip="Remove the selected items from this role"
     488                disabled="<%=!useUsers%>"
     489              />
     490            </base:buttongroup>
     491            <input type="hidden" name="removeUsers" value="">
     492            <input type="hidden" name="addUsers" value="">
     493          </td>
     494          </tr>
     495          </table>
     496          </div>
     497      </td>
     498      </tr>
    476499      </table>
    477     </td>
    478     </tr>
    479     </table>
    480500    </t:tab>
    481501    </t:tabcontrol>
    482 
    483     <table align="center">
    484     <tr>
    485       <td width="50%"><base:button onclick="saveSettings()" title="Save" /></td>
    486       <td width="50%"><base:button onclick="window.close()" title="Cancel" /></td>
    487     </tr>
    488     </table>
    489502    <%
    490503    ItemResultList<RoleKey> roleKeys = roleKeyQuery.list(dc);
     
    501514    %>
    502515    </form>
     516   
     517    <div class="legend">
     518      <base:icon image="required.gif" /> = required information
     519    </div>
     520
     521    <base:buttongroup subclass="dialogbuttons">
     522      <base:button onclick="saveSettings()" title="Save" />
     523      <base:button onclick="window.close()" title="Cancel" />
     524    </base:buttongroup>
     525
     526    <table align="center">
     527    <tr>
     528      <td width="50%"><base:button onclick="saveSettings()" title="Save" /></td>
     529      <td width="50%"><base:button onclick="window.close()" title="Cancel" /></td>
     530    </tr>
     531    </table>
     532
    503533  </base:body>
    504534  </base:page>
  • trunk/www/admin/software/edit_software.jsp

    r5908 r5921  
    146146  </base:head>
    147147  <base:body onload="init()">
    148     <p>
     148    <h1><%=title%> <base:help tabcontrol="settings" /></h1>
    149149    <form action="index.jsp?ID=<%=ID%>" method="post" name="software" onsubmit="return false;">
    150150    <input type="hidden" name="cmd" value="UpdateItem">
    151151
    152     <h3 class="docked"><%=title%> <base:help tabcontrol="settings" /></h3>
    153     <t:tabcontrol id="settings" contentstyle="<%="height: "+(int)(scale*180)+"px;"%>"
     152    <t:tabcontrol id="settings"
     153      subclass="content dialogtabcontrol"
    154154      position="bottom"  remember="<%=software != null%>"
    155155      extensions="<%=invoker%>">
    156156    <t:tab id="info" title="Software" validate="validateSoftware()" helpid="software.edit">
    157       <table class="form" cellspacing=0>
     157      <table class="fullform input100 smaller">
    158158      <tr>
    159         <td class="prompt">Name</td>
     159        <th>Name</th>
    160160        <td><input <%=requiredClazz%> type="text" name="name"
    161161          value="<%=HTML.encodeTags(software == null ? Values.getString(cc.getPropertyValue("name"), "New software") : software.getName())%>"
    162           size="40" maxlength="<%=Software.MAX_NAME_LENGTH%>"></td>
    163       </tr>
    164       <tr >
    165         <td class="prompt">Type</td>
    166         <td colspan="2">
     162          maxlength="<%=Software.MAX_NAME_LENGTH%>"></td>
     163        <td></td>
     164      </tr>
     165      <tr>
     166        <th>Type</th>
     167        <td>
    167168          <select name="subtype_id"
    168169            <%=!readCurrentSubtype ? "disabled readonly class=\"disabled selectionlist\"" : "class=\"selectionlist\""%>>
     
    194195          </select>
    195196        </td>
     197        <td></td>
    196198      </tr>
    197199      <tr>
    198         <td class="prompt">Version</td>
     200        <th>Version</th>
    199201        <td><input <%=clazz%> type="text" name="version"
    200202          value="<%=HTML.encodeTags(software == null ? cc.getPropertyValue("versionString") : software.getVersionString())%>"
    201           size="40" maxlength="<%=Software.MAX_VERSIONSTRING_LENGTH%>"></td>
     203          maxlength="<%=Software.MAX_VERSIONSTRING_LENGTH%>"></td>
     204        <td></td>
    202205      </tr>
    203206 
    204       <tr >
    205         <td class="prompt">Description</td>
    206         <td nowrap>
    207           <textarea <%=clazz%> rows="4" cols="40" name="description"
     207      <tr class="dynamic">
     208        <th>Description</th>
     209        <td>
     210          <textarea <%=clazz%> rows="6" name="description"
    208211            ><%=HTML.encodeTags(software == null ? cc.getPropertyValue("description") : software.getDescription())%></textarea>
    209           <a href="javascript:Main.zoom('Description', 'software', 'description')"
    210             title="Edit in larger window"><base:icon image="zoom.png" /></a>
    211212        </td>
     213        <td style="width: 20px;">
     214          <base:icon image="zoom.png"
     215            onclick="Main.zoom('Description', 'software', 'description')"
     216            tooltip="Edit in larger window"
     217          />
     218        </td>
    212219      </tr>
    213220      </table>
    214       <div align=right>&nbsp;<i><base:icon image="required.gif" /> = required information</i></div>
    215221    </t:tab>
    216222    </t:tabcontrol>
    217 
    218     <table align="center">
    219     <tr>
    220       <td width="50%"><base:button onclick="saveSettings()" title="Save" /></td>
    221       <td width="50%"><base:button onclick="window.close()" title="Cancel" /></td>
    222     </tr>
    223     </table>
    224223    </form>
     224   
     225    <div class="legend">
     226      <base:icon image="required.gif" /> = required information
     227    </div>
     228
     229    <base:buttongroup subclass="dialogbuttons">
     230      <base:button onclick="saveSettings()" title="Save" />
     231      <base:button onclick="window.close()" title="Cancel" />
     232    </base:buttongroup>
    225233  </base:body>
    226234  </base:page>
  • trunk/www/admin/users/edit_default_membership.jsp

    r5905 r5921  
    115115    {
    116116      var frm = document.forms['user'];
    117       if (TabControl.validateActiveTab('settings'))
     117      if (validateMembership())
    118118      {
    119119        frm.addRoles.value = Link.getActionIds(1, 'R').join(',');
     
    188188  </base:head>
    189189  <base:body onload="init()">
    190     <p>
     190    <h1><%=title%> <base:help helpid="user.edit.default_membership" /></h1>
    191191    <form action="index.jsp?ID=<%=ID%>" method="post" name="user" onsubmit="return false;">
    192192    <input type="hidden" name="cmd" value="UpdateDefaultMembership">
    193193
    194     <h3 class="docked"><%=title%> <base:help tabcontrol="settings" /></h3>
    195     <t:tabcontrol id="settings" contentstyle="<%="height: "+(int)(scale*280)+"px;"%>"
    196       position="bottom">
    197 
    198     <t:tab id="members" title="Membership"  tooltip="Default group and role membership"
    199       validate="validateMembership()" helpid="user.edit.default_membership">
    200       <table >
    201       <tr >
     194    <div class="content filled">
     195      <div>
     196      <table class="fullform smaller bottomborder">
     197      <tr class="dynamic">
     198      <th>Member in</th>
    202199      <td>
    203         <b>Member in</b><br>
    204         <select name="membership" size="14" multiple <%=!writeMembership ? "disabled readonly class=\"disabled\"" : ""%> style="width: 15em;">
    205         </select>
    206         <input type="hidden" name="removeGroups" value="">
    207         <input type="hidden" name="addGroups" value="">
    208         <input type="hidden" name="removeRoles" value="">
    209         <input type="hidden" name="addRoles" value="">
    210       </td>
    211       <td>
    212         <br>
    213         <table width="150">
    214         <tr><td><base:button
    215           onclick="addGroupsOnClick()"
    216           title="Add&nbsp;groups&hellip;" 
    217           tooltip="Add groups to this user"
    218           disabled="<%=!writeMembership %>"
    219         /></td></tr>
    220         <tr><td><base:button
    221           onclick="addRolesOnClick()"
    222           title="Add&nbsp;roles&hellip;" 
    223           tooltip="Add roles to this user"
    224           disabled="<%=!writeMembership %>"
    225         /></td></tr>
    226         <tr><td><base:button
    227           onclick="removeOnClick()"
    228           title="Remove"
    229           tooltip="Remove the user from the selected items"
    230           disabled="<%=!writeMembership%>"
    231         /></td></tr>
    232         </table>
     200        <div class="selectionlist">
     201          <table>
     202          <tr>
     203            <td>
     204              <select name="membership" size="12" multiple <%=!writeMembership ? "disabled readonly class=\"disabled\"" : ""%> style="width: 15em;">
     205              </select>
     206              <input type="hidden" name="removeGroups" value="">
     207              <input type="hidden" name="addGroups" value="">
     208              <input type="hidden" name="removeRoles" value="">
     209              <input type="hidden" name="addRoles" value="">
     210            </td>
     211            <td style="vertical-align: top;">
     212              <base:buttongroup vertical="true">
     213                <base:button
     214                  subclass="leftaligned"
     215                  style="width: 12em;"
     216                  onclick="addGroupsOnClick()"
     217                  title="Add&nbsp;groups&hellip;" 
     218                  tooltip="Add groups to this user"
     219                  disabled="<%=!writeMembership %>"
     220                />
     221                <base:button
     222                  subclass="leftaligned"
     223                  style="width: 12em;"
     224                  onclick="addRolesOnClick()"
     225                  title="Add&nbsp;roles&hellip;" 
     226                  tooltip="Add roles to this user"
     227                  disabled="<%=!writeMembership %>"
     228                />
     229                <base:button
     230                  subclass="leftaligned"
     231                  style="width: 12em;"
     232                  onclick="removeOnClick()"
     233                  title="Remove"
     234                  tooltip="Remove the user from the selected items"
     235                  disabled="<%=!writeMembership%>"
     236                />
     237              </base:buttongroup>
     238            </td>
     239          </tr>
     240          </table>
     241        </div>
    233242      </td>
    234243      </tr>
    235244      </table>
    236 
    237     </t:tab>
    238     </t:tabcontrol>
    239 
    240     <table align="center">
    241     <tr>
    242       <td width="50%"><base:button onclick="saveSettings()" title="Save" /></td>
    243       <td width="50%"><base:button onclick="window.close()" title="Cancel" /></td>
    244     </tr>
    245     </table>
     245      </div>
     246     
     247      <div class="padded">
     248        The selected roles and groups will automatically be assigned to new users.
     249      </div>
     250    </div>
    246251    </form>
     252    <base:buttongroup subclass="dialogbuttons">
     253      <base:button onclick="saveSettings()" title="Save" />
     254      <base:button onclick="window.close()" title="Cancel" />
     255    </base:buttongroup>
    247256  </base:body>
    248257  </base:page>
  • trunk/www/admin/users/edit_user.jsp

    r5908 r5921  
    427427  </base:head>
    428428  <base:body onload="init()">
    429     <p>
     429    <h1><%=title%> <base:help tabcontrol="settings" /></h1>
    430430    <form action="index.jsp?ID=<%=ID%>" method="post" name="user" onsubmit="return false;">
    431431    <input type="hidden" name="cmd" value="UpdateItem">
    432432
    433     <h3 class="docked"><%=title%> <base:help tabcontrol="settings" /></h3>
    434     <t:tabcontrol id="settings" contentstyle="<%="height: "+(int)(scale*300)+"px;"%>"
     433    <t:tabcontrol id="settings"
     434      subclass="content dialogtabcontrol"
    435435      position="bottom" remember="<%=user != null%>"
    436436      extensions="<%=invoker%>">
    437437    <t:tab id="info" title="User" validate="validateUser()" helpid="user.edit">
    438       <table class="form" cellspacing=0>
    439       <tr>
    440         <td class="prompt">Name</td>
    441         <td colspan="2"><input <%=requiredClazz%> type="text" name="name"
     438      <table class="fullform input100">
     439      <tr>
     440        <th>Name</th>
     441        <td><input <%=requiredClazz%> type="text" name="name"
    442442          value="<%=HTML.encodeTags(user == null ? Values.getString(cc.getPropertyValue("name"), "New user") : user.getName())%>"
    443443          size="40" maxlength="<%=User.MAX_NAME_LENGTH%>"></td>
    444       </tr>
    445 
    446       <tr>
    447         <td class="prompt">Login</td>
    448         <td colspan="2"><input <%=requiredClazz%> type="text" name="login"
     444        <td></td>
     445      </tr>
     446      <tr>
     447        <th>Login</th>
     448        <td><input <%=requiredClazz%> type="text" name="login"
    449449          value="<%=HTML.encodeTags(user == null ? cc.getPropertyValue("login") : user.getLogin())%>"
    450           size="40" maxlength="<%=User.MAX_LOGIN_LENGTH%>"></td>
    451       </tr>
    452       <tr>
    453         <td class="prompt">External ID</td>
    454         <td colspan="2"><input <%=clazz%> type="text" name="external_id"
     450          maxlength="<%=User.MAX_LOGIN_LENGTH%>"></td>
     451        <td></td>
     452      </tr>
     453      <tr>
     454        <th>External ID</th>
     455        <td><input <%=clazz%> type="text" name="external_id"
    455456          value="<%=HTML.encodeTags(user == null ? cc.getPropertyValue("externalId") : user.getExternalId())%>"
    456           size="40" maxlength="<%=User.MAX_EXTERNAL_ID_LENGTH%>"></td>
    457       </tr>
    458       <tr>
    459         <td class="prompt">New password</td>
    460         <td colspan="2"><input <%=itemId == 0 ? requiredClazz : clazz%> type="password" name="new_password" value="" size="30" maxlength="30"></td>
    461       </tr>
    462       <tr>
    463         <td class="prompt">Retype password</td>
    464         <td colspan="2"><input <%=itemId == 0 ? requiredClazz : clazz%> type="password" name="retype_password" value="" size="30" maxlength="30"></td>
    465       </tr>
    466       <tr >
    467         <td class="prompt">Quota</td>
    468         <td colspan="2">
    469           <select name="quota_id" <%=!useQuota ? "disabled readonly class=\"disabled\"" : "class=\"required\""%>>
     457          maxlength="<%=User.MAX_EXTERNAL_ID_LENGTH%>"></td>
     458        <td></td>
     459      </tr>
     460      <tr>
     461        <th>New password</th>
     462        <td><input <%=itemId == 0 ? requiredClazz : clazz%> type="password" name="new_password" value="" maxlength="30" style="max-width: 20em;"
     463          <%=itemId == 0 ? "" : "placeholder=\"leave empty to keep the password\"" %>
     464          ></td>
     465        <td></td>
     466      </tr>
     467      <tr>
     468        <th class="subprompt">Retype password</th>
     469        <td><input <%=itemId == 0 ? requiredClazz : clazz%> type="password" name="retype_password" value="" maxlength="30" style="max-width: 20em;"></td>
     470        <td></td>
     471      </tr>
     472      <tr>
     473        <th>Quota</th>
     474        <td>
     475          <select name="quota_id" <%=!useQuota ? "disabled readonly class=\"disabled\"" : "class=\"required selectionlist\""%>>
    470476          <%
    471477          if (!readQuota)
     
    492498          %>
    493499        </td>
    494       </tr>
    495       <tr >
    496         <td class="prompt">Quota group</td>
    497         <td colspan="2">
    498           <select name="quotagroup_id" <%=!useGroups ? "disabled readonly class=\"disabled\"" : ""%>>
     500        <td></td>
     501      </tr>
     502      <tr>
     503        <th>Quota group</th>
     504        <td>
     505          <select name="quotagroup_id" <%=!useGroups ? "disabled readonly class=\"disabled\"" : "class=\"selectionlist\""%>>
    499506          <%
    500507          if (!readGroups)
     
    528535          %>
    529536        </td>
    530       </tr>
    531       <tr >
    532         <td class="prompt">Home directory</td>
    533         <td colspan="2">
    534           <select name="homedirectory_id" <%=!readDirectories ? "disabled readonly class=\"disabled\"" : ""%>>
     537        <td></td>
     538      </tr>
     539      <tr>
     540        <th>Home directory</th>
     541        <td>
     542          <select name="homedirectory_id" <%=!readDirectories ? "disabled readonly class=\"disabled\"" : "class=\"selectionlist\""%>>
    535543          <%
    536544          if (!readDirectories)
     
    568576          %>
    569577        </td>
    570       </tr>
    571       <tr>
    572         <td class="prompt">Expiration date</td>
     578        <td></td>
     579      </tr>
     580      <tr>
     581        <th>Expiration date</th>
    573582        <td>
    574           <input <%=clazz%> type="text" name="expiration_date"
    575             value="<%=HTML.encodeTags(dateFormatter.format(
    576                 user == null ? (Date)cc.getPropertyObject("expirationDate") : user.getExpirationDate())
    577               )%>"
    578             size="20" maxlength="20" title="Enter date in format: <%=htmlDateFormat%>">
     583          <table>
     584          <tr>
     585            <td>
     586            <input <%=clazz%> type="text" name="expiration_date" style="width: 15em;"
     587              value="<%=HTML.encodeTags(dateFormatter.format(
     588                  user == null ? (Date)cc.getPropertyObject("expirationDate") : user.getExpirationDate())
     589                )%>"
     590              maxlength="20" title="Enter date in format: <%=htmlDateFormat%>">
     591            </td>
     592            <td>
     593              <base:button
     594                onclick="<%="Dates.selectDate('Expiration date', 'user', 'expiration_date', null, '"+jsDateFormat + "')"%>"
     595                image="calendar.png"
     596                title="Calendar&hellip;"
     597                tooltip="Select a date from a calendar"
     598              />
     599            </td>
     600          </tr>
     601          </table>
    579602        </td>
    580         <td>
    581         <base:button
    582           onclick="<%="Dates.selectDate('Expiration date', 'user', 'expiration_date', null, '"+jsDateFormat + "')"%>"
    583           image="calendar.png"
    584           title="Calendar&hellip;"
    585           tooltip="Select a date from a calendar"
    586         />
    587         </td>
    588       </tr>
    589       <tr>
    590         <td class="prompt">Multi-user account</td>
    591         <td colspan="2"><input type="checkbox" name="multiuser_account" value="1"
     603        <td></td>
     604      </tr>
     605      <tr>
     606        <th><label for="multiuser_account">Multi-user account</label></th>
     607        <td><input type="checkbox" name="multiuser_account" id="multiuser_account" value="1"
    592608          <%=(user != null && user.isMultiuserAccount()) ||
    593609            (user == null && Values.getBoolean(cc.getPropertyValue("multiuserAccount"))) ? "checked" : ""%>></td>
    594       </tr>
    595       <tr>
    596         <td class="prompt">Disabled</td>
    597         <td colspan="2"><input type="checkbox" name="disabled" value="1"
     610        <td></td>
     611      </tr>
     612      <tr>
     613        <th><label for="disabled">Disabled</label></th>
     614        <td><input type="checkbox" name="disabled" id="disabled" value="1"
    598615          <%=(user != null && user.isDisabled()) ||
    599616            (user == null && Values.getBoolean(cc.getPropertyValue("disabled"))) ? "checked" : ""%>></td>
    600       </tr>
    601      
     617        <td></td>
     618      </tr>
     619      <tr class="dynamic">
     620        <th>Description</th>
     621        <td>
     622          <textarea <%=clazz%> rows="6" name="description"
     623            ><%=HTML.encodeTags(user == null ? cc.getPropertyValue("description") : user.getDescription())%></textarea>
     624        </td>
     625        <td style="width: 20px;">
     626          <base:icon image="zoom.png"
     627            onclick="Main.zoom('Description', 'user', 'description')"
     628            tooltip="Edit in larger window"
     629          />
     630        </td>
     631      </tr>
    602632      </table>
    603       <div align=right>&nbsp;<i><base:icon image="required.gif" /> = required information</i></div>
    604633    </t:tab>
    605634   
    606635    <t:tab id="contact" title="Contact information"
    607636      tooltip="Email, adress, organisation, etc." validate="validateContact()" helpid="user.edit.contact">
    608       <table class="form" cellspacing=0>
    609       <tr>
    610         <td class="prompt">Email</td>
     637      <table class="fullform input100">
     638      <tr>
     639        <th>Email</th>
    611640        <td><input <%=clazz%> type="text" name="email"
    612641          value="<%=HTML.encodeTags(user == null ? cc.getPropertyValue("email") : user.getEmail())%>"
    613           size="40" maxlength="<%=User.MAX_EMAIL_LENGTH%>"></td>
    614       </tr>
    615       <tr>
    616         <td class="prompt">Organisation</td>
     642          maxlength="<%=User.MAX_EMAIL_LENGTH%>"></td>
     643        <td></td>
     644      </tr>
     645      <tr>
     646        <th>Organisation</th>
    617647        <td><input <%=clazz%> type="text" name="organisation"
    618648          value="<%=HTML.encodeTags(user == null ? cc.getPropertyValue("organisation") : user.getOrganisation())%>"
    619           size="40" maxlength="<%=User.MAX_ORGANISATION_LENGTH%>"></td>
    620       </tr>
    621       <tr >
    622         <td class="prompt">Address</td>
     649          maxlength="<%=User.MAX_ORGANISATION_LENGTH%>"></td>
     650        <td></td>
     651      </tr>
     652      <tr class="big">
     653        <th>Address</th>
    623654        <td>
    624           <textarea <%=clazz%> rows="4" cols="40" name="address"
     655          <textarea <%=clazz%> rows="6" name="address"
    625656            wrap="off"><%=HTML.encodeTags(user == null ? cc.getPropertyValue("address") : user.getAddress())%></textarea>
    626           <a href="javascript:Main.zoom('Address', 'user', 'address')" title="Edit in larger window"><base:icon image="zoom.png" /></a>
    627657        </td>
    628       </tr>
    629       <tr>
    630         <td class="prompt">Phone</td>
     658        <td style="width: 20px;">
     659          <base:icon image="zoom.png"
     660            onclick="Main.zoom('Address', 'user', 'address')"
     661            tooltip="Edit in larger window"
     662          />
     663        </td>
     664      </tr>
     665      <tr>
     666        <th>Phone</th>
    631667        <td><input <%=clazz%> type="text" name="phone"
    632668          value="<%=HTML.encodeTags(user == null ? cc.getPropertyValue("phone") : user.getPhone())%>"
    633           size="40" maxlength="<%=User.MAX_PHONE_LENGTH%>"></td>
    634       </tr>
    635       <tr>
    636         <td class="prompt">Fax</td>
     669          maxlength="<%=User.MAX_PHONE_LENGTH%>"></td>
     670        <td></td>
     671      </tr>
     672      <tr>
     673        <th>Fax</th>
    637674        <td><input <%=clazz%> type="text" name="fax"
    638675          value="<%=HTML.encodeTags(user == null ? cc.getPropertyValue("fax") : user.getFax())%>"
    639           size="40" maxlength="<%=User.MAX_FAX_LENGTH%>"></td>
    640       </tr>
    641       <tr>
    642         <td class="prompt">Url</td>
     676          maxlength="<%=User.MAX_FAX_LENGTH%>"></td>
     677        <td></td>
     678      </tr>
     679      <tr>
     680        <th>Url</th>
    643681        <td><input <%=clazz%> type="text" name="url"
    644682          value="<%=HTML.encodeTags(user == null ? cc.getPropertyValue("url") : user.getUrl())%>"
    645           size="40" maxlength="<%=User.MAX_URL_LENGTH%>"></td>
    646       </tr>
    647       <tr >
    648         <td class="prompt">Description</td>
    649         <td nowrap>
    650           <textarea <%=clazz%> rows="4" cols="40" name="description"
    651             ><%=HTML.encodeTags(user == null ? cc.getPropertyValue("description") : user.getDescription())%></textarea>
    652           <a href="javascript:Main.zoom('Description', 'user', 'description')" title="Edit in larger window"><base:icon image="zoom.png" /></a>
    653         </td>
     683          maxlength="<%=User.MAX_URL_LENGTH%>"></td>
     684        <td></td>
     685      </tr>
     686      <tr class="dynamic">
     687        <th></th>
     688        <td colspan="2"></td>
    654689      </tr>
    655690      </table>
     
    661696      <t:tab id="extended" title="Additional info"
    662697        validate="validateExtendedProperties()" helpid="user.edit.additional">
    663         <table class="form" cellspacing="0">
     698        <table class="fullform input100">
    664699          <%
    665700            for (ExtendedProperty ep : ExtendedProperties.getProperties("UserData"))
     
    670705              Object value = user == null ? cc.getPropertyValue(name) : user.getExtended(name);
    671706              String theClazz = required ? requiredClazz : clazz;
     707              boolean addZoom = false;
    672708              %>
    673               <tr >
    674                 <td class="prompt"><%=HTML.encodeTags(ep.getTitle())%></td>
     709              <tr>
     710                <th><%=HTML.encodeTags(ep.getTitle())%></th>
    675711                <td>
    676712                <%
     
    678714                {
    679715                  %>
    680                   <input <%=theClazz%> type="text" name="<%=name%>"
     716                  <input <%=theClazz%> type="text" name="<%=name%>" style="width: 15m;"
    681717                    value="<%=value == null ? "" : value%>"
    682                     size="20" maxlength="20" onkeypress="return Numbers.integerOnly(event)"
     718                    maxlength="20" onkeypress="return Numbers.integerOnly(event)"
    683719                    >
    684720                  <%
     
    688724                  %>
    689725                  <input <%=theClazz%> type="text" name="<%=name%>"
    690                     value="<%=value == null ? "" : value%>"
    691                     size="20" maxlength="20" onkeypress="return Numbers.numberOnly(event)"
     726                    value="<%=value == null ? "" : value%>" style="width: 15m;"
     727                    maxlength="20" onkeypress="return Numbers.numberOnly(event)"
    692728                    >
    693729                  <%
     
    698734                  <input <%=theClazz%> type="text" name="<%=name%>"
    699735                    value="<%=HTML.encodeTags((String)value)%>"
    700                     size="40" maxlength="<%=ep.getLength()%>"
     736                    maxlength="<%=ep.getLength()%>"
    701737                    >
    702738                  <%
     
    704740                else if (type == Type.TEXT)
    705741                {
     742                  addZoom = true;
    706743                  %>
    707                   <textarea <%=theClazz%> name="<%=name%>" rows="6" cols="40"
     744                  <textarea <%=theClazz%> name="<%=name%>" rows="6"
    708745                    ><%=HTML.encodeTags((String)value)%></textarea>
    709                   <a href="javascript:Main.zoom(
    710                     '<%=HTML.javaScriptEncode(ep.getTitle())%>',
    711                     'user', '<%=name%>')"
    712                     title="Edit in larger window"><base:icon image="zoom.png" /></a>
    713746                  <%
    714747                }
     
    740773                  <td>
    741774                    <input <%=theClazz%> type="text" name="<%=name%>"
    742                       value="<%=dateFormatter.format((Date)value)%>"
    743                       size="20" maxlength="20" title="Enter date in format: <%=htmlDateFormat%>"
     775                      value="<%=dateFormatter.format((Date)value)%>" style="width: 15em;"
     776                      maxlength="20" title="Enter date in format: <%=htmlDateFormat%>"
    744777                      >
    745778                  </td>
     
    763796                  <td>
    764797                    <input <%=theClazz%> type="text" name="<%=name%>"
    765                       value="<%=dateTimeFormatter.format((Date)value)%>"
    766                       size="20" maxlength="20" title="Enter timestamp in format: <%=htmlDateTimeFormat%>"
     798                      value="<%=dateTimeFormatter.format((Date)value)%>"  style="width: 15em;"
     799                      maxlength="20" title="Enter timestamp in format: <%=htmlDateTimeFormat%>"
    767800                      >
    768801                  </td>
     
    781814                %>
    782815                </td>
     816                <td style="width: 20px;">
     817                  <%if (addZoom)
     818                  {
     819                    %>
     820                    <base:icon image="zoom.png"
     821                      onclick="<%="Main.zoom('" + HTML.javaScriptEncode(ep.getTitle()) + "', 'user', '" + name + "')"%>"
     822                      tooltip="Edit in larger window"
     823                    />
     824                    <%
     825                  }
     826                  %>
     827                </td>
    783828              </tr>
    784829              <%
    785830            }
    786831          %>
     832          <tr class="dynamic">
     833            <th></th>
     834            <td colspan="2"></td>
     835          </tr>
    787836        </table>
    788837      </t:tab>
     
    792841    <t:tab id="members" title="Membership"  tooltip="Manage group and role membership"
    793842      validate="validateMembership()" helpid="user.edit.membership">
    794       <table >
    795       <tr >
    796       <td>
    797         <b>Member in</b><br>
    798         <select name="membership" size="15" multiple <%=!writeMembership ? "disabled readonly class=\"disabled\"" : ""%> style="width: 15em;">
    799         </select>
    800         <input type="hidden" name="removeGroups" value="">
    801         <input type="hidden" name="addGroups" value="">
    802         <input type="hidden" name="removeRoles" value="">
    803         <input type="hidden" name="addRoles" value="">
    804       </td>
    805       <td>
    806         <br>
    807         <table width="150">
    808         <tr><td><base:button
    809           clazz="leftaligned buttonclass"
    810           onclick="addGroupsOnClick()"
    811           title="Add&nbsp;groups&hellip;" 
    812           tooltip="Add groups to this user"
    813           disabled="<%=!writeMembership %>"
    814         /></td></tr>
    815         <tr><td><base:button
    816           clazz="leftaligned buttonclass"
    817           onclick="addRolesOnClick()"
    818           title="Add&nbsp;roles&hellip;" 
    819           tooltip="Add roles to this user"
    820           disabled="<%=!writeMembership %>"
    821         /></td></tr>
    822         <tr><td><base:button
    823           clazz="leftaligned buttonclass"
    824           onclick="removeOnClick()"
    825           title="Remove"
    826           tooltip="Remove the user from the selected items"
    827           disabled="<%=!writeMembership%>"
    828         /></td></tr>
    829         </table>
    830       </td>
     843      <table class="fullform">
     844      <tr class="dynamic">
     845        <th>Member in</th>
     846        <td>
     847          <div class="selectionlist">
     848            <table>
     849            <tr>
     850              <td>
     851                <select name="membership" size="15" multiple <%=!writeMembership ? "disabled readonly class=\"disabled\"" : ""%>>
     852                </select>
     853                <input type="hidden" name="removeGroups" value="">
     854                <input type="hidden" name="addGroups" value="">
     855                <input type="hidden" name="removeRoles" value="">
     856                <input type="hidden" name="addRoles" value="">
     857              </td>
     858              <td style="vertical-align: top;">
     859                <base:buttongroup vertical="true">
     860                  <base:button
     861                    subclass="leftaligned"
     862                    onclick="addGroupsOnClick()"
     863                    title="Add&nbsp;groups&hellip;" 
     864                    tooltip="Add groups to this user"
     865                    disabled="<%=!writeMembership %>"
     866                  />
     867                  <base:button
     868                    subclass="leftaligned"
     869                    onclick="addRolesOnClick()"
     870                    title="Add&nbsp;roles&hellip;" 
     871                    tooltip="Add roles to this user"
     872                    disabled="<%=!writeMembership %>"
     873                  />
     874                  <base:button
     875                    subclass="leftaligned"
     876                    onclick="removeOnClick()"
     877                    title="Remove"
     878                    tooltip="Remove the user from the selected items"
     879                    disabled="<%=!writeMembership%>"
     880                  />
     881                </base:buttongroup>
     882              </td>
     883            </tr>
     884            </table>
     885          </div>
     886        </td>
    831887      </tr>
    832888      </table>
     
    834890    </t:tab>
    835891    </t:tabcontrol>
    836 
    837     <table align="center">
    838     <tr>
    839       <td width="50%"><base:button onclick="saveSettings()" title="Save" /></td>
    840       <td width="50%"><base:button onclick="window.close()" title="Cancel" /></td>
    841     </tr>
    842     </table>
    843892    </form>
     893   
     894    <div class="legend">
     895      <base:icon image="required.gif" /> = required information
     896    </div>
     897
     898    <base:buttongroup subclass="dialogbuttons">
     899      <base:button onclick="saveSettings()" title="Save" />
     900      <base:button onclick="window.close()" title="Cancel" />
     901    </base:buttongroup>
    844902  </base:body>
    845903  </base:page>
  • trunk/www/admin/users/list_users.jsp

    r5910 r5921  
    201201    function impersonate(userId)
    202202    {
    203       Main.openPopup('../../impersonate.jsp?ID=<%=ID%>&user_id='+userId, 'Impersonate', 480, 240);
     203      Main.openPopup('../../impersonate.jsp?ID=<%=ID%>&user_id='+userId, 'Impersonate', 450, 300);
    204204    }
    205205    function defaultMembership()
    206206    {
    207       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=EditDefaultMembership', 'DefaultMembership', 600, 400);
     207      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=EditDefaultMembership', 'DefaultMembership', 450, 300);
    208208    }
    209209    </script>
  • trunk/www/biomaterials/tags/edit_tag.jsp

    r5913 r5921  
    196196        <th>Description</th>
    197197        <td>
    198           <textarea <%=clazz%> rows="4" name="description"
     198          <textarea <%=clazz%> rows="6" name="description"
    199199            ><%=HTML.encodeTags(tag == null ? cc.getPropertyValue("description") : tag.getDescription())%></textarea>
    200200        </td>
  • trunk/www/filemanager/fileservers/edit_fileserver.jsp

    r5915 r5921  
    208208        <th class="subprompt"></th>
    209209        <td>
    210           <div class="helpmessage" style="margin-top: 0.5em; height: <%=(int)(scale*70)%>px; overflow: auto;">
     210          <div class="messagecontainer help" style="margin: 0.5em 0px 0.5em 0px; height: <%=(int)(scale*70)%>px; overflow: auto;">
    211211          <div id="cmf.auto.description" style="display: none;">
    212212            Automatically select a connection manager among those
  • trunk/www/include/scripts/main.js

    r5920 r5921  
    585585    this.controllers['ANNOTATIONTYPE'] = { url:'admin/annotationtypes/index.jsp', width:540, height:420 };
    586586    this.controllers['ANNOTATIONTYPECATEGORY'] = { url:'admin/annotationtypecategories/index.jsp', width:540, height:400 };
    587     this.controllers['CLIENT'] = { url:'admin/clients/index.jsp', width:500, height:340 };
    588     this.controllers['HELP'] = { url:'admin/clients/help/index.jsp', width:600, height:500 };
    589     this.controllers['FILETYPE'] = { url:'admin/filetypes/index.jsp', width:440, height:280 };
    590     this.controllers['GROUP'] = { url:'admin/groups/index.jsp', width:540, height:400 };
    591     this.controllers['HARDWARE'] = { url:'admin/hardware/index.jsp', width:500, height:340 };
    592     this.controllers['HARDWARETYPE'] = { url:'admin/hardwaretypes/index.jsp', width:500, height:340 };
     587    this.controllers['CLIENT'] = { url:'admin/clients/index.jsp', width:450, height:300 };
     588    this.controllers['HELP'] = { url:'admin/clients/help/index.jsp', width:600, height:400 };
     589    this.controllers['GROUP'] = { url:'admin/groups/index.jsp', width:600, height:400 };
     590    this.controllers['HARDWARE'] = { url:'admin/hardware/index.jsp', width:450, height:300 };
    593591    this.controllers['MIMETYPE'] = { url:'admin/mimetypes/index.jsp', width:540, height:400 };
    594     this.controllers['NEWS'] = { url:'admin/news/index.jsp', width:540, height:400 };
     592    this.controllers['NEWS'] = { url:'admin/news/index.jsp', width:600, height:400 };
    595593    this.controllers['PLUGINCONFIGURATION'] = { url:'admin/pluginconfigurations/index.jsp', width:800, height:500 };
    596594    this.controllers['PLUGINDEFINITION'] = { url:'admin/plugindefinitions/index.jsp', width:800, height:500 };
    597595    this.controllers['PLUGINTYPE'] = { url:'admin/plugintypes/index.jsp', width:700, height:400 };
    598596    this.controllers['JOBAGENT'] = { url:'admin/jobagents/index.jsp', width:700, height:400 };
    599     this.controllers['PROTOCOL'] = { url:'admin/protocols/index.jsp', width:800, height:500 };
    600     this.controllers['PROTOCOLTYPE'] = { url:'admin/protocoltypes/index.jsp', width:500, height:340 };
    601     this.controllers['QUOTA'] = { url:'admin/quota/index.jsp', width:600, height:440 };
     597    this.controllers['PROTOCOL'] = { url:'admin/protocols/index.jsp', width:750, height:500 };
     598    this.controllers['QUOTA'] = { url:'admin/quota/index.jsp', width:750, height:500 };
    602599    this.controllers['QUOTATYPE'] = { url:'admin/quotatypes/index.jsp', width:500, height:340 };
    603600    this.controllers['REPORTERTYPE'] = { url:'admin/reportertypes/index.jsp', width:500, height:340 };
    604     this.controllers['ROLE'] = { url:'admin/roles/index.jsp', width:600, height:440 };
    605     this.controllers['SOFTWARE'] = { url:'admin/software/index.jsp', width:500, height:340 };
    606     this.controllers['SOFTWARETYPE'] = { url:'admin/softwaretypes/index.jsp', width:500, height:340 };
    607     this.controllers['USER'] = { url:'admin/users/index.jsp', width:600, height:440 };
     601    this.controllers['ROLE'] = { url:'admin/roles/index.jsp', width:600, height:400 };
     602    this.controllers['SOFTWARE'] = { url:'admin/software/index.jsp', width:450, height:300 };
     603    this.controllers['USER'] = { url:'admin/users/index.jsp', width:750, height:500 };
    608604    this.controllers['ANYTOANY'] = { url:'common/anytoany/index.jsp', width:500, height:340, popup:true };
    609605    this.controllers['EXTRAVALUETYPE'] = { url:'admin/extravaluetypes/index.jsp', width:500, height:400 };
     
    617613    this.controllers['ANNOTATION'] = { url:'common/annotations/index.jsp', width:700, height:480, edit:true, popup:true };
    618614    this.controllers['ITEMSUBTYPE'] = { url:'admin/itemsubtypes/index.jsp', width:640, height:440 };
    619     this.controllers['REPORTERCLONETEMPLATE'] = { url:'admin/reporterclonetemplates/index.jsp', width:640, height:440 };
     615    this.controllers['REPORTERCLONETEMPLATE'] = { url:'admin/reporterclonetemplates/index.jsp', width:750, height:500 };
    620616  }
    621617 
  • trunk/www/my_base/user/settings.jsp

    r5908 r5921  
    310310                %>
    311311                <input <%=isRequired%> <%=ifDisabled %> type="text" name="<%=name%>"
    312                   value="<%=value == null ? "" : value%>"
    313                   size="20" maxlength="20" onkeypress="return Numbers.integerOnly(event)"
     312                  value="<%=value == null ? "" : value%>" style="width: 15m;"
     313                  maxlength="20" onkeypress="return Numbers.integerOnly(event)"
    314314                  >
    315315                <%
     
    319319                %>
    320320                <input <%=isRequired%> <%=ifDisabled%> type="text" name="<%=name%>"
    321                   value="<%=value == null ? "" : value%>"
    322                   size="20" maxlength="20" onkeypress="return Numbers.numberOnly(event)"
     321                  value="<%=value == null ? "" : value%>" style="width: 15m;"
     322                  maxlength="20" onkeypress="return Numbers.numberOnly(event)"
    323323                  >
    324324                <%
     
    368368                <td>
    369369                  <input <%=isRequired%> <%=ifDisabled%> type="text" name="<%=name%>"
    370                     value="<%=dateFormatter.format((Date)value)%>"
    371                     size="20" maxlength="20" title="Enter date in format: <%=htmlDateFormat%>"
     370                    value="<%=dateFormatter.format((Date)value)%>" style="width: 15em;"
     371                    maxlength="20" title="Enter date in format: <%=htmlDateFormat%>"
    372372                    >
    373373                </td>
    374                 <td>&nbsp;</td>
    375374                <td>
    376375                  <base:button
     
    393392                <td>
    394393                  <input <%=isRequired%> <%=ifDisabled%> type="text" name="<%=name%>"
    395                     value="<%=dateTimeFormatter.format((Date)value)%>"
    396                     size="20" maxlength="20" title="Enter timestamp in format: <%=htmlDateTimeFormat%>"
     394                    value="<%=dateTimeFormatter.format((Date)value)%>" style="width: 15em;"
     395                    maxlength="20" title="Enter timestamp in format: <%=htmlDateTimeFormat%>"
    397396                    >
    398397                </td>
    399                 <td>&nbsp;</td>
    400398                <td>
    401399                  <base:button
  • trunk/www/views/experiments/edit_experiment.jsp

    r5916 r5921  
    616616                />
    617617              </base:buttongroup>
    618             <input type="hidden" name="addedRawBioAssays" value="">
    619             <input type="hidden" name="removedRawBioAssays" value="">
     618            <input type="hidden" name="addedAnnotationTypes" value="">
     619            <input type="hidden" name="removedAnnotationTypes" value="">
    620620            </td>
    621621          </tr>
Note: See TracChangeset for help on using the changeset viewer.