Changeset 5949


Ignore:
Timestamp:
Feb 8, 2012, 3:35:29 PM (11 years ago)
Author:
Nicklas Nordborg
Message:

References #1655: GUI improvements

  • Use correct width/height (1050/700) of popups for selecting items from a list.
  • Got rid of the <tbl:columns> tag.
Location:
trunk
Files:
1 deleted
71 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/clients/web/net/sf/basedb/clients/web/taglib/HideableSection.java

    r5935 r5949  
    2424import javax.servlet.jsp.JspException;
    2525import javax.servlet.jsp.JspTagException;
    26 import javax.servlet.jsp.tagext.TagSupport;
    2726
    2827import net.sf.basedb.core.ItemContext;
  • trunk/src/clients/web/net/sf/basedb/clients/web/taglib/path/Path.java

    r5946 r5949  
    2424import javax.servlet.jsp.JspException;
    2525import javax.servlet.jsp.JspTagException;
    26 import javax.servlet.jsp.tagext.TagSupport;
    2726import javax.servlet.http.HttpServletRequest;
    2827
  • trunk/src/clients/web/net/sf/basedb/clients/web/taglib/path/PathElement.java

    r5918 r5949  
    2424import javax.servlet.jsp.JspException;
    2525import javax.servlet.jsp.JspTagException;
    26 import javax.servlet.jsp.tagext.TagSupport;
    2726
    2827import net.sf.basedb.clients.web.taglib.StylableTag;
  • trunk/src/clients/web/net/sf/basedb/clients/web/taglib/table/Data.java

    r5948 r5949  
    8888  The <code>&lt;tbl:data&gt;</code> may contain the following subtags:
    8989  <ul>
    90   <li>{@link Columns &lt;tbl:columns&gt;}: Placeholder for column headers
     90  <li>{@link Headers &lt;tbl:headers&gt;}: Placeholder for column headers
    9191  <li>{@link Rows &lt;tbl:rows&gt;}: Placeholder for rows
    9292  </ul>
  • trunk/src/clients/web/net/sf/basedb/clients/web/taglib/table/Header.java

    r5948 r5949  
    3131/**
    3232  This tag defines a header column among the colummns
    33   or on a row. It should be placed inside a {@link Columns &lt;tbl:headers&gt;}
     33  or on a row. It should be placed inside a {@link HeaderRow &lt;tbl:headers&gt;}
    3434  or {@link Row &lt;tbl:row&gt;} tag.
    3535
  • trunk/www/admin/annotationtypecategories/edit_category.jsp

    r5946 r5949  
    170170      var url = '../annotationtypes/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addAnnotationTypeCallback';
    171171      url += '&exclude='+annotationtypes.join(',');
    172       Main.openPopup(url, 'AddAnnotationTypes', 1000, 700);
     172      Main.openPopup(url, 'AddAnnotationTypes', 1050, 700);
    173173    }
    174174   
  • trunk/www/admin/annotationtypes/edit_annotationtype.jsp

    r5946 r5949  
    359359      var url = '../annotationtypecategories/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addCategoryCallback';
    360360      url += '&exclude='+categories.join(',');
    361       Main.openPopup(url, 'AddCategories', 1000, 700);
     361      Main.openPopup(url, 'AddCategories', 1050, 700);
    362362    }
    363363   
  • trunk/www/admin/extensions/wizard.jsp

    r5935 r5949  
    9595 
    9696  <div class="content bottomborder">
    97   <tbl:table id="extensions" >
     97  <tbl:table id="extensions" subclass="fulltable">
    9898    <tbl:columndef id="file" title="File" />
    9999    <tbl:columndef id="status" title="Status" />
     
    102102    <tbl:columndef id="about" title="About" />
    103103 
    104     <tbl:data>
    105       <tbl:columns></tbl:columns>
     104    <tbl:data style="top: 0px; margin-top: 0px;">
     105      <tbl:headers>
     106        <tbl:headerrow>
     107          <tbl:columnheaders />
     108        </tbl:headerrow>
     109      </tbl:headers>
    106110      <tbl:rows>
    107111      <%
     
    193197            {
    194198              %>
    195               <div class="error" style="text-align: left; margin: 0px;">
     199              <div class="messagecontainer error">
    196200              <%=error.getClass().getSimpleName()%>: <%=HTML.encodeTags(error.getMessage())%>
    197201              </div>
  • trunk/www/admin/groups/edit_group.jsp

    r5946 r5949  
    234234      var url = '../users/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addUserCallback';
    235235      url += '&exclude='+users.join(',');
    236       Main.openPopup(url, 'AddUsers', 1000, 700);
     236      Main.openPopup(url, 'AddUsers', 1050, 700);
    237237    }
    238238    function addUserCallback(userId, name)
     
    247247      var url = '../groups/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addGroupCallback';
    248248      url += '&exclude='+groups.join(',');
    249       Main.openPopup(url, 'AddGroups', 1000, 700);
     249      Main.openPopup(url, 'AddGroups', 1050, 700);
    250250    }
    251251    function addGroupCallback(groupId, name)
  • trunk/www/admin/itemsubtypes/edit_subtype.jsp

    r5946 r5949  
    234234      }
    235235      url += '&exclude=<%=itemId%>';
    236       Main.openPopup(url, 'SelectReleatedSubtype', 1000, 700);
     236      Main.openPopup(url, 'SelectReleatedSubtype', 1050, 700);
    237237    }
    238238    function setRelatedCallback(id, name)
     
    257257      url += '&resetTemporary=1&tmpfilter:INT:itemType=' + itemInfo[itemType].value;
    258258      url += "&exclude="+excludes;
    259       Main.openPopup(url, 'AddFileTypes', 1000, 700);
     259      Main.openPopup(url, 'AddFileTypes', 1050, 700);
    260260    }
    261261    function addFileTypeCallback(fileTypeId, name)
  • trunk/www/admin/jobagents/edit_agent.jsp

    r5946 r5949  
    161161      var url = '../plugindefinitions/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addPluginCallback';
    162162      url += '&exclude='+plugins.join(',');
    163       Main.openPopup(url, 'AddPlugins', 1000, 700);
     163      Main.openPopup(url, 'AddPlugins', 1050, 700);
    164164    }
    165165    function addPluginCallback(pluginId, name)
  • trunk/www/admin/platforms/edit_platform.jsp

    r5946 r5949  
    196196    {
    197197      var frm = document.forms['platform'];
    198       Main.openPopup('../datafiletypes/index.jsp?ID=<%=ID%>&mode=selectmultiple&callback=addFileTypeCallback', 'AddFileTypes', 1000, 700);
     198      Main.openPopup('../datafiletypes/index.jsp?ID=<%=ID%>&mode=selectmultiple&callback=addFileTypeCallback', 'AddFileTypes', 1050, 700);
    199199    }
    200200    function addFileTypeCallback(fileTypeId, name)
  • trunk/www/admin/platforms/variants/edit_variant.jsp

    r5946 r5949  
    203203    {
    204204      var frm = document.forms['variant'];
    205       Main.openPopup('../../datafiletypes/index.jsp?ID=<%=ID%>&mode=selectmultiple&callback=addFileTypeCallback', 'AddFileTypes', 1000, 700);
     205      Main.openPopup('../../datafiletypes/index.jsp?ID=<%=ID%>&mode=selectmultiple&callback=addFileTypeCallback', 'AddFileTypes', 1050, 700);
    206206    }
    207207    function addFileTypeCallback(fileTypeId, name)
  • trunk/www/admin/pluginconfigurations/edit_configuration.jsp

    r5946 r5949  
    223223      %>
    224224      if (frm.plugindefinition_id.length > 0) url += '&item_id='+frm.plugindefinition_id[0].value;
    225       Main.openPopup(url, 'SelectPluginDefinition', 1000, 700);
     225      Main.openPopup(url, 'SelectPluginDefinition', 1050, 700);
    226226    }
    227227    function setPluginCallback(id, name)
  • trunk/www/admin/plugindefinitions/edit_plugin.jsp

    r5946 r5949  
    252252      var url = '../jobagents/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addAgentCallback';
    253253      url += '&exclude='+agents.join(',');
    254       Main.openPopup(url, 'AddAgents', 1000, 700);
     254      Main.openPopup(url, 'AddAgents', 1050, 700);
    255255    }
    256256    function addAgentCallback(agentId, name)
  • trunk/www/admin/protocols/edit_protocol.jsp

    r5946 r5949  
    188188        url += '&item_id='+id;
    189189      }
    190       Main.openPopup(url, 'SelectFile', 1000, 700);
     190      Main.openPopup(url, 'SelectFile', 1050, 700);
    191191    }
    192192    function setFileCallback(id, path)
     
    239239      url += '&resetTemporary=1&tmpfilter:BOOLEAN:protocolParameter=true';
    240240      url += "&exclude="+excludes;
    241       Main.openPopup(url, 'AddAnnotationTypes', 1000, 700);
     241      Main.openPopup(url, 'AddAnnotationTypes', 1050, 700);
    242242    }
    243243    function addAnnotationTypeCallback(annotationTypeId, name)
  • trunk/www/admin/roles/edit_role.jsp

    r5946 r5949  
    235235      var url = '../users/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addUserCallback';
    236236      url += '&exclude='+users.join(',');
    237       Main.openPopup(url, 'AddUsers', 1000, 700);
     237      Main.openPopup(url, 'AddUsers', 1050, 700);
    238238    }
    239239    function addUserCallback(userId, name)
  • trunk/www/admin/services/services.jsp

    r5935 r5949  
    5656  </base:head>
    5757  <base:body>
    58  
     58  <h1>Manage Services</h1>
     59  <div class="content">
    5960    <tbl:table
    6061      id="services"
    61        
     62      subclass="fulltable topborder"
    6263      columns="all"
    6364      >
     
    7879        title="Actions"
    7980      />
    80       <tbl:data>
    81         <tbl:columns />
     81      <tbl:data style="top: 0px;  margin-top: 0px;">
     82        <tbl:headers>
     83          <tbl:headerrow>
     84            <tbl:columnheaders />
     85          </tbl:headerrow>
     86        </tbl:headers>
    8287        <tbl:rows>
    83        
    8488        <%
    8589        Extension last = null;
     
    112116              {
    113117                %>
    114                 <div class="error">
     118                <div class="messagecontainer error">
    115119                <base:icon image="error.png"
    116120                    onclick="<%="toggleStacktrace(event, '" + ext.getId() + "')"%>"
     
    163167          <%
    164168        }
     169        if (numServices == 0)
     170        {
     171          %>
     172          <tbl:panel clazz="messagepanel">
     173            <div class="messagecontainer note">No services are installed</div>
     174          </tbl:panel> 
     175          <%
     176        }
    165177        %>
    166178        </tbl:rows>
    167179      </tbl:data>
    168       <%
    169       if (numServices == 0)
    170       {
    171         %>
    172         <tbl:panel>No services are installed</tbl:panel>
    173         <%
    174       }
    175       %>
    176180    </tbl:table>
    177 
     181  </div>
    178182  </base:body>
    179183  </base:page>
  • trunk/www/admin/users/edit_default_membership.jsp

    r5922 r5949  
    158158      var url = '../roles/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addRoleCallback';
    159159      url += '&exclude='+roles.join(',');
    160       Main.openPopup(url, 'AddRoles', 1000, 700);
     160      Main.openPopup(url, 'AddRoles', 1050, 700);
    161161    }
    162162    function addRoleCallback(roleId, name)
     
    172172      var url = '../groups/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addGroupCallback';
    173173      url += '&exclude='+groups.join(',');
    174       Main.openPopup(url, 'AddGroups', 1000, 700);
     174      Main.openPopup(url, 'AddGroups', 1050, 700);
    175175    }
    176176    function addGroupCallback(groupId, name)
  • trunk/www/admin/users/edit_user.jsp

    r5946 r5949  
    398398      var url = '../roles/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addRoleCallback';
    399399      url += '&exclude='+roles.join(',');
    400       Main.openPopup(url, 'AddRoles', 1000, 700);
     400      Main.openPopup(url, 'AddRoles', 1050, 700);
    401401    }
    402402    function addRoleCallback(roleId, name)
     
    411411      var url = '../groups/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addGroupCallback';
    412412      url += '&exclude='+groups.join(',');
    413       Main.openPopup(url, 'AddGroups', 1000, 700);
     413      Main.openPopup(url, 'AddGroups', 1050, 700);
    414414    }
    415415    function addGroupCallback(groupId, name)
  • trunk/www/biomaterials/bioplates/edit_bioplate.jsp

    r5946 r5949  
    229229      var url = '../../lims/geometries/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectone&callback=setPlateGeometryCallback';
    230230      if (frm.plategeometry_id.length > 0) url += '&item_id='+frm.plategeometry_id[0].value;
    231       Main.openPopup(url, 'SelectPlateGeometry', 1000, 700);
     231      Main.openPopup(url, 'SelectPlateGeometry', 1050, 700);
    232232    }
    233233    function setPlateGeometryCallback(plateGeometryId, name)
     
    248248      var url = '../bioplatetypes/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectone&callback=setBioPlateTypeCallback';
    249249      if (frm.bioplatetype_id.length > 0) url += '&item_id='+frm.bioplatetype_id[0].value;
    250       Main.openPopup(url, 'SelectBioPlateType', 1000, 700);
     250      Main.openPopup(url, 'SelectBioPlateType', 1050, 700);
    251251    }
    252252    function setBioPlateTypeCallback(bioPlateTypeId, name)
     
    272272      }
    273273      url += '&resetTemporary=1&tmpfilter:INT:itemSubtype=<%=SystemItems.getId(Hardware.FREEZER)%>';
    274       Main.openPopup(url, 'SelectFreezer', 1000, 700);
     274      Main.openPopup(url, 'SelectFreezer', 1050, 700);
    275275    }
    276276    function setFreezerCallback(freezerId, name)
  • trunk/www/biomaterials/bioplates/events/edit_event.jsp

    r5946 r5949  
    149149      }
    150150      url += '&resetTemporary=1';
    151       Main.openPopup(url, 'SelectHardware', 1000, 700);
     151      Main.openPopup(url, 'SelectHardware', 1050, 700);
    152152    }
    153153    function setHardwareCallback(id, name)
     
    174174      }
    175175      url += '&resetTemporary=1';
    176       Main.openPopup(url, 'SelectProtocol', 1000, 700);
     176      Main.openPopup(url, 'SelectProtocol', 1050, 700);
    177177    }
    178178    function setProtocolCallback(id, name)
  • trunk/www/biomaterials/bioplates/events/view_event.jsp

    r5946 r5949  
    432432            />
    433433            <tbl:data>
    434               <tbl:columns></tbl:columns>
     434              <tbl:headers>
     435                <tbl:headerrow>
     436                  <tbl:columnheaders />
     437                </tbl:headerrow>
     438              </tbl:headers>
    435439              <tbl:rows>
    436440                <%
  • trunk/www/biomaterials/bioplates/wells/edit_biowell.jsp

    r5913 r5949  
    141141      }
    142142      %>
    143       Main.openPopup(url, 'Select'+type, 1000, 700);
     143      Main.openPopup(url, 'Select'+type, 1050, 700);
    144144    }
    145145    function setBioMaterialCallback(id, name)
  • trunk/www/biomaterials/biosources/view_biosource.jsp

    r5946 r5949  
    343343          />
    344344          <tbl:data>
    345             <tbl:columns>
    346             </tbl:columns>
     345            <tbl:headers>
     346              <tbl:headerrow>
     347                <tbl:columnheaders />
     348              </tbl:headerrow>
     349            </tbl:headers>
    347350            <tbl:rows>
    348351            <%
  • trunk/www/biomaterials/events/edit_event.jsp

    r5913 r5949  
    140140        url += '&item_id='+id;
    141141      }
    142       Main.openPopup(url, 'SelectProtocol', 1000, 700);
     142      Main.openPopup(url, 'SelectProtocol', 1050, 700);
    143143    }
    144144    function setProtocolCallback(id, name)
  • trunk/www/biomaterials/extracts/edit_extract.jsp

    r5946 r5949  
    403403        url += '&item_id='+id;
    404404      }
    405       Main.openPopup(url, 'SelectProtocol', 1000, 700);
     405      Main.openPopup(url, 'SelectProtocol', 1050, 700);
    406406    }
    407407    function setProtocolCallback(id, name)
     
    433433        url += '&item_id='+id;
    434434      }
    435       Main.openPopup(url, 'SelectTag', 1000, 700);
     435      Main.openPopup(url, 'SelectTag', 1050, 700);
    436436    }
    437437    function setTagCallback(id, name)
     
    463463      url += '&tmpfilter:INT:bioPlateType.itemSubtype='+(subtypeId ? '|' + subtypeId : '=');
    464464      url += '&tmpfilter:BOOLEAN:destroyed=false';
    465       Main.openPopup(url, 'SelectBioplate', 1000, 700);
     465      Main.openPopup(url, 'SelectBioplate', 1050, 700);
    466466    }
    467467    function setBioPlateCallback(id, name)
     
    525525      url += '&tmpfilter:STRING:originalBioMaterial.name='+escape('=');
    526526      url += '&columns=row,column';
    527       Main.openPopup(url, 'SelectBiowell', 700, 700);
     527      Main.openPopup(url, 'SelectBiowell', 750, 500);
    528528    }
    529529    function setBioWellCallback(id, name)
     
    566566        url += '&item_id='+id;
    567567      }
    568       Main.openPopup(url, 'SelectSample', 1000, 700);
     568      Main.openPopup(url, 'SelectSample', 1050, 700);
    569569    }
    570570    function setSampleCallback(id, name)
     
    591591      url += '&callback=addExtractCallback&resetTemporary=1';
    592592      url += ItemSubtype.createRelatedFilter('extract', 'EXTRACT');
    593       Main.openPopup(url, 'AddExtracts', 1000, 700);
     593      Main.openPopup(url, 'AddExtracts', 1050, 700);
    594594    }
    595595   
  • trunk/www/biomaterials/extracts/view_extract.jsp

    r5946 r5949  
    431431          />
    432432          <tbl:data>
    433             <tbl:columns>
    434             </tbl:columns>
     433            <tbl:headers>
     434              <tbl:headerrow>
     435                <tbl:columnheaders />
     436              </tbl:headerrow>
     437            </tbl:headers>
    435438            <tbl:rows>
    436439            <%
     
    513516            />
    514517            <tbl:data>
    515               <tbl:columns></tbl:columns>
     518            <tbl:headers>
     519              <tbl:headerrow>
     520                <tbl:columnheaders />
     521              </tbl:headerrow>
     522              </tbl:headers>
    516523              <tbl:rows>
    517524              <%
  • trunk/www/biomaterials/lists/members/list_members.jsp

    r5948 r5949  
    128128    function addItems()
    129129    {
    130       Main.openPopup('add_members_frameset.jsp?ID=<%=ID%>&list_id=<%=bioMaterialListId%>', 'AddMembers', 1000, 700);
     130      Main.openPopup('add_members_frameset.jsp?ID=<%=ID%>&list_id=<%=bioMaterialListId%>', 'AddMembers', 1050, 700);
    131131    }
    132132    function removeItems()
  • trunk/www/biomaterials/lists/merge.jsp

    r5937 r5949  
    9393      url += "&exclude="+excludes;
    9494      url += '&resetTemporary=1&tmpfilter:INT:memberType=<%=bmList.getMemberType().getValue()%>';
    95       Main.openPopup(url, 'AddBioMaterialLists', 1000, 700);
     95      Main.openPopup(url, 'AddBioMaterialLists', 1050, 700);
    9696    }
    9797    function addBioMaterialListsCallback(bioMaterialListId, name)
  • trunk/www/biomaterials/samples/edit_sample.jsp

    r5946 r5949  
    381381        url += '&item_id='+id;
    382382      }
    383       Main.openPopup(url, 'SelectProtocol', 1000, 700);
     383      Main.openPopup(url, 'SelectProtocol', 1050, 700);
    384384    }
    385385    function setProtocolCallback(id, name)
     
    417417      url += '&tmpfilter:INT:bioPlateType.itemSubtype='+(subtypeId ? '|' + subtypeId : '=');
    418418      url += '&tmpfilter:BOOLEAN:destroyed=false';
    419       Main.openPopup(url, 'SelectBioplate', 1000, 700);
     419      Main.openPopup(url, 'SelectBioplate', 1050, 700);
    420420    }
    421421    function setBioPlateCallback(id, name)
     
    479479      url += '&tmpfilter:STRING:originalBioMaterial.name='+escape('=');
    480480      url += '&columns=row,column';
    481       Main.openPopup(url, 'SelectBiowell', 700, 700);
     481      Main.openPopup(url, 'SelectBiowell', 750, 500);
    482482    }
    483483    function setBioWellCallback(id, name)
     
    518518        url += '&item_id='+id;
    519519      }
    520       Main.openPopup(url, 'SelectBioSource', 1000, 700);
     520      Main.openPopup(url, 'SelectBioSource', 1050, 700);
    521521    }
    522522    function setBioSourceCallback(id, name)
     
    544544      url += '&callback=addSampleCallback&resetTemporary=1';
    545545      url += ItemSubtype.createRelatedFilter('sample', 'SAMPLE');
    546       Main.openPopup(url, 'AddSamples', 1000, 700);
     546      Main.openPopup(url, 'AddSamples', 1050, 700);
    547547    }
    548548    function addSampleCallback(sampleId, name)
  • trunk/www/biomaterials/wizards/create_child_bioplate_step1.jsp

    r5928 r5949  
    175175      var childType = frm.child_biomaterial_type[frm.child_biomaterial_type.selectedIndex].value;
    176176      url += ItemSubtype.createRelatedFilter('main', 'HARDWARE', '', childType+'_subtype_id');
    177       Main.openPopup(url, 'SelectHardware', 1000, 700);
     177      Main.openPopup(url, 'SelectHardware', 1050, 700);
    178178    }
    179179    function setHardwareCallback(id, name)
     
    202202      var childType = frm.child_biomaterial_type[frm.child_biomaterial_type.selectedIndex].value;
    203203      url += ItemSubtype.createRelatedFilter('main', 'PROTOCOL', '', childType+'_subtype_id');
    204       Main.openPopup(url, 'SelectProtocol', 1000, 700);
     204      Main.openPopup(url, 'SelectProtocol', 1050, 700);
    205205    }
    206206
     
    230230      var childType = frm.child_biomaterial_type[frm.child_biomaterial_type.selectedIndex].value;
    231231      url += ItemSubtype.createRelatedFilter('main', 'TAG', '', childType+'_subtype_id');
    232       Main.openPopup(url, 'SelectTag', 1000, 700);
     232      Main.openPopup(url, 'SelectTag', 1050, 700);
    233233    }
    234234
     
    253253      if (frm.plategeometry_id.length > 0) url += '&item_id='+frm.plategeometry_id[0].value;
    254254      url += '&resetTemporary=1';
    255       Main.openPopup(url, 'SelectPlateGeometry', 1000, 700);
     255      Main.openPopup(url, 'SelectPlateGeometry', 1050, 700);
    256256    }
    257257    function setPlateGeometryCallback(id, name)
     
    283283      url += '&tmpfilter:INT:itemSubtype='+(subtypeId ? '|' + subtypeId : '=');
    284284   
    285       Main.openPopup(url, 'SelectBioPlateType', 1000, 700);
     285      Main.openPopup(url, 'SelectBioPlateType', 1050, 700);
    286286    }
    287287    function setBioPlateTypeCallback(bioPlateTypeId, name)
     
    307307      }
    308308      url += '&resetTemporary=1&tmpfilter:INT:itemSubtype=<%=SystemItems.getId(Hardware.FREEZER)%>';
    309       Main.openPopup(url, 'SelectFreezer', 1000, 700);
     309      Main.openPopup(url, 'SelectFreezer', 1050, 700);
    310310    }
    311311    function setFreezerCallback(freezerId, name)
  • trunk/www/biomaterials/wizards/create_child_bioplate_step2.jsp

    r5928 r5949  
    586586      url += '&tmpfilter:INT:destinationGeometry.columns='+destPlates[0].columns;
    587587      url += '&tmpfilter:INT:destinationCount=' + destPlates.length;
    588       Main.openPopup(url, 'SelectPlateMapping', 1000, 700);
     588      Main.openPopup(url, 'SelectPlateMapping', 1050, 700);
    589589    }
    590590   
  • trunk/www/biomaterials/wizards/move_biomaterial.jsp

    r5927 r5949  
    411411      %>
    412412      url += '&exclude='+sourcePlate.id;
    413       Main.openPopup(url, 'SelectBioPlate', 1000, 700);
     413      Main.openPopup(url, 'SelectBioPlate', 1050, 700);
    414414    }
    415415
     
    611611      }
    612612      %>
    613       Main.openPopup(url, 'SelectHardware', 1000, 700);
     613      Main.openPopup(url, 'SelectHardware', 1050, 700);
    614614    }
    615615    function setHardwareCallback(id, name)
     
    649649      }
    650650      %>
    651       Main.openPopup(url, 'SelectProtocol', 1000, 700);
     651      Main.openPopup(url, 'SelectProtocol', 1050, 700);
    652652    }
    653653    function setProtocolCallback(id, name)
     
    679679      url += '&tmpfilter:INT:destinationGeometry.columns='+destPlate.columns;
    680680      url += '&tmpfilter:INT:destinationCount=1';
    681       Main.openPopup(url, 'SelectPlateMapping', 1000, 700);
     681      Main.openPopup(url, 'SelectPlateMapping', 1050, 700);
    682682    }
    683683   
  • trunk/www/biomaterials/wizards/place_on_plate.jsp

    r5927 r5949  
    412412      }
    413413      %>
    414       Main.openPopup(url, 'SelectBioPlate', 1000, 700);
     414      Main.openPopup(url, 'SelectBioPlate', 1050, 700);
    415415    }
    416416
     
    569569      }
    570570      %>
    571       Main.openPopup(url, 'SelectHardware', 1000, 700);
     571      Main.openPopup(url, 'SelectHardware', 1050, 700);
    572572    }
    573573    function setHardwareCallback(id, name)
     
    612612      }
    613613      %>
    614       Main.openPopup(url, 'SelectProtocol', 1000, 700);
     614      Main.openPopup(url, 'SelectProtocol', 1050, 700);
    615615    }
    616616    function setProtocolCallback(id, name)
  • trunk/www/common/context/manage.jsp

    r5946 r5949  
    4747%>
    4848<base:page type="popup" title="Manage presets">
    49 <base:head scripts="table.js" styles="table.css">
     49<base:head scripts="table.js" styles="table.css,toolbar.css">
    5050  <script language="JavaScript">
    5151  function loadContext(contextId)
     
    103103      <tbl:table
    104104        id="contexts"
    105        
    106105        action="index.jsp"
    107106        >
     
    133132        </tbl:toolbar>
    134133        <tbl:data>
    135           <tbl:columns>
    136             <tbl:header
    137               clazz="index"
    138               style="border-right: 1px solid #999999"
    139               >&nbsp;</tbl:header>
    140             <tbl:header
    141               clazz="check"
    142               style="border-right: 1px solid #999999"
    143               visible="true"
    144               ><base:icon
    145                 image="check_uncheck.png"
    146                 tooltip="Check/uncheck all"
    147                 onclick="Forms.checkUncheck(document.forms['contexts'])" style="align: left;"
    148               /></tbl:header>
    149           </tbl:columns>
     134          <tbl:headers>
     135            <tbl:headerrow>
     136              <tbl:header
     137                clazz="index"
     138                />
     139              <tbl:header
     140                clazz="check"
     141                visible="true"
     142                ><base:icon
     143                  image="check_uncheck.png"
     144                  tooltip="Check/uncheck all"
     145                  onclick="Forms.checkUncheck(document.forms['contexts'])" style="align: left;"
     146                />
     147              </tbl:header>
     148              <tbl:columnheaders />
     149            </tbl:headerrow>
     150          </tbl:headers>
    150151          <tbl:rows>
    151152          <%
     
    159160              %>
    160161              <tbl:row>
    161                 <tbl:header
    162                   clazz="index"
    163                   style="border-right: 1px solid #999999"
    164                   ><%=numListed%></tbl:header>
     162                <tbl:header clazz="index"><%=numListed%></tbl:header>
    165163                <tbl:header
    166164                  clazz="check"
    167                   style="border-right: 1px solid #999999"
    168                   visible="true"
    169165                  ><input
    170166                    type="checkbox"
     
    181177            }
    182178          }
     179          if (numListed == 0)
     180          {
     181            %>
     182            <tbl:panel clazz="messagepanel">
     183              <div class="messagecontainer note">No presets were found</div>
     184            </tbl:panel>
     185            <%
     186          }
    183187          %>
    184188          </tbl:rows>
    185189        </tbl:data>
    186         <%
    187         if (numListed == 0)
    188         {
    189           %>
    190           <tbl:panel>No presets were found</tbl:panel>
    191           <%
    192         }
    193         %>
    194190      </tbl:table>
    195191      <br>
  • trunk/www/common/datafiles/select_files.jsp

    r5946 r5949  
    185185    lastFileTypeId = fileTypeId;
    186186    lastHasValidator = hasValidator;
    187     Main.openPopup(url, 'SelectFile', 1000, 700);
     187    Main.openPopup(url, 'SelectFile', 1050, 700);
    188188    if (event.stopPropagation)
    189189    {
     
    214214    lastFileTypeId = fileTypeId;
    215215    lastHasValidator = hasValidator;
    216     Main.openPopup(url, 'SelectFile', 1000, 700);
     216    Main.openPopup(url, 'SelectFile', 1050, 700);
    217217    if (event.stopPropagation)
    218218    {
  • trunk/www/common/import/select_file.jsp

    r5946 r5949  
    126126      var frm = document.forms['import'];
    127127      var url = '../../filemanager/index.jsp?ID=<%=ID%>&cmd=SelectOne&title=Select+file+to+import&callback=setFileCallback';
    128       Main.openPopup(url, 'SelectFile', 1000, 700);
     128      Main.openPopup(url, 'SelectFile', 1050, 700);
    129129    }
    130130    function setFileCallback(fileId, path)
  • trunk/www/common/ownership/ownership.jsp

    r5907 r5949  
    9898        url += '&item_id='+id;
    9999      }
    100       Main.openPopup(url, 'SelectOwner', 1000, 700);
     100      Main.openPopup(url, 'SelectOwner', 1050, 700);
    101101    }
    102102    function setOwnerCallback(id, name)
  • trunk/www/common/plugin/configure.jsp

    r5946 r5949  
    514514      var url = '../../filemanager/index.jsp?ID=<%=ID%>&cmd=SelectOne&callback=setFileCallback';
    515515      lastFileInputName = inputName;
    516       Main.openPopup(url, 'SelectFile', 1000, 700);
     516      Main.openPopup(url, 'SelectFile', 1050, 700);
    517517    }
    518518    function setFileCallback(fileId, path, inputName)
     
    584584        url += '&fileName=' + encodeURIComponent(frm[inputName].value.substring(i+1));
    585585      }
    586       Main.openPopup(url, 'SaveAs', 1000, 700);
     586      Main.openPopup(url, 'SaveAs', 1050, 700);
    587587    }
    588588    function saveAsCallback(path)
     
    648648    function testWithFile()
    649649    {
    650       Main.openPopup('test_with_file.jsp?ID=<%=ID%>', 'TestWithFile', 1000, 800);
     650      Main.openPopup('test_with_file.jsp?ID=<%=ID%>', 'TestWithFile', 1050, 700);
    651651    }
    652652   
  • trunk/www/common/plugin/test_with_file.jsp

    r5946 r5949  
    9797      var frm = document.forms['testwithfile'];
    9898      var url = '../../filemanager/index.jsp?ID=<%=ID%>&cmd=SelectOne&title=Test+with+file&callback=setFileCallback';
    99       Main.openPopup(url, 'SelectFile', 1000, 700);
     99      Main.openPopup(url, 'SelectFile', 1050, 700);
    100100    }
    101101    function setFileCallback(fileId, path)
  • trunk/www/common/share/share.jsp

    r5907 r5949  
    329329      var ids = Link.getListIds(document.forms['share'].members, 'U');
    330330      var excludes = ids.join(',');
    331       Main.openPopup('../../admin/users/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addUserCallback&permission=READ&exclude='+excludes, 'AddUsers', 1000, 700);
     331      Main.openPopup('../../admin/users/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addUserCallback&permission=READ&exclude='+excludes, 'AddUsers', 1050, 700);
    332332    }
    333333    function addUserCallback(userId, name)
     
    352352      %>
    353353      var excludes = ids.join(',');
    354       Main.openPopup('../../admin/groups/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addGroupCallback&permission=READ&exclude='+excludes, 'AddGroups', 1000, 700);
     354      Main.openPopup('../../admin/groups/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addGroupCallback&permission=READ&exclude='+excludes, 'AddGroups', 1050, 700);
    355355    }
    356356    function addGroupCallback(groupId, name)
     
    367367      var ids = Link.getListIds(document.forms['share'].members, 'P');
    368368      var excludes = ids.join(',');
    369       Main.openPopup('../../my_base/projects/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addProjectCallback&exclude='+excludes, 'AddProjects', 1000, 700);
     369      Main.openPopup('../../my_base/projects/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addProjectCallback&exclude='+excludes, 'AddProjects', 1050, 700);
    370370    }
    371371    function addProjectCallback(projectId, name)
     
    382382      var ids = Link.getListIds(document.forms['share'].members, 'T');
    383383      var excludes = ids.join(',');
    384       Main.openPopup('../../views/permissiontemplates/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addPermissionTemplateCallback&permission=READ&exclude='+excludes, 'AddPermissionTemplates', 1000, 700);
     384      Main.openPopup('../../views/permissiontemplates/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addPermissionTemplateCallback&permission=READ&exclude='+excludes, 'AddPermissionTemplates', 1050, 700);
    385385    }
    386386    function addPermissionTemplateCallback(templateId, name)
  • trunk/www/filemanager/files/edit_file.jsp

    r5946 r5949  
    187187        url += '&item_id='+id;
    188188      }
    189       Main.openPopup(url, 'SelectFileServer', 1000, 700);
     189      Main.openPopup(url, 'SelectFileServer', 1050, 700);
    190190    }
    191191    function setFileServerCallback(id, name)
     
    219219      var frm = document.forms['file'];
    220220      var url = '../../admin/mimetypes/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectone&callback=setMimeTypeCallback';
    221       Main.openPopup(url, 'SelectMimeType', 1000, 700);
     221      Main.openPopup(url, 'SelectMimeType', 1050, 700);
    222222    }
    223223    function setMimeTypeCallback(id, name)
  • trunk/www/filemanager/files/edit_multiple_file.jsp

    r5908 r5949  
    111111      var frm = document.forms['file'];
    112112      var url = '../../admin/mimetypes/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectone&callback=setMimeTypeCallback';
    113       Main.openPopup(url, 'SelectMimeType', 1000, 700);
     113      Main.openPopup(url, 'SelectMimeType', 1050, 700);
    114114    }
    115115    function setMimeTypeCallback(id, name)
  • trunk/www/impersonate.jsp

    r5915 r5949  
    7777        url += '&item_id='+id;
    7878      }
    79       Main.openPopup(url, 'SelectUser', 1000, 700);
     79      Main.openPopup(url, 'SelectUser', 1050, 700);
    8080    }
    8181    function setUserCallback(id, name)
  • trunk/www/lims/arraybatches/edit_batch.jsp

    r5946 r5949  
    274274        url += '&item_id='+id;
    275275      }
    276       Main.openPopup(url, 'SelectArrayDesign', 1000, 700);
     276      Main.openPopup(url, 'SelectArrayDesign', 1050, 700);
    277277    }
    278278    function setArrayDesignCallback(id, name)
     
    300300      }
    301301      url += '&resetTemporary=1&tmpfilter:INT:itemSubtype=<%=SystemItems.getId(Protocol.PRINTING)%>';
    302       Main.openPopup(url, 'SelectProtocol', 1000, 700);
     302      Main.openPopup(url, 'SelectProtocol', 1050, 700);
    303303    }
    304304    function setProtocolCallback(id, name)
     
    330330      }
    331331      url += '&resetTemporary=1&tmpfilter:INT:itemSubtype=<%=SystemItems.getId(Hardware.PRINT_ROBOT)%>';
    332       Main.openPopup(url, 'SelectPrintRobot', 1000, 700);
     332      Main.openPopup(url, 'SelectPrintRobot', 1050, 700);
    333333    }
    334334    function setPrintRobotCallback(id, name)
  • trunk/www/lims/arraydesigns/manage_plates.jsp

    r5917 r5949  
    102102      var url = '../plates/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addPlateCallback';
    103103      url += '&excludes='+excludes;
    104       Main.openPopup(url, 'AddPlates', 1000, 700);
     104      Main.openPopup(url, 'AddPlates', 1050, 700);
    105105    }
    106106
  • trunk/www/lims/arrayslides/create_wizard.jsp

    r5946 r5949  
    178178      var url = '../../lims/arraybatches/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectone&callback=setArrayBatchCallback';
    179179      if (frm.arraybatch_id.length > 0) url += '&item_id='+frm.arraybatch_id[0].value;
    180       Main.openPopup(url, 'SelectArrayBatch', 1000, 700);
     180      Main.openPopup(url, 'SelectArrayBatch', 1050, 700);
    181181    }
    182182    function setArrayBatchCallback(id, name)
  • trunk/www/lims/arrayslides/edit_slide.jsp

    r5946 r5949  
    200200      var url = '../../lims/arraybatches/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectone&callback=setArrayBatchCallback';
    201201      if (frm.arraybatch_id.length > 0) url += '&item_id='+frm.arraybatch_id[0].value;
    202       Main.openPopup(url, 'SelectArrayBatch', 1000, 700);
     202      Main.openPopup(url, 'SelectArrayBatch', 1050, 700);
    203203    }
    204204    function setArrayBatchCallback(id, name)
  • trunk/www/lims/plates/edit_plate.jsp

    r5946 r5949  
    181181      var url = '../platetypes/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectone&callback=setPlateTypeCallback';
    182182      if (frm.platetype_id.length > 0) url += '&item_id='+frm.platetype_id[0].value;
    183       Main.openPopup(url, 'SelectArrayBatch', 1000, 700);
     183      Main.openPopup(url, 'SelectArrayBatch', 1050, 700);
    184184    }
    185185    function setPlateTypeCallback(plateTypeId, name)
  • trunk/www/lims/plates/events/edit_event.jsp

    r5946 r5949  
    203203        url += '&resetTemporary=1&tmpfilter:INT:itemSubtype='+protocolTypeFilter;
    204204      }
    205       Main.openPopup(url, 'SelectProtocol', 1000, 700);
     205      Main.openPopup(url, 'SelectProtocol', 1050, 700);
    206206    }
    207207    function setProtocolCallback(id, name)
     
    226226        url += '&item_id='+id;
    227227      }
    228       Main.openPopup(url, 'SelectHardware', 1000, 700);
     228      Main.openPopup(url, 'SelectHardware', 1050, 700);
    229229    }
    230230    function setHardwareCallback(id, name)
  • trunk/www/lims/plates/merge_plates.jsp

    r5946 r5949  
    100100      var frm = document.forms['merge'];
    101101      var url = '../platemappings/index.jsp?ID=<%=ID%>&mode=selectone&callback=setPlateMappingCallback';
    102       Main.openPopup(url, 'SelectPlateMapping', 1000, 700);
     102      Main.openPopup(url, 'SelectPlateMapping', 1050, 700);
    103103    }
    104104    function setPlateMappingCallback(id, name)
     
    119119      var frm = document.forms['merge'];
    120120      var url = '../platetypes/index.jsp?ID=<%=ID%>&mode=selectone&callback=setPlateTypeCallback';
    121       Main.openPopup(url, 'SelectPlateType', 1000, 700);
     121      Main.openPopup(url, 'SelectPlateType', 1050, 700);
    122122    }
    123123    function setPlateTypeCallback(id, name)
  • trunk/www/lims/plates/merge_plates_2.jsp

    r5946 r5949  
    106106      url += "&exclude="+excludes;
    107107      url += '&resetTemporary=1&tmpfilter:INT:plateType.plateGeometry=<%=sourceGeometry.getId()%>';
    108       Main.openPopup(url, 'AddPlates', 1000, 700);
     108      Main.openPopup(url, 'AddPlates', 1050, 700);
    109109    }
    110110
  • trunk/www/lims/platetypes/eventtypes/edit_eventtype.jsp

    r5946 r5949  
    157157        url += '&item_id='+id;
    158158      }
    159       Main.openPopup(url, 'SelectProtocolType', 1000, 700);
     159      Main.openPopup(url, 'SelectProtocolType', 1050, 700);
    160160    }
    161161    function setProtocolTypeCallback(id, name)
  • trunk/www/my_base/projects/edit_project.jsp

    r5946 r5949  
    373373        url += '&item_id='+id;
    374374      }
    375       Main.openPopup(url, 'SelectPermissionTemplate', 1000, 700);
     375      Main.openPopup(url, 'SelectPermissionTemplate', 1050, 700);
    376376    }
    377377    function setPermissionTemplateCallback(id, name)
     
    417417      var ids = Link.getListIds(document.forms['project'].members, 'U');
    418418      var excludes = ids.join(',');
    419       Main.openPopup('../../admin/users/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addUserCallback&permission=READ&exclude='+excludes, 'AddUsers', 1000, 700);
     419      Main.openPopup('../../admin/users/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addUserCallback&permission=READ&exclude='+excludes, 'AddUsers', 1050, 700);
    420420    }
    421421    function addUserCallback(userId, name)
     
    439439      %>
    440440      var excludes = ids.join(',');
    441       Main.openPopup('../../admin/groups/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addGroupCallback&permission=READ&exclude='+excludes, 'AddGroups', 1000, 700);
     441      Main.openPopup('../../admin/groups/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addGroupCallback&permission=READ&exclude='+excludes, 'AddGroups', 1050, 700);
    442442    }
    443443    function addGroupCallback(groupId, name)
     
    459459      var ids = Link.getListIds(document.forms['project'].defaultItems, 'PROTOCOL');
    460460      var excludes = ids.join(',');
    461       Main.openPopup('../../admin/protocols/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addDefaultProtocolCallback&exclude='+excludes, 'AddProtocols', 1000, 700);
     461      Main.openPopup('../../admin/protocols/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addDefaultProtocolCallback&exclude='+excludes, 'AddProtocols', 1050, 700);
    462462    }
    463463    function addDefaultProtocolCallback(protocolId, name)
     
    477477      var ids = Link.getListIds(document.forms['project'].defaultItems, 'SOFTWARE');
    478478      var excludes = ids.join(',');
    479       Main.openPopup('../../admin/software/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addDefaultSoftwareCallback&exclude='+excludes, 'AddSoftware', 1000, 700);
     479      Main.openPopup('../../admin/software/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addDefaultSoftwareCallback&exclude='+excludes, 'AddSoftware', 1050, 700);
    480480    }
    481481    function addDefaultSoftwareCallback(softwareId, name)
     
    495495      var ids = Link.getListIds(document.forms['project'].defaultItems, 'HARDWARE');
    496496      var excludes = ids.join(',');
    497       Main.openPopup('../../admin/hardware/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addDefaultHardwareCallback&exclude='+excludes, 'AddHardware', 1000, 700);
     497      Main.openPopup('../../admin/hardware/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addDefaultHardwareCallback&exclude='+excludes, 'AddHardware', 1050, 700);
    498498    }
    499499    function addDefaultHardwareCallback(hardwareId, name)
     
    513513      var ids = Link.getListIds(document.forms['project'].defaultItems, 'ARRAYDESIGN');
    514514      var excludes = ids.join(',');
    515       Main.openPopup('../../lims/arraydesigns/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addDefaultArrayDesignCallback&exclude='+excludes, 'AddArrayDesign', 1000, 700);
     515      Main.openPopup('../../lims/arraydesigns/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addDefaultArrayDesignCallback&exclude='+excludes, 'AddArrayDesign', 1050, 700);
    516516    }
    517517    function addDefaultArrayDesignCallback(designId, name)
     
    529529      var ids = Link.getListIds(document.forms['project'].defaultItems, 'PLATFORM');
    530530      var excludes = ids.join(',');
    531       Main.openPopup('../../admin/platforms/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addDefaultPlatformCallback&exclude='+excludes, 'AddPlatform', 1000, 700);
     531      Main.openPopup('../../admin/platforms/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addDefaultPlatformCallback&exclude='+excludes, 'AddPlatform', 1050, 700);
    532532    }
    533533    function addDefaultPlatformCallback(platformId, name)
     
    548548      var ids = Link.getListIds(frm.defaultItems, 'PLATFORMVARIANT');
    549549      url += '&exclude='+ids.join(',');
    550       Main.openPopup(url, 'AddPlatformVariant', 1000, 700);
     550      Main.openPopup(url, 'AddPlatformVariant', 1050, 700);
    551551    }
    552552    function addDefaultPlatformVariantCallback(variantId, name)
  • trunk/www/plugins/net/sf/basedb/clients/web/plugins/simple_export.jsp

    r5946 r5949  
    252252        url += '&fileName=' + encodeURIComponent(frm['path'].value.substring(i+1));
    253253      }
    254       Main.openPopup(url, 'SaveAs', 1000, 700);
     254      Main.openPopup(url, 'SaveAs', 1050, 700);
    255255    }
    256256    function setFileCallback(path)
  • trunk/www/plugins/net/sf/basedb/plugins/jep_extra_value_calculator.jsp

    r5946 r5949  
    148148        url += '&item_id='+id;
    149149      }
    150       Main.openPopup(url, 'SelectExtraValueType', 1000, 700);
     150      Main.openPopup(url, 'SelectExtraValueType', 1050, 700);
    151151    }
    152152    function setExtraValueTypeCallback(id, name)
     
    241241      var url = '../../views/experiments/bioassays/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addBioAssayCallback&bioassayset_id=<%=source.getId()%>';
    242242      url += "&exclude="+excludes;
    243       Main.openPopup(url, 'AddBioAssays', 1000, 700);
     243      Main.openPopup(url, 'AddBioAssays', 1050, 700);
    244244    }
    245245    function addBioAssayCallback(bioAssayId, name)
  • trunk/www/plugins/net/sf/basedb/plugins/jep_filter.jsp

    r5946 r5949  
    246246      var url = '../../views/experiments/bioassays/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addBioAssayCallback&bioassayset_id=<%=source.getId()%>';
    247247      url += "&exclude="+excludes;
    248       Main.openPopup(url, 'AddBioAssays', 1000, 700);
     248      Main.openPopup(url, 'AddBioAssays', 1050, 700);
    249249    }
    250250    function addBioAssayCallback(bioAssayId, name)
  • trunk/www/views/derivedbioassays/edit_bioassay.jsp

    r5946 r5949  
    401401        url += '&item_id='+id;
    402402      }
    403       Main.openPopup(url, 'SelectProtocol', 1000, 700);
     403      Main.openPopup(url, 'SelectProtocol', 1050, 700);
    404404    }
    405405    function setProtocolCallback(id, name)
     
    432432        url += '&item_id='+id;
    433433      }
    434       Main.openPopup(url, 'SelectPhysicalBioAssay', 1000, 700);
     434      Main.openPopup(url, 'SelectPhysicalBioAssay', 1050, 700);
    435435    }
    436436    function setPhysicalBioAssayCallback(id, name)
     
    464464        url += '&item_id='+id;
    465465      }
    466       Main.openPopup(url, 'SelectParentBioAssay', 1000, 700);
     466      Main.openPopup(url, 'SelectParentBioAssay', 1050, 700);
    467467    }
    468468    function setParentBioAssayCallback(id, name)
     
    496496        url += '&item_id='+id;
    497497      }
    498       Main.openPopup(url, 'SelectHardware', 1000, 700);
     498      Main.openPopup(url, 'SelectHardware', 1050, 700);
    499499    }
    500500    function setHardwareCallback(id, name)
     
    521521        url += '&item_id='+id;
    522522      }
    523       Main.openPopup(url, 'SelectSoftware', 1000, 700);
     523      Main.openPopup(url, 'SelectSoftware', 1050, 700);
    524524    }
    525525    function setSoftwareCallback(id, name)
  • trunk/www/views/experiments/bioassays/list_bioassays.jsp

    r5948 r5949  
    193193    function openPlotTool(bioAssayId)
    194194    {
    195       Main.openPopup('../plotter/index.jsp?ID=<%=ID%>&bioassay_id='+bioAssayId, 'Plotter', 1000, 700);
     195      Main.openPopup('../plotter/index.jsp?ID=<%=ID%>&bioassay_id='+bioAssayId, 'Plotter', 1050, 700);
    196196    }
    197197    function viewSpotData(bioAssayId)
  • trunk/www/views/experiments/clone_reporters.jsp

    r5923 r5949  
    118118        url += '&item_id='+id;
    119119      }
    120       Main.openPopup(url, 'SelectReporterCloneTemplate', 1000, 700);
     120      Main.openPopup(url, 'SelectReporterCloneTemplate', 1050, 700);
    121121    }
    122122    function setTemplateCallback(id, name)
  • trunk/www/views/experiments/edit_experiment.jsp

    r5946 r5949  
    207207      url += "&exclude="+excludes;
    208208      url += '&resetTemporary=1&tmpfilter:STRING:rawDataType='+rawDataType;
    209       Main.openPopup(url, 'AddRawBioAssays', 1000, 700);
     209      Main.openPopup(url, 'AddRawBioAssays', 1050, 700);
    210210    }
    211211    function addRawBioAssayCallback(rawBioAssayId, name)
     
    227227      var url = '../../admin/annotationtypes/index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addAnnotationTypeCallback';
    228228      url += "&exclude="+excludes;
    229       Main.openPopup(url, 'AddAnnotationTypes', 1000, 700);
     229      Main.openPopup(url, 'AddAnnotationTypes', 1050, 700);
    230230    }
    231231    function addAnnotationTypeCallback(annotationTypeId, name)
  • trunk/www/views/experiments/explorer/search/list.jsp

    r5945 r5949  
    243243        />
    244244      </tbl:toolbar>
     245        <tbl:presetselector
     246          clazz="columnheader"
     247          onchange="presetOnChange()"
     248        />
    245249      <tbl:navigator
    246250        page="<%=cc.getPage()%>"
     
    249253      />
    250254      <tbl:data>
    251         <tbl:columns>
    252         <tbl:presetselector
    253           clazz="columnheader"
    254           colspan="1"
    255           onchange="presetOnChange()"
    256         />
    257         </tbl:columns>
    258         <tr>
    259           <tbl:header
    260             clazz="icons"
    261             >&nbsp;</tbl:header>
    262           <tbl:propertyfilter />
    263         </tr>
     255        <tbl:headers>
     256          <tbl:headerrow>
     257            <tbl:header clazz="icons"/>
     258            <tbl:columnheaders />
     259          </tbl:headerrow>
     260          <tbl:headerrow>
     261            <tbl:header clazz="icons"/>
     262            <tbl:propertyfilter />
     263          </tbl:headerrow>
     264        </tbl:headers>
    264265        <tbl:rows>
    265        
    266266      <%
    267267      int rowIndex = cc.getPage()*cc.getRowsPerPage();
  • trunk/www/views/experiments/plotter/save_as.jsp

    r5924 r5949  
    6161  function browseOnClick()
    6262  {
    63     Main.openPopup(getRoot()+'filemanager/save_as.jsp?ID=<%=ID%>&callback=setFileCallback', 'SaveAs', 1000, 700);
     63    Main.openPopup(getRoot()+'filemanager/save_as.jsp?ID=<%=ID%>&callback=setFileCallback', 'SaveAs', 1050, 700);
    6464  }
    6565  function setFileCallback(path)
  • trunk/www/views/experiments/reporters/list_reporters.jsp

    r5946 r5949  
    313313        />
    314314      </tbl:toolbar>
     315        <tbl:presetselector
     316          clazz="columnheader"
     317          onchange="presetOnChange()"
     318        />
    315319      <tbl:navigator
    316320        page="<%=cc.getPage()%>"
     
    320324      />
    321325      <tbl:data>
    322         <tbl:columns>
    323         <tbl:presetselector
    324           clazz="columnheader"
    325           colspan="2"
    326           onchange="presetOnChange()"
    327         />
    328         </tbl:columns>
    329         <tr>
    330           <tbl:header
    331             clazz="index"
    332             >&nbsp;</tbl:header>
    333           <tbl:header
    334             clazz="icons"
    335             visible="<%=mode.hasIcons()%>"
    336             >&nbsp;</tbl:header>
    337           <tbl:propertyfilter />
    338         </tr>
    339    
    340           <tbl:rows>
     326        <tbl:headers>
     327          <tbl:headerrow>
     328            <tbl:header
     329              clazz="index"
     330              colspan="2"
     331            />
     332            <tbl:columnheaders />
     333          </tbl:headerrow>
     334          <tbl:headerrow>
     335            <tbl:header
     336              clazz="index"
     337              colspan="2"
     338            />
     339            <tbl:propertyfilter />
     340          </tbl:headerrow>
     341        </tbl:headers>
     342        <tbl:rows>
    341343          <%
    342344          int index = cc.getPage()*cc.getRowsPerPage();
  • trunk/www/views/experiments/spotdata/list_spotdata.jsp

    r5946 r5949  
    349349          wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
    350350      </tbl:toolbar>
     351      <tbl:presetselector
     352        clazz="columnheader"
     353        onchange="presetOnChange()"
     354      />
    351355      <tbl:navigator
    352356        page="<%=cc.getPage()%>"
     
    356360      />
    357361      <tbl:data>
    358         <tbl:columns>
    359         <tbl:presetselector
    360           clazz="columnheader"
    361           colspan="2"
    362           onchange="presetOnChange()"
    363         />
    364         </tbl:columns>
    365         <tr>
    366           <tbl:header
    367             clazz="index"
    368             >&nbsp;</tbl:header>
    369           <tbl:header
    370             clazz="icons"
    371             visible="<%=mode.hasIcons()%>"
    372             >&nbsp;</tbl:header>
    373           <tbl:propertyfilter />
    374         </tr>
    375    
    376           <tbl:rows>
     362        <tbl:headers>
     363          <tbl:headerrow>
     364            <tbl:header
     365              clazz="index"
     366              colspan="2"
     367            />
     368            <tbl:columnheaders />
     369          </tbl:headerrow>
     370          <tbl:headerrow>
     371            <tbl:header
     372              clazz="index"
     373              colspan="2"
     374            />
     375            <tbl:propertyfilter />
     376          </tbl:headerrow>
     377        </tbl:headers>
     378        <tbl:rows>
    377379          <%
    378380          int index = cc.getPage()*cc.getRowsPerPage();
  • trunk/www/views/physicalbioassays/edit_bioassay.jsp

    r5946 r5949  
    368368        url += '&item_id='+id;
    369369      }
    370       Main.openPopup(url, 'SelectProtocol', 1000, 700);
     370      Main.openPopup(url, 'SelectProtocol', 1050, 700);
    371371    }
    372372    function setProtocolCallback(id, name)
     
    399399        url += '&item_id='+id;
    400400      }
    401       Main.openPopup(url, 'SelectHardware', 1000, 700);
     401      Main.openPopup(url, 'SelectHardware', 1050, 700);
    402402    }
    403403    function setHardwareCallback(id, name)
     
    433433      url += '&resetTemporary=1&tmpfilter:STRING:physicalBioAssay.name==';
    434434      url += '&tmpfilter:BOOLEAN:destroyed=false';
    435       Main.openPopup(url, 'SelectArraySlide', 1000, 700);
     435      Main.openPopup(url, 'SelectArraySlide', 1050, 700);
    436436    }
    437437    function setArraySlideCallback(arraySlideId, name)
     
    486486      url += ItemSubtype.createRelatedFilter('bioassay', 'EXTRACT');
    487487      url += '&exclude='+excludes;
    488       Main.openPopup(url, 'AddExtracts', 1000, 700);
     488      Main.openPopup(url, 'AddExtracts', 1050, 700);
    489489    }
    490490    function addExtractCallback(extractId, name)
  • trunk/www/views/rawbioassays/edit_rawbioassay.jsp

    r5946 r5949  
    476476      }
    477477      url += '&resetTemporary=1&tmpfilter:INT:itemSubtype=<%=SystemItems.getId(Protocol.FEATURE_EXTRACTION)%>';
    478       Main.openPopup(url, 'SelectProtocol', 1000, 700);
     478      Main.openPopup(url, 'SelectProtocol', 1050, 700);
    479479    }
    480480    function setProtocolCallback(id, name)
     
    515515        url += '&item_id='+id;
    516516      }
    517       Main.openPopup(url, 'SelectDerivedBioAssay', 1000, 700);
     517      Main.openPopup(url, 'SelectDerivedBioAssay', 1050, 700);
    518518    }
    519519    function setBioAssayCallback(id, name)
     
    544544        url += '&item_id='+id;
    545545      }
    546       Main.openPopup(url, 'SelectExtract', 1000, 700);
     546      Main.openPopup(url, 'SelectExtract', 1050, 700);
    547547    }
    548548    function setExtractCallback(id, name)
     
    570570      }
    571571      url += '&resetTemporary=1&tmpfilter:INT:itemSubtype=<%=SystemItems.getId(Software.FEATURE_EXTRACTION)%>';
    572       Main.openPopup(url, 'SelectSoftware', 1000, 700);
     572      Main.openPopup(url, 'SelectSoftware', 1050, 700);
    573573    }
    574574    function setSoftwareCallback(id, name)
     
    618618      var platform = Platforms.getSelectedPlatform(frm.platform);
    619619      url += '&resetTemporary=1&tmpfilter:INT:platform='+platform.id;
    620       Main.openPopup(url, 'SelectArrayDesign', 1000, 700);
     620      Main.openPopup(url, 'SelectArrayDesign', 1050, 700);
    621621    }
    622622    function setArrayDesignCallback(id, name)
  • trunk/www/views/rawbioassays/edit_spotimages.jsp

    r5946 r5949  
    124124      url += '&resetTemporary=1&tmpfilter:INT:itemSubtype=<%=SystemItems.getId(File.IMAGE)%>';
    125125      if (frm.redfile_id.length > 1) url += '&item_id='+frm.redfile_id[1].value;
    126       Main.openPopup(url, 'SelectRedFile', 1000, 700);
     126      Main.openPopup(url, 'SelectRedFile', 1050, 700);
    127127    }
    128128    function setRedFileCallback(fileId, name)
     
    144144      url += '&resetTemporary=1&tmpfilter:INT:itemSubtype=<%=SystemItems.getId(File.IMAGE)%>';
    145145      if (frm.greenfile_id.length > 1) url += '&item_id='+frm.greenfile_id[1].value;
    146       Main.openPopup(url, 'SelectGreenFile', 1000, 700);
     146      Main.openPopup(url, 'SelectGreenFile', 1050, 700);
    147147    }
    148148    function setGreenFileCallback(fileId, name)
     
    164164      url += '&resetTemporary=1&tmpfilter:INT:itemSubtype=<%=SystemItems.getId(File.IMAGE)%>';
    165165      if (frm.bluefile_id.length > 1) url += '&item_id='+frm.bluefile_id[1].value;
    166       Main.openPopup(url, 'SelectBlueFile', 1000, 700);
     166      Main.openPopup(url, 'SelectBlueFile', 1050, 700);
    167167    }
    168168    function setBlueFileCallback(fileId, name)
     
    180180    function browseOnClick()
    181181    {
    182       Main.openPopup('../../filemanager/index.jsp?ID=<%=ID%>&cmd=SaveAs&callback=setSaveAsCallback', 'SaveAs', 1000, 700);
     182      Main.openPopup('../../filemanager/index.jsp?ID=<%=ID%>&cmd=SaveAs&callback=setSaveAsCallback', 'SaveAs', 1050, 700);
    183183    }
    184184    function setSaveAsCallback(path)
  • trunk/www/views/reporterlists/merge.jsp

    r5916 r5949  
    9292      var url = 'index.jsp?ID=<%=ID%>&cmd=UpdateContext&mode=selectmultiple&callback=addReporterListsCallback';
    9393      url += "&exclude="+excludes;
    94       Main.openPopup(url, 'AddReporterLists', 1000, 700);
     94      Main.openPopup(url, 'AddReporterLists', 1050, 700);
    9595    }
    9696    function addReporterListsCallback(reporterListId, name)
  • trunk/www/views/reporterlists/reporters/list_reporters.jsp

    r5948 r5949  
    136136    function addItems()
    137137    {
    138       Main.openPopup('add_reporters_frameset.jsp?ID=<%=ID%>&reporterlist_id=<%=reporterListId%>', 'AddReporters', 1000, 700);
     138      Main.openPopup('add_reporters_frameset.jsp?ID=<%=ID%>&reporterlist_id=<%=reporterListId%>', 'AddReporters', 1050, 700);
    139139    }
    140140    function deleteItems()
Note: See TracChangeset for help on using the changeset viewer.