Changeset 5910


Ignore:
Timestamp:
Dec 14, 2011, 3:00:39 PM (11 years ago)
Author:
Nicklas Nordborg
Message:

References #1655: GUI improvements

  • Plugin wizards
Location:
trunk
Files:
138 edited

Legend:

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

    r5906 r5910  
    177177    defaultImages.put("yes", "yes.png");
    178178    defaultImages.put("no", "no.png");
    179     defaultImages.put("back", "goback.gif");
    180     defaultImages.put("next", "gonext.gif");
     179    defaultImages.put("back", "goback.png");
     180    defaultImages.put("next", "gonext.png");
    181181    defaultImages.put("add", "add.png");
    182182    defaultImages.put("remove", "remove.png");
  • trunk/src/clients/web/net/sf/basedb/clients/web/taglib/Help.java

    r5901 r5910  
    2323package net.sf.basedb.clients.web.taglib;
    2424
    25 import net.sf.basedb.util.Values;
    2625
    2726import javax.servlet.jsp.JspException;
    2827import javax.servlet.jsp.JspTagException;
    29 import javax.servlet.jsp.tagext.TagSupport;
    3028
    3129/**
     
    8280    <tr>
    8381      <td>clazz</td>
    84       <td>help</td>
     82      <td>helpicon</td>
    8583      <td>no</td>
    8684      <td>
     
    197195  public Help()
    198196  {
    199     super("help");
     197    super("helpicon");
    200198  }
    201199 
  • trunk/www/admin/annotationtypecategories/list_categories.jsp

    r5900 r5910  
    181181    function runPlugin(cmd)
    182182    {
    183       Table.submitToPopup(formId, cmd, 740, 540);
     183      Table.submitToPopup(formId, cmd, 750, 500);
    184184    }
    185185    function returnSelected()
  • trunk/www/admin/annotationtypecategories/view_category.jsp

    r5901 r5910  
    131131    function setOwner()
    132132    {
    133       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 150);
     133      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 300);
    134134    }
    135135    function runPlugin(cmd)
    136136    {
    137       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     137      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    138138    }
    139139    </script>
  • trunk/www/admin/annotationtypes/list_annotationtypes.jsp

    r5900 r5910  
    223223    function runPlugin(cmd)
    224224    {
    225       Table.submitToPopup(formId, cmd, 740, 540);
     225      Table.submitToPopup(formId, cmd, 750, 500);
    226226    }
    227227    function returnSelected()
  • trunk/www/admin/annotationtypes/view_annotationtype.jsp

    r5905 r5910  
    136136    function setOwner()
    137137    {
    138       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 150);
     138      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 300);
    139139    }
    140140    function runPlugin(cmd)
    141141    {
    142       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     142      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    143143    }
    144144    function switchTab(tabControlId, tabId)
  • trunk/www/admin/clients/help/list_help.jsp

    r5900 r5910  
    147147    function runPlugin(cmd)
    148148    {
    149       Table.submitToPopup(formId, cmd, 740, 540);
     149      Table.submitToPopup(formId, cmd, 750, 500);
    150150    }
    151151    function returnSelected()
  • trunk/www/admin/clients/help/view_help.jsp

    r5905 r5910  
    9898    function runPlugin(cmd)
    9999    {
    100       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&client_id=<%=clientId%>&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     100      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&client_id=<%=clientId%>&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    101101    }
    102102    </script>
  • trunk/www/admin/clients/list_clients.jsp

    r5900 r5910  
    165165    function runPlugin(cmd)
    166166    {
    167       Table.submitToPopup(formId, cmd, 740, 540);
     167      Table.submitToPopup(formId, cmd, 750, 500);
    168168    }
    169169    function returnSelected()
  • trunk/www/admin/clients/view_client.jsp

    r5901 r5910  
    127127    function setOwner()
    128128    {
    129       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 150);
     129      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 300);
    130130    }
    131131    function runPlugin(cmd)
    132132    {
    133       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     133      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    134134    }
    135135    function viewHelp()
  • trunk/www/admin/datafiletypes/list_filetypes.jsp

    r5900 r5910  
    182182    function runPlugin(cmd)
    183183    {
    184       Table.submitToPopup(formId, cmd, 740, 540);
     184      Table.submitToPopup(formId, cmd, 750, 500);
    185185    }
    186186    function returnSelected()
  • trunk/www/admin/datafiletypes/view_filetype.jsp

    r5905 r5910  
    119119    function runPlugin(cmd)
    120120    {
    121       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     121      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    122122    }
    123123    </script>
  • trunk/www/admin/extravaluetypes/list_extravaluetypes.jsp

    r5900 r5910  
    167167    function runPlugin(cmd)
    168168    {
    169       Table.submitToPopup(formId, cmd, 740, 540);
     169      Table.submitToPopup(formId, cmd, 750, 500);
    170170    }
    171171    function returnSelected()
  • trunk/www/admin/extravaluetypes/view_extravaluetype.jsp

    r5901 r5910  
    114114    function runPlugin(cmd)
    115115    {
    116       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     116      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    117117    }
    118118    </script>
  • trunk/www/admin/groups/list_groups.jsp

    r5900 r5910  
    169169    function runPlugin(cmd)
    170170    {
    171       Table.submitToPopup(formId, cmd, 740, 540);
     171      Table.submitToPopup(formId, cmd, 750, 500);
    172172    }
    173173    function returnSelected()
  • trunk/www/admin/groups/view_group.jsp

    r5901 r5910  
    120120    function runPlugin(cmd)
    121121    {
    122       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     122      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    123123    }
    124124    </script>
  • trunk/www/admin/hardware/list_hardware.jsp

    r5900 r5910  
    167167    function runPlugin(cmd)
    168168    {
    169       Table.submitToPopup(formId, cmd, 740, 540);
     169      Table.submitToPopup(formId, cmd, 750, 500);
    170170    }
    171171    function returnSelected()
  • trunk/www/admin/hardware/view_hardware.jsp

    r5901 r5910  
    127127    function setOwner()
    128128    {
    129       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 150);
     129      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 300);
    130130    }
    131131    function runPlugin(cmd)
    132132    {
    133       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     133      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    134134    }
    135135    </script>
  • trunk/www/admin/itemsubtypes/list_subtypes.jsp

    r5900 r5910  
    177177    function runPlugin(cmd)
    178178    {
    179       Table.submitToPopup(formId, cmd, 740, 540);
     179      Table.submitToPopup(formId, cmd, 750, 500);
    180180    }
    181181    function returnSelected()
  • trunk/www/admin/itemsubtypes/view_subtype.jsp

    r5901 r5910  
    120120    function runPlugin(cmd)
    121121    {
    122       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     122      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    123123    }
    124124    </script>
  • trunk/www/admin/jobagents/list_agents.jsp

    r5900 r5910  
    172172    function runPlugin(cmd)
    173173    {
    174       Table.submitToPopup(formId, cmd, 740, 540);
     174      Table.submitToPopup(formId, cmd, 750, 500);
    175175    }
    176176    function returnSelected()
  • trunk/www/admin/jobagents/view_agent.jsp

    r5901 r5910  
    141141    function setOwner()
    142142    {
    143       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 150);
     143      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 300);
    144144    }
    145145    function configurePlugin(pluginId)
  • trunk/www/admin/mimetypes/list_mimetypes.jsp

    r5900 r5910  
    158158    function runPlugin(cmd)
    159159    {
    160       Table.submitToPopup(formId, cmd, 740, 540);
     160      Table.submitToPopup(formId, cmd, 750, 500);
    161161    }
    162162    function returnSelected()
  • trunk/www/admin/mimetypes/view_mimetype.jsp

    r5901 r5910  
    112112    function runPlugin(cmd)
    113113    {
    114       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     114      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    115115    }
    116116    </script>
  • trunk/www/admin/news/list_news.jsp

    r5900 r5910  
    152152    function runPlugin(cmd)
    153153    {
    154       Table.submitToPopup(formId, cmd, 740, 540);
     154      Table.submitToPopup(formId, cmd, 750, 500);
    155155    }
    156156    function returnSelected()
  • trunk/www/admin/news/view_news.jsp

    r5905 r5910  
    112112    function runPlugin(cmd)
    113113    {
    114       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     114      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    115115    }
    116116    </script>
  • trunk/www/admin/platforms/list_platforms.jsp

    r5900 r5910  
    161161    function runPlugin(cmd)
    162162    {
    163       Table.submitToPopup(formId, cmd, 740, 540);
     163      Table.submitToPopup(formId, cmd, 750, 500);
    164164    }
    165165    function returnSelected()
  • trunk/www/admin/platforms/variants/list_variants.jsp

    r5900 r5910  
    154154    function runPlugin(cmd)
    155155    {
    156       Table.submitToPopup(formId, cmd, 740, 540);
     156      Table.submitToPopup(formId, cmd, 750, 500);
    157157    }
    158158    function returnSelected()
  • trunk/www/admin/platforms/variants/view_variant.jsp

    r5905 r5910  
    121121    function runPlugin(cmd)
    122122    {
    123       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&platform_id=<%=platformId%>&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     123      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&platform_id=<%=platformId%>&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    124124    }
    125125    </script>
  • trunk/www/admin/platforms/view_platform.jsp

    r5905 r5910  
    120120    function runPlugin(cmd)
    121121    {
    122       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     122      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    123123    }
    124124    function newVariant()
  • trunk/www/admin/pluginconfigurations/list_configurations.jsp

    r5900 r5910  
    207207    function runPlugin(cmd)
    208208    {
    209       Table.submitToPopup(formId, cmd, 740, 540);
     209      Table.submitToPopup(formId, cmd, 750, 500);
    210210    }
    211211    function returnSelected()
  • trunk/www/admin/pluginconfigurations/view_configuration.jsp

    r5905 r5910  
    162162    function setOwner()
    163163    {
    164       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 150);
     164      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 300);
    165165    }
    166166    function runPlugin(cmd)
    167167    {
    168       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     168      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    169169    }
    170170    function configure()
  • trunk/www/admin/plugindefinitions/list_plugins.jsp

    r5900 r5910  
    212212    function runPlugin(cmd)
    213213    {
    214       Table.submitToPopup(formId, cmd, 740, 540);
     214      Table.submitToPopup(formId, cmd, 750, 500);
    215215    }
    216216    function returnSelected()
  • trunk/www/admin/plugindefinitions/view_plugin.jsp

    r5905 r5910  
    179179    function setOwner()
    180180    {
    181       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 150);
     181      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 300);
    182182    }
    183183    function runPlugin(cmd)
    184184    {
    185       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     185      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    186186    }
    187187    function unloadPlugin()
  • trunk/www/admin/plugintypes/list_plugintypes.jsp

    r5900 r5910  
    162162    function runPlugin(cmd)
    163163    {
    164       Table.submitToPopup(formId, cmd, 740, 540);
     164      Table.submitToPopup(formId, cmd, 750, 500);
    165165    }
    166166    function returnSelected()
  • trunk/www/admin/plugintypes/view_plugintype.jsp

    r5901 r5910  
    118118    function runPlugin(cmd)
    119119    {
    120       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     120      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    121121    }
    122122    </script>
  • trunk/www/admin/protocols/list_protocol.jsp

    r5900 r5910  
    174174    function runPlugin(cmd)
    175175    {
    176       Table.submitToPopup(formId, cmd, 740, 540);
     176      Table.submitToPopup(formId, cmd, 750, 500);
    177177    }
    178178    function returnSelected()
  • trunk/www/admin/protocols/view_protocol.jsp

    r5901 r5910  
    135135    function setOwner()
    136136    {
    137       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 150);
     137      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 300);
    138138    }
    139139    function runPlugin(cmd)
    140140    {
    141       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     141      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    142142    }
    143143    function switchTab(tabControlId, tabId)
  • trunk/www/admin/quantities/list_quantities.jsp

    r5900 r5910  
    160160    function runPlugin(cmd)
    161161    {
    162       Table.submitToPopup(formId, cmd, 740, 540);
     162      Table.submitToPopup(formId, cmd, 750, 500);
    163163    }
    164164    function returnSelected()
  • trunk/www/admin/quantities/units/view_unit.jsp

    r5905 r5910  
    130130    function runPlugin(cmd)
    131131    {
    132       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&quantity_id=<%=quantityId%>&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     132      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&quantity_id=<%=quantityId%>&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    133133    }
    134134    </script>
  • trunk/www/admin/quantities/view_quantity.jsp

    r5901 r5910  
    116116    function runPlugin(cmd)
    117117    {
    118       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     118      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    119119    }
    120120    function newUnit()
  • trunk/www/admin/quota/list_quota.jsp

    r5900 r5910  
    152152    function runPlugin(cmd)
    153153    {
    154       Table.submitToPopup(formId, cmd, 740, 540);
     154      Table.submitToPopup(formId, cmd, 750, 500);
    155155    }
    156156    function returnSelected()
  • trunk/www/admin/quota/view_quota.jsp

    r5901 r5910  
    144144    function runPlugin(cmd)
    145145    {
    146       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     146      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    147147    }
    148148    </script>
  • trunk/www/admin/quotatypes/list_quotatypes.jsp

    r5900 r5910  
    118118    function runPlugin(cmd)
    119119    {
    120       Table.submitToPopup(formId, cmd, 740, 540);
     120      Table.submitToPopup(formId, cmd, 750, 500);
    121121    }
    122122    function returnSelected()
  • trunk/www/admin/quotatypes/view_quotatype.jsp

    r5901 r5910  
    8888    function runPlugin(cmd)
    8989    {
    90       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     90      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    9191    }
    9292    </script>
  • trunk/www/admin/reporterclonetemplates/list_templates.jsp

    r5900 r5910  
    165165    function runPlugin(cmd)
    166166    {
    167       Table.submitToPopup(formId, cmd, 740, 540);
     167      Table.submitToPopup(formId, cmd, 750, 500);
    168168    }
    169169    function returnSelected()
  • trunk/www/admin/reporterclonetemplates/view_template.jsp

    r5901 r5910  
    132132    function setOwner()
    133133    {
    134       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 150);
     134      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 300);
    135135    }
    136136    function runPlugin(cmd)
    137137    {
    138       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     138      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    139139    }
    140140    function switchTab(tabControlId, tabId)
  • trunk/www/admin/reportertypes/list_reportertypes.jsp

    r5900 r5910  
    152152    function runPlugin(cmd)
    153153    {
    154       Table.submitToPopup(formId, cmd, 740, 540);
     154      Table.submitToPopup(formId, cmd, 750, 500);
    155155    }
    156156    function returnSelected()
  • trunk/www/admin/reportertypes/view_reportertype.jsp

    r5901 r5910  
    112112    function runPlugin(cmd)
    113113    {
    114       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     114      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    115115    }
    116116    </script>
  • trunk/www/admin/roles/list_roles.jsp

    r5900 r5910  
    162162    function runPlugin(cmd)
    163163    {
    164       Table.submitToPopup(formId, cmd, 740, 540);
     164      Table.submitToPopup(formId, cmd, 750, 500);
    165165    }
    166166    function returnSelected()
  • trunk/www/admin/roles/view_role.jsp

    r5905 r5910  
    153153    function runPlugin(cmd)
    154154    {
    155       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     155      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    156156    }
    157157    </script>
  • trunk/www/admin/software/list_software.jsp

    r5900 r5910  
    167167    function runPlugin(cmd)
    168168    {
    169       Table.submitToPopup(formId, cmd, 740, 540);
     169      Table.submitToPopup(formId, cmd, 750, 500);
    170170    }
    171171    function returnSelected()
  • trunk/www/admin/software/view_software.jsp

    r5901 r5910  
    127127    function setOwner()
    128128    {
    129       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 150);
     129      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 300);
    130130    }
    131131    function runPlugin(cmd)
    132132    {
    133       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     133      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    134134    }
    135135    </script>
  • trunk/www/admin/users/list_users.jsp

    r5900 r5910  
    176176    function runPlugin(cmd)
    177177    {
    178       Table.submitToPopup(formId, cmd, 740, 540);
     178      Table.submitToPopup(formId, cmd, 750, 500);
    179179    }
    180180    function returnSelected()
  • trunk/www/admin/users/view_user.jsp

    r5905 r5910  
    125125    function runPlugin(cmd)
    126126    {
    127       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     127      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    128128    }
    129129    </script>
  • trunk/www/biomaterials/bioplateeventtypes/list_eventtypes.jsp

    r5900 r5910  
    151151    function runPlugin(cmd)
    152152    {
    153       Table.submitToPopup(formId, cmd, 740, 540);
     153      Table.submitToPopup(formId, cmd, 750, 500);
    154154    }
    155155    function returnSelected()
  • trunk/www/biomaterials/bioplateeventtypes/view_eventtype.jsp

    r5901 r5910  
    119119    function runPlugin(cmd)
    120120    {
    121       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     121      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    122122    }
    123123    </script>
  • trunk/www/biomaterials/bioplates/events/list_events.jsp

    r5900 r5910  
    172172    function runPlugin(cmd)
    173173    {
    174       Table.submitToPopup(formId, cmd, 740, 540);
     174      Table.submitToPopup(formId, cmd, 750, 500);
    175175    }
    176176    function returnSelected()
  • trunk/www/biomaterials/bioplates/events/view_event.jsp

    r5642 r5910  
    158158    function setOwner()
    159159    {
    160       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 150);
     160      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 300);
    161161    }
    162162    function runPlugin(cmd)
    163163    {
    164       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     164      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    165165    }
    166166    </script>
  • trunk/www/biomaterials/bioplates/list_bioplates.jsp

    r5900 r5910  
    198198    function runPlugin(cmd)
    199199    {
    200       Table.submitToPopup(formId, cmd, 740, 540);
     200      Table.submitToPopup(formId, cmd, 750, 500);
    201201    }
    202202    function returnSelected()
  • trunk/www/biomaterials/bioplates/view_bioplate.jsp

    r5901 r5910  
    143143    function setOwner()
    144144    {
    145       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 150);
     145      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 300);
    146146    }
    147147    function runPlugin(cmd)
    148148    {
    149       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     149      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    150150    }
    151151    function viewWells()
  • trunk/www/biomaterials/bioplates/wells/list_biowells.jsp

    r5900 r5910  
    150150    function runPlugin(cmd)
    151151    {
    152       Table.submitToPopup(formId, cmd, 740, 540);
     152      Table.submitToPopup(formId, cmd, 750, 500);
    153153    }
    154154    function returnSelected()
  • trunk/www/biomaterials/bioplatetypes/list_platetypes.jsp

    r5900 r5910  
    177177    function runPlugin(cmd)
    178178    {
    179       Table.submitToPopup(formId, cmd, 740, 540);
     179      Table.submitToPopup(formId, cmd, 750, 500);
    180180    }
    181181    function returnSelected()
  • trunk/www/biomaterials/bioplatetypes/view_platetype.jsp

    r5901 r5910  
    120120    function runPlugin(cmd)
    121121    {
    122       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     122      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    123123    }
    124124    </script>
  • trunk/www/biomaterials/biosources/list_biosources.jsp

    r5900 r5910  
    184184    function runPlugin(cmd)
    185185    {
    186       Table.submitToPopup(formId, cmd, 740, 540);
     186      Table.submitToPopup(formId, cmd, 750, 500);
    187187    }
    188188    function returnSelected()
  • trunk/www/biomaterials/biosources/view_biosource.jsp

    r5901 r5910  
    140140    function setOwner()
    141141    {
    142       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 150);
     142      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 300);
    143143    }
    144144    function runPlugin(cmd)
    145145    {
    146       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     146      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    147147    }
    148148    function newSample()
  • trunk/www/biomaterials/events/list_events.jsp

    r5900 r5910  
    174174    function runPlugin(cmd)
    175175    {
    176       Table.submitToPopup(formId, cmd, 740, 540);
     176      Table.submitToPopup(formId, cmd, 750, 500);
    177177    }
    178178    function returnSelected()
  • trunk/www/biomaterials/events/view_event.jsp

    r5663 r5910  
    146146    function runPlugin(cmd)
    147147    {
    148       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&biomaterial_id=<%=bioMaterialId%>&biomaterial_type=<%=bioMaterialType.name()%>&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     148      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&biomaterial_id=<%=bioMaterialId%>&biomaterial_type=<%=bioMaterialType.name()%>&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    149149    }
    150150    </script>
  • trunk/www/biomaterials/extracts/list_extracts.jsp

    r5900 r5910  
    250250    function runPlugin(cmd)
    251251    {
    252       Table.submitToPopup(formId, cmd, 740, 540);
     252      Table.submitToPopup(formId, cmd, 750, 500);
    253253    }
    254254    function returnSelected()
  • trunk/www/biomaterials/extracts/view_extract.jsp

    r5905 r5910  
    159159    function setOwner()
    160160    {
    161       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 150);
     161      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 300);
    162162    }
    163163    function runPlugin(cmd)
    164164    {
    165       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     165      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    166166    }
    167167    function viewEvents()
  • trunk/www/biomaterials/lists/list_lists.jsp

    r5900 r5910  
    166166    function runPlugin(cmd)
    167167    {
    168       Table.submitToPopup(formId, cmd, 740, 540);
     168      Table.submitToPopup(formId, cmd, 750, 500);
    169169    }
    170170    function returnSelected()
  • trunk/www/biomaterials/lists/members/list_members.jsp

    r5900 r5910  
    196196    function runPlugin(cmd)
    197197    {
    198       Table.submitToPopup(formId, cmd, 740, 540);
     198      Table.submitToPopup(formId, cmd, 750, 500);
    199199    }
    200200    function returnSelected()
  • trunk/www/biomaterials/lists/view_list.jsp

    r5901 r5910  
    128128    function setOwner()
    129129    {
    130       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 150);
     130      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 300);
    131131    }
    132132    function runPlugin(cmd)
    133133    {
    134       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     134      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    135135    }
    136136    function viewMembers()
  • trunk/www/biomaterials/samples/list_samples.jsp

    r5900 r5910  
    236236    function runPlugin(cmd)
    237237    {
    238       Table.submitToPopup(formId, cmd, 740, 540);
     238      Table.submitToPopup(formId, cmd, 750, 500);
    239239    }
    240240    function returnSelected()
  • trunk/www/biomaterials/samples/view_sample.jsp

    r5905 r5910  
    159159    function setOwner()
    160160    {
    161       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 150);
     161      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 300);
    162162    }
    163163    function runPlugin(cmd)
    164164    {
    165       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     165      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    166166    }
    167167    function viewEvents()
  • trunk/www/biomaterials/tags/list_tags.jsp

    r5900 r5910  
    168168    function runPlugin(cmd)
    169169    {
    170       Table.submitToPopup(formId, cmd, 740, 540);
     170      Table.submitToPopup(formId, cmd, 750, 500);
    171171    }
    172172    function returnSelected()
  • trunk/www/biomaterials/tags/view_tag.jsp

    r5901 r5910  
    132132    function setOwner()
    133133    {
    134       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 150);
     134      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 300);
    135135    }
    136136    function runPlugin(cmd)
    137137    {
    138       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     138      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    139139    }
    140140    </script>
  • trunk/www/common/history/list_history.jsp

    r5426 r5910  
    131131    function runPlugin(cmd)
    132132    {
    133       Table.submitToPopup(formId, cmd, 740, 540);
     133      Table.submitToPopup(formId, cmd, 750, 500);
    134134    }
    135135    </script>
  • trunk/www/common/import/no_fileformat.jsp

    r5900 r5910  
    7676  File file = File.getById(dc, fileId);
    7777  %>
    78  
    7978  <base:page type="popup" title="No matching file format">
    8079  <base:head>
     
    9897  </base:head>
    9998  <base:body>
     99    <h1>No matching file format</h1>
    100100    <form name="import" action="index.jsp" method="post" onsubmit="return false;">
    101101    <input type="hidden" name="ID" value="<%=ID%>">
     
    109109    <input type="hidden" name="plugindefinition_id" value="<%=request.getParameter("plugindefinition_id")%>">
    110110    <input type="hidden" name="file_id" value="<%=fileId%>">
    111 
    112111    </form>
    113112   
    114       <base:note type="info" title="No matching file format">
    115       <br>
    116       No file format that matches the file <b><%=file.getPath().toString()%></b> could be found.
    117       <br><br>
    118       </base:note>
    119  
    120     <br>
    121     <base:buttongroup>
     113    <div class="content">
     114      <table class="fullcc"><tr><td>
     115        <b>No file format that matches the file
     116        <code><%=file.getPath().toString()%></code> could be found.</b>
     117      </td></tr></table>
     118    </div>
     119
     120    <base:buttongroup subclass="dialogbuttons">
    122121      <base:button onclick="addFileFormat()"
    123122        image="new.gif" title="Add file format&hellip;"
  • trunk/www/common/import/select_file.jsp

    r5905 r5910  
    173173  </base:head>
    174174  <base:body>
     175    <h1><%=title%> (auto-detect file format) <base:help helpid="import.autodetect.selectfile" /></h1>
     176   
    175177    <form name="import" action="index.jsp" method="get" onsubmit="return false;">
    176178    <input type="hidden" name="ID" value="<%=ID%>">
     
    185187    <input type="hidden" name="file_id" value="">
    186188   
    187     <h3 class="docked"><%=title%> (auto-detect file format) <base:help helpid="import.autodetect.selectfile" /></h3>
    188     <div class="boxed">
    189       <div class="helpmessage">
    190       Select a file to import from.
     189    <div class="content bottomborder">
     190      <div class="absolutefull filled" style="height: 4em;">
     191        <table style="height: 100%; margin: auto;"><tr><td>
     192        Select a file to import from.
     193        </td></tr></table>
    191194      </div>
    192       <table class="form" width="100%">
    193       <tr >
    194         <td class="prompt">Plugin</td>
    195         <td><%=plugin != null ? HTML.encodeTags(plugin.getName()) : "<i>- all -</i>"%></td>
    196       </tr>
    197       <tr >
    198         <td class="prompt">File</td>
    199         <td>
    200           <table border="0" cellspacing="0" cellpadding="0">
    201           <tr>
    202           <td><input type="text" class="text required" name="path" size="60"
    203             value="<%=currentFile != null ? HTML.encodeTags(currentFile.getPath().toString()) : "" %>">&nbsp;</td>
    204           <td><base:button
    205               title="Browse&hellip;"
    206               onclick="browseOnClick()"
    207               />
     195     
     196      <div class="absolutefull topborder" style="top: 4em;">
     197        <table class="fullform input100">
     198        <tr>
     199          <th>Plugin</th>
     200          <td><%=plugin != null ? HTML.encodeTags(plugin.getName()) : "<i>- all -</i>"%></td>
     201        </tr>
     202        <tr>
     203          <th>File</th>
     204          <td>
     205            <table style="width: 100%;">
     206            <tr>
     207              <td style="width: 98%;"><input type="text" class="text required" name="path"
     208                value="<%=currentFile != null ? HTML.encodeTags(currentFile.getPath().toString()) : "" %>">&nbsp;</td>
     209              <td><base:button
     210                  title="Browse&hellip;"
     211                  onclick="browseOnClick()"
     212                  />
     213              </td>
     214            </tr>
     215            </table>
    208216          </td>
    209           </tr>
    210           </table>
    211         </td>
    212       </tr>
    213       <tr>
    214         <td class="prompt">Character set</td>
    215         <td>
    216           <select name="charset">
    217           <%
    218           String defaultCharset = Config.getCharset();
    219           int numCommon = Config.getCommonCharsets().size();
    220           int i = 0;
    221           for (String charset : Config.getAllCharsets())
    222           {
    223             %>
    224             <option value="<%=charset%>"
    225               <%=defaultCharset.equalsIgnoreCase(charset) ? "selected" : ""%>
    226               <%=i==numCommon ? "style=\"border-top: 1px solid #666666;\"" : "" %>><%=charset%>
     217        </tr>
     218        <tr>
     219          <th>Character set</th>
     220          <td>
     221            <select name="charset">
    227222            <%
    228             i++;
    229           }
    230           %>
    231           </select>
    232         </td>
    233       </tr>
    234       <%
    235       if (dataFiles != null && dataFiles.size() > 0)
    236       {
    237         %>
    238         <tr>
    239           <td class="prompt">Data files</td>
    240           <td>
    241             <select name="dataFile" onchange="dataFileOnChange()">
    242             <option value="">
    243             <%
    244             for (FileSetMember member : dataFiles)
     223            String defaultCharset = Config.getCharset();
     224            int numCommon = Config.getCommonCharsets().size();
     225            int i = 0;
     226            for (String charset : Config.getAllCharsets())
    245227            {
    246               File file = null;
    247               DataFileType dft = null;
    248               try
    249               {
    250                 dft = member.getDataFileType();
    251               }
    252               catch (Throwable t)
    253               {}
    254               try
    255               {
    256                 file = member.getFile();
    257               }
    258               catch (Throwable t)
    259               {}
    260               if (file != null)
    261               {
    262                 String path = HTML.encodeTags(file.getPath().toString());
    263                 String type = dft != null ? "[" + HTML.encodeTags(dft.getName()) + "] " : "";
    264                 %>
    265                 <option value="<%=file.getId()%>"><%=type%><%=path%>
    266                 <%
    267               }
     228              %>
     229              <option value="<%=charset%>"
     230                <%=defaultCharset.equalsIgnoreCase(charset) ? "selected" : ""%>
     231                <%=i==numCommon ? "style=\"border-top: 1px solid #666666;\"" : "" %>><%=charset%>
     232              <%
     233              i++;
    268234            }
    269235            %>
     
    272238        </tr>
    273239        <%
    274       }
    275       %>
    276       <%
    277       if (recentFiles.size() > 0)
    278       {
     240        if (dataFiles != null && dataFiles.size() > 0)
     241        {
     242          %>
     243          <tr>
     244            <th>Data files</th>
     245            <td>
     246              <select name="dataFile" onchange="dataFileOnChange()">
     247              <option value="">
     248              <%
     249              for (FileSetMember member : dataFiles)
     250              {
     251                File file = null;
     252                DataFileType dft = null;
     253                try
     254                {
     255                  dft = member.getDataFileType();
     256                }
     257                catch (Throwable t)
     258                {}
     259                try
     260                {
     261                  file = member.getFile();
     262                }
     263                catch (Throwable t)
     264                {}
     265                if (file != null)
     266                {
     267                  String path = HTML.encodeTags(file.getPath().toString());
     268                  String type = dft != null ? "[" + HTML.encodeTags(dft.getName()) + "] " : "";
     269                  %>
     270                  <option value="<%=file.getId()%>"><%=type%><%=path%>
     271                  <%
     272                }
     273              }
     274              %>
     275              </select>
     276            </td>
     277          </tr>
     278          <%
     279        }
    279280        %>
    280         <tr>
    281           <td class="prompt">Recently used</td>
    282           <td>
    283             <select name="recentFile" onchange="recentFileOnChange()">
    284             <option value="">
    285             <%
    286             for (File recent : recentFiles)
    287             {
    288               String path = HTML.encodeTags(recent.getPath().toString());
     281        <%
     282        if (recentFiles.size() > 0)
     283        {
     284          %>
     285          <tr>
     286            <th>Recently used</th>
     287            <td>
     288              <select name="recentFile" onchange="recentFileOnChange()">
     289              <option value="">
     290              <%
     291              for (File recent : recentFiles)
     292              {
     293                String path = HTML.encodeTags(recent.getPath().toString());
     294                %>
     295                <option value="<%=recent.getId()%>"><%=path%>
     296                <%
     297              }
    289298              %>
    290               <option value="<%=recent.getId()%>"><%=path%>
    291               <%
    292             }
    293             %>
    294             </select>
    295           </td>
     299              </select>
     300            </td>
     301          </tr>
     302          <%
     303        }
     304        %>
     305        <tr class="dynamic">
     306          <th></th>
     307          <td></td>
    296308        </tr>
    297         <%
    298       }
    299       %>
    300       </table>
    301       <div align=right>&nbsp;<i><base:icon image="required.gif" /> = required information</i></div>
     309        </table>
     310      </div>
    302311    </div>
    303312    </form>
    304313 
    305     <table align="center">
    306     <tr>
    307       <td width="50%"><base:button onclick="doImport();" title="Next" /></td>
    308       <td width="50%"><base:button onclick="window.close();" title="Cancel" /></td>
    309     </tr>
    310     </table>
     314    <div class="legend">
     315      <base:icon image="required.gif" /> = required information
     316    </div>
     317 
     318    <base:buttongroup subclass="dialogbuttons">
     319      <base:button onclick="doImport();" title="Next" />
     320      <base:button onclick="window.close();" title="Cancel" />
     321    </base:buttongroup>
    311322  </base:body>
    312323  </base:page>
  • trunk/www/common/import/select_plugin.jsp

    r5905 r5910  
    177177  </base:head>
    178178  <base:body onload="init()">
     179    <h1><%=title%> <base:help helpid="import.selectplugin" /></h1>
    179180    <form name="import" action="index.jsp" method="post" onsubmit="return false;">
    180181    <input type="hidden" name="ID" value="<%=ID%>">
     
    188189    <input type="hidden" name="pluginconfiguration_id" value="">
    189190
    190     <h3 class="docked"><%=title%> <base:help helpid="import.selectplugin" /></h3>
    191     <div class="boxed" style="height: <%=(int)(scale*420)%>px; overflow: auto;">
    192       <div class="helpmessage">
    193       <%
    194       if (message != null)
    195       {
    196         %>
    197         <%=message%>
    198         <%
    199       }
    200       else
    201       {
    202         %>
    203         Please select a plugin and file format to use.
    204         <%
    205       }
    206       %>
     191    <div class="content bottomborder">
     192      <div class="absolutefull filled" style="height: 4em;">
     193        <table style="height: 100%; margin: auto;"><tr><td>
     194            <%
     195            if (anotherIsOpen)
     196            {
     197              %>
     198              <div class="messagecontainer error" style="margin: 0.2em; padding: 0.2em;">
     199                Another plug-in configuration wizard is open, or it hasn't properly
     200                clean up after itself.<br>
     201                If you continue unsaved settings in the other wizard is lost.
     202              </div>
     203              <%
     204            }
     205            else
     206            {
     207              %>
     208              <%
     209              if (message != null)
     210              {
     211                %>
     212                <%=message%>
     213                <%
     214              }
     215              else
     216              {
     217                %>
     218                Please select a plugin and file format to use.
     219                <%
     220              }
     221              %>
     222            <%
     223            }
     224          %>
     225        </td></tr></table>
    207226      </div>
    208    
    209       <table class="form" width="100%">
    210       <tr >
    211         <td class="prompt">Plugin + file format</td>
    212         <td>
    213           <select name="plugins" class="required" onchange="pluginOnChange()">
    214           </select>
    215           <%
    216           if (!noAutodetect)
    217           {
     227     
     228      <div class="absolutefull topborder" style="top: 4em;">
     229        <table class="fullform">
     230        <tr>
     231          <th>Plugin + file format</th>
     232          <td>
     233            <select name="plugins" class="required" onchange="pluginOnChange()">
     234            </select>
     235            <%
     236            if (!noAutodetect)
     237            {
     238              %>
     239              × = Supports auto-detection
     240              <%
     241            }
    218242            %>
    219             × = Supports auto-detection
    220             <%
    221           }
    222           %>
    223         </td>
    224       </tr>
    225       <%
    226       if (messages != null && messages.size() > 0)
    227       {
    228         %>
    229         <tr>
    230           <td class="prompt">&nbsp;</td>
     243          </td>
     244        </tr>
     245        <tr class="dynamic">
     246          <th></th>
    231247          <td>
    232             <base:icon image="bullet.gif" />
    233             <a href="javascript:Main.showHide('pluginMessages')"
    234               title="Show/hide the messages from the plugins that couldn't be used">
    235             Some plugins couldn't be used
    236             </a>
    237             <div id="pluginMessages" style="display: none;">
    238             <ul>
    239             <li><%=Values.getString(messages, "<li>", true)%>
    240             </ul>
     248            <div id="descriptions" class="messagecontainer help" style="margin-left: 0px;">
     249            <%=descriptions.toString()%>
    241250            </div>
    242251          </td>
    243252        </tr>
    244253        <%
    245       }
    246       %>
    247       </table>
    248       <div align=right>&nbsp;<i><base:icon image="required.gif" /> = required information</i></div>
    249       <div id="descriptions" class="helpmessage"
    250         style="height: <%=(int)(scale*270)%>px; overflow: auto;">
    251       <%=descriptions.toString()%>
     254        if (messages != null && messages.size() > 0)
     255        {
     256          %>
     257          <tr class="big">
     258            <th></th>
     259            <td>
     260              <base:icon image="bullet.gif" />
     261              <a href="javascript:Main.showHide('pluginMessages')"
     262                title="Show/hide the messages from the plugins that couldn't be used">
     263              Some plugins couldn't be used
     264              </a>
     265              <div id="pluginMessages" style="display: none;">
     266              <ul>
     267              <li><%=Values.getString(messages, "<li>", true)%>
     268              </ul>
     269              </div>
     270            </td>
     271          </tr>
     272          <%
     273        }
     274        %>
     275        </table>
    252276      </div>
    253277    </div>
    254278    </form>
    255279 
    256     <%
    257     if (anotherIsOpen)
    258     {
    259       %>
    260       <div class="error">
    261         Another plug-in configuration wizard is open, or it hasn't properly
    262         clean up after itself.<br>
    263         If you continue unsaved settings in the other wizard is lost.
    264       </div>
    265       <%
    266     }
    267     %>
    268     <table align="center">
    269     <tr>
    270       <td width="50%"><base:button onclick="doNext();" title="Next" /></td>
    271       <td width="50%"><base:button onclick="window.close();" title="Cancel" /></td>
    272     </tr>
    273     </table>
     280    <base:buttongroup subclass="dialogbuttons">
     281      <base:button onclick="doNext();" title="Next" />
     282      <base:button onclick="window.close();" title="Cancel" />
     283    </base:buttongroup>
    274284  </base:body>
    275285  </base:page>
  • trunk/www/common/plugin/configure.jsp

    r5908 r5910  
    121121      var width = Main.getWindowWidth();
    122122      var height = Main.getWindowHeight();
    123       if (height < 600) height = 600;
    124       if (width < 800) width = 800; // >
     123      if (height < 500) height = 500;
     124      if (width < 750) width = 750; // >
    125125      window.resizeTo(width, height);
    126126      <%
     
    263263          else
    264264          {
    265             sb.append("<h4 class=\"param\" id=\"prompt_"+name+"\" title=\""+fullLabel+"\" onclick=\"parametersOnClick('"+name+"')\">"+label+"</h4>");
     265            sb.append("<div class=\"section\" id=\"prompt_"+name+"\" title=\""+fullLabel+"\" onclick=\"parametersOnClick('"+name+"')\">"+label+"</div>");
    266266            %>
    267267            new Parameter('<%=name%>', '[<%=HTML.javaScriptEncode(param.getLabel())%>]', 1, 0, 0, {});
     
    695695  </base:head>
    696696  <base:body onload="init()">
    697     <p>
     697    <h1><%=title%> <base:help
     698      helpid="<%="runplugin.configure"+(job != null ? "." + plugin.getMainType().name().toLowerCase() : "") %>" /></h1>
     699
    698700    <form action="index.jsp?ID=<%=ID%>" method="post" name="configure" onsubmit="return false;">
    699701    <input type="hidden" name="cmd" value="SetParameters">
     
    710712    <input type="hidden" name="subcontext" value="<%=subContext%>">
    711713   
    712     <h3 class="docked"><%=title%> <base:help
    713       helpid="<%="runplugin.configure"+(job != null ? "." + plugin.getMainType().name().toLowerCase() : "") %>" /></h3>
    714     <div class="boxed">
    715    
    716       <table class="form">
    717       <tr >
    718         <td class="prompt">Plugin</td>
    719         <td><%=plugin == null ? "<i>- none -</i>" : HTML.encodeTags(plugin.getName())%></td>
    720         <td class="prompt">Configuration</td>
    721         <td><%=pluginConfig == null ? "<i>- none -</i>" : HTML.encodeTags(pluginConfig.getName())%></td>
    722       </tr>
    723       </table>
    724    
    725       <div class="pluginhelp">
     714    <div class="content bottomborder">
     715
     716      <div class="absolutefull filled" style="height: 4em;">
     717        <table style="height: 100%; margin:auto;"><tr><td>
     718        <b>
     719          <%=plugin == null ? "" : HTML.encodeTags(plugin.getName())%>
     720          <%=pluginConfig == null ? "" : "(" + HTML.encodeTags(pluginConfig.getName()) + ")"%>
     721        </b><br>
    726722        <%=HTML.niceFormat(helpText)%>
     723        </td></tr></table>
    727724      </div>
    728 
    729       <table class="form" cellspacing="0" border="0" cellpadding="0" width="100%">
    730       <tr >
    731         <td nowrap style="width: 240px">
    732           <div class="parameterlist" style="height: <%=(int)(scale*320)%>px; width:240px;">
     725     
     726      <div class="absolutefull topborder" style="top:4em;">
     727        <div class="absolutefull parameterlist" style="width: 18em;">
     728          <div class="absolutefull" style="bottom: 2em; overflow: auto;">
    733729          <%=sb.toString()%>
    734730          </div>
    735           <base:icon image="hasvalues.gif" /> = has value(s), <base:icon image="required.gif" /> = required
    736         </td>
    737731       
    738         <td>
     732          <div class="absolutefull topborder" style="top: auto; bottom: 0px; height: 2em;">
     733            <table style="height: 100%; margin:auto;"><tr><td>
     734            <base:icon image="hasvalues.gif" /> = has value(s), <base:icon image="required.gif" /> = required
     735            </td></tr></table>
     736          </div>
     737        </div>
     738       
     739        <div class="absolutefull input100" style="left: 18em; padding: 8px;">
    739740          <%
    740741          if (errorMessage != null || (errors != null && errors.size() > 0))
     
    958959                  {
    959960                    Integer maxLength = ((StringParameterType)pType).getMaxLength();
    960                     int width = pType.getWidth() <= 0 ? 40 : pType.getWidth();
    961                     if (width > 80) width = 80;
    962961                    int height = pType.getHeight() <= 0 ? 6 : pType.getHeight();
    963962                    if (height > 20) height = 20;
     
    966965                      %>
    967966                      <b><%=HTML.encodeTags(param.getLabel())%></b> (Text)<br>
    968                       <textarea <%=pType.getNotNull() ? requiredClazz : clazz%>
    969                         name="<%=inputName%>" rows="<%=height%>" cols="<%=width%>"
    970                         onblur="valueOnBlur(this.value)"></textarea>
    971                       <a href="javascript:Main.zoom('<%=HTML.javaScriptEncode(param.getLabel())%>', 'configure', '<%=inputName%>')"
    972                         title="Edit in larger window"><base:icon image="zoom.png" /></a>
     967                      <table style="width: 100%;">
     968                      <tr>
     969                        <td>
     970                        <textarea <%=pType.getNotNull() ? requiredClazz : clazz%>
     971                          name="<%=inputName%>" rows="<%=height%>"
     972                          onblur="valueOnBlur(this.value)"></textarea>
     973                        </td>
     974                        <td style="width: 20px;">
     975                          <base:icon image="zoom.png"
     976                            onclick="<%="Main.zoom('" + HTML.javaScriptEncode(param.getLabel()) +"', 'configure', '" + inputName + "')"%>"
     977                            tooltip="Edit in larger window"
     978                          />
     979                        </td>
     980                      </tr>
     981                      </table>
    973982                      <%
    974983                    }
     
    979988                      <input <%=pType.getNotNull() ? requiredClazz : clazz%> type="text"
    980989                        name="<%=inputName%>" value=""
    981                         size="<%=width%>" maxlength="<%=maxLength%>"
     990                        maxlength="<%=maxLength%>"
    982991                        onblur="valueOnBlur(this.value)">
    983992                      <%
     
    11541163                    %>
    11551164                    <b><%=HTML.encodeTags(param.getLabel())%></b><br>
    1156                     <table border="0" cellspacing="0" cellpadding="0">
     1165                    <table style="width: 100%;">
    11571166                    <tr>
    1158                     <td><input <%=pType.getNotNull() ? requiredClazz : clazz%> type="text"
     1167                    <td style="width: 98%;"><input <%=pType.getNotNull() ? requiredClazz : clazz%> type="text"
    11591168                      name="<%=inputName%>" value=""
    1160                       size="50"
    11611169                      onblur="valueOnBlur(this.value)">&nbsp;</td>
    11621170                    <td><base:button
     
    12471255                    %>
    12481256                    <b><%=HTML.encodeTags(param.getLabel())%></b><br>
    1249                     <table border="0" cellspacing="0" cellpadding="0">
     1257                    <table style="width: 100%;">
    12501258                    <tr>
    1251                     <td>
    1252                       <input type="text" class="text" name="<%=inputName%>" size="40" value=""
     1259                    <td style="width: 98%;">
     1260                      <input type="text" class="text" name="<%=inputName%>" value=""
    12531261                        onblur="valueOnBlur(this.value)">&nbsp;</td>
    12541262                    <td><base:button
     
    12681276                  }
    12691277                  %>
    1270                   <br>
    1271                   <div class="parameterhelp">
     1278                  <div class="messagecontainer help" style="margin-left: 0px; margin-right: 0px;">
    12721279                  <%=HTML.niceFormat(param.getDescription())%>
    12731280                  </div>
     
    12781285                {
    12791286                  %>
    1280                   <div id="<%=inputName%>_div" style="display: none;" class="parameterhelp">
     1287                  <div id="<%=inputName%>_div" style="display: none;" class="messagecontainer help">
    12811288                  <%=HTML.niceFormat(param.getDescription())%>
    12821289                  </div>
     
    12871294          }
    12881295          %>
    1289         </td>
    1290       </tr>
    1291       </table>
     1296       
     1297        </div>
     1298       
    12921299      </div>
     1300
     1301    </div>
     1302
    12931303    </form>
    1294     <div align="center">
    1295     <base:buttongroup>
     1304
     1305    <base:buttongroup subclass="dialogbuttons">
    12961306      <base:button onclick="testWithFile()" title="Test with file&hellip;" image="file.gif"
    12971307        tooltip="Use an uploaded file to create the regular expressions and column mappings"
     
    13001310      <base:button onclick="doCancel()" title="Cancel" />
    13011311    </base:buttongroup>
    1302     </div>
    13031312  </base:body>
    13041313  </base:page>
  • trunk/www/common/plugin/download_immediately.jsp

    r5798 r5910  
    8383    function displayProgress(percentDone)
    8484    {   
    85       document.getElementById('percent').innerHTML = '&nbsp;' + percentDone+'%';
     85      document.getElementById('percentText').innerHTML = percentDone+'%';
    8686      var doneElement = document.getElementById('percentDone');
    8787      doneElement.style.width = percentDone+'%';
     
    9595      document.getElementById('percentDone').width = '0%';
    9696      document.getElementById('percentRemain').width = '100%';
    97       document.getElementById('percent').innerHTML = '&nbsp;0%';
     97      document.getElementById('percentText').innerHTML = '0%';
    9898    }
    9999    </script>
    100100  </base:head>
    101101  <base:body onload="init()">
     102    <h1>Export items</h1>
     103   
     104    <div class="content">
     105      <table class="fullcc"><tr><td>
     106        <div id="beforeDownloadInfo">
     107        The configuration has been successfully completed.
     108        Use the <code>Download</code> button to download the
     109        exported data.
     110        </div>
     111        <div id="afterDownloadInfo">
     112        Do not close this window until the download has finished.
     113        </div>
     114        <br>
     115        <!-- The progress bar -->
     116        <div id="progress" style="align:center;">
     117          <table class="progressbar" style="margin: auto;">
     118          <tr>
     119          <td>
     120            <table id="bar" style="width: 200px">
     121            <tr>
     122              <td style="width: 0%;" id="percentDone">&nbsp;</td>
     123              <td style="width: 100%;" id="percentRemain">&nbsp;</td>
     124            </tr>
     125            </table>
     126          </td>
     127          <td id="percentText">0%</td>
     128          </tr>
     129          </table>
     130        </div>
     131   
     132      </td></tr></table>
     133    </div>
     134   
    102135
    103   <br><br>
    104   <div align="center">
    105   <base:note type="info" title="<%=title%>" style="width:80%;">
    106     <br>
    107     <div id="beforeDownloadInfo">
    108     The configuration has been successfully completed.
    109     Use the <code>Download</code> button to download the
    110     exported data.
    111     </div>
    112     <div id="afterDownloadInfo">
    113     Do not close this window until the download has finished.
    114     </div>
    115     <br>
    116     <!-- The progress bar -->
    117     <div id="progress" style="align:center;">
    118       <table width="90%" border=0 cellspacing=0 cellpadding=0 align="center">
    119       <tr>
    120       <td width="80%" >
    121         <table width="100%" class="progressbar" border=0 cellspacing=0 cellpadding=0>
    122         <tr>
    123           <td width="0%" class="done" id="percentDone">&nbsp;</td>
    124           <td width="100%" class="remain" id="percentRemain">&nbsp;</td>
    125         </tr>
    126         </table>
    127       </td>
    128         <td width="20%" id="percent">&nbsp;0%</td>
    129       </tr>
    130       </table>
    131     </div>
    132     <br><br>
    133   </base:note>
    134   </div>
    135   <br>
    136 
    137     <table align="center">
    138     <tr>
    139       <td width="50%"><base:button id="download" onclick="downloadExport();" title="Download"
    140         image="download.gif" /></td>
    141       <td width="50%"><base:button onclick="doCancel();" title="Cancel" /></td>
    142     </tr>
    143     </table>
    144     <iframe id="downloadFrame" src="" frameborder=0 width=1 height=1/>
     136    <base:buttongroup subclass="dialogbuttons">
     137      <base:button id="download" onclick="downloadExport();" title="Download" image="download.gif" />
     138      <base:button onclick="doCancel();" title="Cancel" />
     139    </base:buttongroup>
     140   
     141    <iframe id="downloadFrame" src="" frameborder="0" width="1" height="1" />
    145142  </base:body>
    146143  </base:page>
  • trunk/www/common/plugin/finish_job.jsp

    r5908 r5910  
    109109  </base:head>
    110110  <base:body>
     111    <h1>Set job name and options <base:help helpid="runplugin.finishjob" /></h1>
    111112    <form name="plugin" action="index.jsp" method="post" onsubmit="return false;">
    112113    <input type="hidden" name="ID" value="<%=ID%>">
    113114    <input type="hidden" name="cmd" value="FinishNewJob">
    114115
    115     <h3 class="docked">Set job name and options <base:help helpid="runplugin.finishjob" /></h3>
    116     <div class="boxed">
    117       <table class="form" width="100%">
    118       <tr >
    119         <td class="prompt">Plugin</td>
     116    <div class="content">
     117      <table class="fullform input100 bottomborder">
     118      <tr>
     119        <th>Plugin</th>
    120120        <td><%=HTML.encodeTags(plugin.getName())%></td>
    121       </tr>
    122       <tr  id="configurations">
    123         <td class="prompt">Configuration</td>
     121        <td></td>
     122      </tr>
     123      <tr id="configurations">
     124        <th>Configuration</th>
    124125        <td><%=pluginConfig == null ? "<i>- none -</i>" : HTML.encodeTags(pluginConfig.getName())%></td>
    125       </tr>
    126 
    127       <tr >
    128         <td class="prompt">Job name</td>
     126        <td></td>
     127      </tr>
     128      <tr>
     129        <th>Job name</th>
    129130        <td><input type="text" class="text required"
    130131          name="name" value="<%=HTML.encodeTags(job.getName())%>"
    131           size="40" maxlength="<%=Job.MAX_NAME_LENGTH%>">
    132         </td>
    133       </tr>
    134      
     132          maxlength="<%=Job.MAX_NAME_LENGTH%>">
     133        </td>
     134        <td></td>
     135      </tr>
    135136      <%
    136137      if (agents != null && agents.size() > 0)
    137138      {
    138139        %>
    139         <tr >
    140           <td class="prompt">Use job agent</td>
     140        <tr>
     141          <th>Use job agent</th>
    141142          <td>
    142143            <select name="agent_id">
     
    152153            </select>
    153154          </td>
     155          <td></td>
    154156        </tr>
    155157        <%
    156158      }
    157159      %>
    158      
    159       <tr >
    160         <td class="prompt">Job description</td>
    161         <td nowrap>
    162           <textarea class="text" rows="4" cols="40" name="job_description"
    163             ><%=HTML.encodeTags(job.getDescription())%></textarea>
    164           <a href="javascript:Main.zoom('Job description', 'plugin', 'description')"
    165             title="Edit in larger window"><base:icon image="zoom.png" /></a>
    166         </td>
    167       </tr>
    168      
    169       <tr>
    170         <td class="prompt">Send message</td>
     160      <tr>
     161        <th>Send message</th>
    171162        <td>
    172163          <input type="checkbox" name="send_message" id="sendMessage" value="1" <%=sendMessage ? "checked" : "" %>>
     
    174165          message<%=sendMessageAsEmail ? "+email" : "" %> when the job is completed</label>
    175166        </td>
     167        <td></td>
    176168      </tr>
    177169     
    178170      <tr>
    179         <td class="prompt">Remove job</td>
     171        <th>Remove job</th>
    180172        <%
    181173        if (plugin.getMainType().equals(Plugin.MainType.EXPORT) ||
     
    196188        }
    197189        %>
    198       </tr>
    199            
     190        <td></td>
     191      </tr>
     192      <tr class="dynamic">
     193        <th>Job description</th>
     194        <td>
     195          <textarea class="text" rows="4" name="job_description"
     196            ><%=HTML.encodeTags(job.getDescription())%></textarea>
     197        </td>
     198        <td style="width: 20px;">
     199          <base:icon image="zoom.png"
     200            onclick="Main.zoom('Job description', 'plugin', 'description')"
     201            tooltip="Edit in larger window"
     202          />
     203        </td>
     204      </tr>
    200205      </table>
    201       <div align=right>&nbsp;<i><base:icon image="required.gif" /> = required information</i></div>
    202206    </div>
    203207    </form>
    204  
    205     <table align="center">
    206     <tr>
    207       <td width="50%"><base:button onclick="doFinish();" title="Finish" image="gonext.gif" /></td>
    208       <td width="50%"><base:button onclick="doCancel();" title="Cancel" /></td>
    209     </tr>
    210     </table>
     208     
     209    <base:buttongroup subclass="dialogbuttons">
     210      <base:button onclick="doFinish();" title="Finish" image="gonext.png" />
     211      <td width="50%"><base:button onclick="doCancel();" title="Cancel" />
     212    </base:buttongroup>
    211213  </base:body>
    212214  </base:page>
  • trunk/www/common/plugin/select_plugin.jsp

    r5905 r5910  
    165165  </base:head>
    166166  <base:body onload="init()">
     167    <h1><%=title%> <base:help helpid="runplugin.selectplugin" /></h1>
    167168    <form name="plugin" action="index.jsp" method="post" onsubmit="return false;">
    168169    <input type="hidden" name="ID" value="<%=ID%>">
     
    177178    <input type="hidden" name="pluginconfiguration_id" value="">
    178179
    179     <h3 class="docked"><%=title%> <base:help helpid="runplugin.selectplugin" /></h3>
    180     <div class="boxed" style="height: <%=(int)(scale*420)%>px; overflow: auto;">
    181       <div class="helpmessage">
    182       <%
    183       if (message != null)
    184       {
    185         %>
    186         <%=message%>
    187         <%
    188       }
    189       else
    190       {
    191         %>
    192         Please select the plugin and, optionally, the configuration to use.
    193         <%
    194       }
    195       %>
     180    <div class="content bottomborder">
     181   
     182      <div class="absolutefull filled" style="height: 4em;">
     183        <table style="height: 100%; margin:auto;"><tr><td>
     184            <%
     185            if (anotherIsOpen)
     186            {
     187              %>
     188              <div class="messagecontainer error">
     189                Another plug-in configuration wizard is open, or it hasn't properly
     190                clean up after itself.<br>
     191                If you continue unsaved settings in the other wizard is lost.
     192              </div>
     193              <%
     194            }
     195            else
     196            {
     197              %>
     198              <%
     199              if (message != null)
     200              {
     201                %>
     202                <%=message%>
     203                <%
     204              }
     205              else
     206              {
     207                %>
     208                Please select the plugin and, optionally, the configuration to use.
     209                <%
     210              }
     211              %>
     212              <%
     213            }
     214            %>
     215        </td></tr></table>
    196216      </div>
    197217   
    198       <table class="form" width="100%">
    199       <tr >
    200         <td class="prompt">Plugin + configuration</td>
    201         <td>
    202           <select name="plugins" class="required" onchange="pluginOnChange()">
    203           </select>
    204         </td>
    205       </tr>
    206       <%
    207       if (messages != null && messages.size() > 0)
    208       {
    209         %>
     218      <div class="absolutefull topborder" style="top: 4em;">
     219        <table class="fullform">
    210220        <tr>
    211           <td class="prompt">&nbsp;</td>
     221          <th>Plugin + configuration</th>
    212222          <td>
    213             <base:icon image="bullet.gif" />
    214             <a href="javascript:Main.showHide('pluginMessages')"
    215               title="Show/hide the messages from the plugins that couldn't be used">
    216             Some plugins couldn't be used
    217             </a>
    218             <div id="pluginMessages" style="display: none;">
    219             <ul>
    220             <li><%=Values.getString(messages, "<li>", true)%>
    221             </ul>
     223            <select name="plugins" class="required" onchange="pluginOnChange()">
     224            </select>
     225          </td>
     226        </tr>
     227        <tr class="dynamic">
     228          <th></th>
     229          <td>
     230            <div id="descriptions" class="messagecontainer help" style="margin-left: 0px;">
     231            <%=descriptions.toString()%>
    222232            </div>
    223233          </td>
    224234        </tr>
    225235        <%
    226       }
    227       %>
    228       </table>
    229       <div align=right>&nbsp;<i><base:icon image="required.gif" /> = required information</i></div>
    230       <div id="descriptions" class="helpmessage"
    231         style="height: <%=(int)(scale*270)%>px; overflow: auto;">
    232       <%=descriptions.toString()%>
     236        if (messages != null && messages.size() > 0)
     237        {
     238          %>
     239          <tr class="big">
     240            <th></th>
     241            <td>
     242              <base:icon image="bullet.gif" />
     243              <a href="javascript:Main.showHide('pluginMessages')"
     244                title="Show/hide the messages from the plugins that couldn't be used">
     245              Some plugins couldn't be used
     246              </a>
     247              <div id="pluginMessages" style="display: none;">
     248              <ul>
     249              <li><%=Values.getString(messages, "<li>", true)%>
     250              </ul>
     251              </div>
     252            </td>
     253          </tr>
     254          <%
     255        }
     256        %>
     257        </table>
    233258      </div>
    234259    </div>
    235260    </form>
    236261 
    237     <%
    238     if (anotherIsOpen)
    239     {
    240       %>
    241       <div class="error">
    242         Another plug-in configuration wizard is open, or it hasn't properly
    243         clean up after itself.<br>
    244         If you continue unsaved settings in the other wizard is lost.
    245       </div>
    246       <%
    247     }
    248     %>
    249     <table align="center">
    250     <tr>
    251       <td width="50%"><base:button onclick="doNext();" title="Next" /></td>
    252       <td width="50%"><base:button onclick="window.close();" title="Cancel" /></td>
    253     </tr>
    254     </table>
     262    <base:buttongroup subclass="dialogbuttons">
     263      <base:button onclick="doNext();" title="Next" />
     264      <base:button onclick="window.close();" title="Cancel" />
     265    </base:buttongroup>
    255266  </base:body>
    256267  </base:page>
  • trunk/www/filemanager/files/list_files.jsp

    r5908 r5910  
    340340    function runPlugin(cmd)
    341341    {
    342       Table.submitToPopup(formId, cmd, 740, 540);
     342      Table.submitToPopup(formId, cmd, 750, 500);
    343343    }
    344344    function returnSelected(element)
  • trunk/www/filemanager/files/view_file.jsp

    r5909 r5910  
    142142    function runPlugin(cmd)
    143143    {
    144       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     144      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    145145    }
    146146    function uploadFile()
  • trunk/www/filemanager/fileservers/list_fileservers.jsp

    r5900 r5910  
    162162    function runPlugin(cmd)
    163163    {
    164       Table.submitToPopup(formId, cmd, 740, 540);
     164      Table.submitToPopup(formId, cmd, 750, 500);
    165165    }
    166166    function returnSelected()
  • trunk/www/filemanager/fileservers/view_fileserver.jsp

    r5901 r5910  
    160160    function setOwner()
    161161    {
    162       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 150);
     162      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 300);
    163163    }
    164164    function runPlugin(cmd)
    165165    {
    166       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     166      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    167167    }
    168168    </script>
  • trunk/www/include/styles/main.css

    r5909 r5910  
    165165}
    166166
    167 img.help
     167img.helpicon
    168168{
    169169  cursor: pointer;
     170  background: transparent;
    170171}
    171172
     
    174175  ------------------
    175176*/
     177
     178/* Container that apply padding, margin and border to messages */
     179.messagecontainer
     180{
     181  margin: 1em;
     182  padding: 0.5em;
     183  border: 1px solid #A0A0A0;
     184  border-radius: 5px;
     185
     186}
     187
     188/* Error messages have red background */
    176189.error
    177190{
    178191  color: #FFFFFF !important;
    179   background: #CC0000 !important;
    180 }
     192  background-color: #C80000 !important;
     193  font-weight: normal !important;
     194}
     195
     196.messagecontainer.error
     197{
     198  border: 2px solid #A00000;
     199}
     200
     201.help
     202{
     203  background-color: #F8F8E0;
     204}
     205
    181206
    182207/*
     
    286311}
    287312
     313/* Add a 1-pixel gray border to the top om an element */
     314.topborder
     315{
     316  border-top: 1px solid #A0A0A0;
     317}
     318
    288319.filled
    289320{
    290321  background: #E8E8E8;
     322}
     323
     324.absolutefull
     325{
     326  position: absolute;
     327  top: 0px;
     328  bottom: 0px;
     329  left: 0px;
     330  right: 0px;
     331  overflow: auto;
    291332}
    292333
     
    481522}
    482523
    483 .helpmessage
    484 {
    485   margin: 1em;
    486   padding: 0.5em;
    487   border: 1px solid #A0A0A0;
    488   background-color: #F8F8E0;
    489   border-radius: 8px;
    490    -moz-border-radius: 8px;
    491 }
    492524
    493525.note {
  • trunk/www/include/styles/parameters.css

    r5811 r5910  
    2828*/
    2929
    30 .parameterlist {
     30.parameterlist
     31{
    3132  overflow: auto;
    32   padding: 2px;
    33   border-top: 2px groove #999999;
    34   border-left: 2px groove #999999;
    35   border-bottom: 2px ridge #FFFFFF;
    36   border-right: 2px ridge #FFFFFF;
    37   margin-right: 8px;
    38   background: #FFFFFF;
     33  background: #E8E8E8;
     34  border-right: 1px solid #A0A0A0;
    3935}
    4036
    41 .parameterlist .param {
    42 
     37.parameterlist .param
     38{
     39  padding: 0px 2px 0px 2px;
     40  margin: 2px 0px 0px 0px;
     41  border: 0px;
     42  border-radius: 4px;
     43  -moz-border-radius: 3px;
     44}
     45.parameterlist .param:hover
     46{
     47  cursor: pointer;
     48  border: 2px solid #2288AA;
     49  padding: 0px;
     50  margin: 0px 0px -2px 0px;
    4351}
    4452
    45 .parameterlist .param .icon {
    46   padding-left: 2px;
    47   padding-right: 2px;
    48   background: #E0E0E0;
     53.parameterlist .param.selected
     54{
     55  color: #FFFFFF;
     56  background: #2288AA;
     57  font-weight: bold;
     58  padding: 1px 2px 1px 2px;
     59  margin: 1px 0px -1px 0px;
    4960}
    5061
    51 .parameterlist .param .label {
    52   padding-left: 2px;
    53 }
    54 .parameterlist .param:hover {
    55   background: #E0E0E0;
    56   cursor: pointer;
    57 }
    58 
    59 .parameterlist .param.selected {
    60   color: #FFFFFF;
    61   background: #445577;
    62   font-weight: bold;
    63 }
    64 
    65 .pluginhelp {
    66   background: #E0E0E0;
    67   border: 1px solid #999999;
    68   padding: 2px;
    69   margin: 8px;
    70   max-height: 70px;
    71   overflow: auto;
    72 }
    73 
    74 .parameterhelp {
    75   background: #E0E0E0;
    76   border: 1px solid #999999;
    77   padding: 2px;
    78   margin: 8px 8px 8px 0px;
     62.parameterlist .param.selected:hover
     63{
     64  border: 0px;
    7965}
    8066
    8167
     68.parameterlist .param .icon
     69{
     70  padding-left: 2px;
     71  padding-right: 2px;
     72}
     73
     74.parameterlist .param .label
     75{
     76  padding-left: 2px;
     77}
     78
     79.parameterlist .section
     80{
     81  font-weight: bold;
     82  border-bottom: 1px solid #A0A0A0;
     83  padding: 0px;
     84  margin: 6px 2px 0px 2px;
     85}
     86.parameterlist .section:hover
     87{
     88  cursor: pointer;
     89  border: 2px solid #2288AA;
     90  padding: 0px;
     91  margin: 4px 0px -1px 0px;
     92  border-radius: 4px;
     93  -moz-border-radius: 3px;
     94}
     95
  • trunk/www/include/styles/popup.css

    r5909 r5910  
    232232  border-bottom: 1px solid #A0A0A0;
    233233  border-right: 0px;
     234  white-space: normal;
    234235}
    235236
  • trunk/www/lims/arraybatches/list_batches.jsp

    r5900 r5910  
    186186    function runPlugin(cmd)
    187187    {
    188       Table.submitToPopup(formId, cmd, 740, 540);
     188      Table.submitToPopup(formId, cmd, 750, 500);
    189189    }
    190190    function returnSelected()
  • trunk/www/lims/arraybatches/view_batch.jsp

    r5901 r5910  
    142142    function setOwner()
    143143    {
    144       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 150);
     144      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 300);
    145145    }
    146146    function runPlugin(cmd)
    147147    {
    148       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     148      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    149149    }
    150150    function newSlide()
  • trunk/www/lims/arraydesigns/list_designs.jsp

    r5900 r5910  
    212212    function runPlugin(cmd)
    213213    {
    214       Table.submitToPopup(formId, cmd, 740, 540);
     214      Table.submitToPopup(formId, cmd, 750, 500);
    215215    }
    216216    function returnSelected()
  • trunk/www/lims/arraydesigns/view_design.jsp

    r5905 r5910  
    159159    function setOwner()
    160160    {
    161       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 150);
     161      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 300);
    162162    }
    163163    function runPlugin(cmd)
    164164    {
    165       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     165      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    166166    }
    167167    function viewFeatures()
     
    195195    function verifyReporters()
    196196    {
    197       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=VerifyReporters&item_id=<%=itemId%>', 'VerifyReporters', 740, 540);
     197      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=VerifyReporters&item_id=<%=itemId%>', 'VerifyReporters', 750, 500);
    198198    }
    199199    </script>
  • trunk/www/lims/arrayslides/list_slides.jsp

    r5900 r5910  
    178178    function runPlugin(cmd)
    179179    {
    180       Table.submitToPopup(formId, cmd, 740, 540);
     180      Table.submitToPopup(formId, cmd, 750, 500);
    181181    }
    182182    function returnSelected()
  • trunk/www/lims/arrayslides/view_slide.jsp

    r5901 r5910  
    140140    function setOwner()
    141141    {
    142       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 150);
     142      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 300);
    143143    }
    144144    function runPlugin(cmd)
    145145    {
    146       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     146      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    147147    }
    148148    function switchTab(tabControlId, tabId)
  • trunk/www/lims/geometries/list_geometries.jsp

    r5900 r5910  
    162162    function runPlugin(cmd)
    163163    {
    164       Table.submitToPopup(formId, cmd, 740, 540);
     164      Table.submitToPopup(formId, cmd, 750, 500);
    165165    }
    166166    function returnSelected()
  • trunk/www/lims/geometries/view_geometry.jsp

    r5901 r5910  
    122122    function runPlugin(cmd)
    123123    {
    124       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     124      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    125125    }
    126126    function newPlateType()
  • trunk/www/lims/platemappings/list_mappings.jsp

    r5900 r5910  
    173173    function runPlugin(cmd)
    174174    {
    175       Table.submitToPopup(formId, cmd, 740, 540);
     175      Table.submitToPopup(formId, cmd, 750, 500);
    176176    }
    177177    function returnSelected()
  • trunk/www/lims/platemappings/view_mapping.jsp

    r5901 r5910  
    141141    function setOwner()
    142142    {
    143       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 150);
     143      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 300);
    144144    }
    145145    function runPlugin(cmd)
    146146    {
    147       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     147      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    148148    }
    149149    </script>
  • trunk/www/lims/plates/events/view_event.jsp

    r5901 r5910  
    113113    function runPlugin(cmd)
    114114    {
    115       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&plate_id=<%=plateId%>&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     115      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&plate_id=<%=plateId%>&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    116116    }
    117117    </script>
  • trunk/www/lims/plates/list_plates.jsp

    r5900 r5910  
    197197    function runPlugin(cmd)
    198198    {
    199       Table.submitToPopup(formId, cmd, 740, 540);
     199      Table.submitToPopup(formId, cmd, 750, 500);
    200200    }
    201201    function returnSelected()
  • trunk/www/lims/plates/view_plate.jsp

    r5905 r5910  
    148148    function setOwner()
    149149    {
    150       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 150);
     150      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 300);
    151151    }
    152152    function runPlugin(cmd)
    153153    {
    154       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     154      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    155155    }
    156156    function viewWells()
  • trunk/www/lims/plates/wells/view_well.jsp

    r5905 r5910  
    129129    function runPlugin(cmd)
    130130    {
    131       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&plate_id=<%=plateId%>&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     131      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&plate_id=<%=plateId%>&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    132132    }
    133133    </script>
  • trunk/www/lims/platetypes/eventtypes/view_eventtype.jsp

    r5901 r5910  
    9898    function runPlugin(cmd)
    9999    {
    100       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&platetype_id=<%=plateTypeId%>&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     100      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&platetype_id=<%=plateTypeId%>&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    101101    }
    102102    </script>
  • trunk/www/lims/platetypes/list_platetypes.jsp

    r5900 r5910  
    182182    function runPlugin(cmd)
    183183    {
    184       Table.submitToPopup(formId, cmd, 740, 540);
     184      Table.submitToPopup(formId, cmd, 750, 500);
    185185    }
    186186    function returnSelected()
  • trunk/www/lims/platetypes/view_platetype.jsp

    r5901 r5910  
    135135    function setOwner()
    136136    {
    137       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 150);
     137      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 300);
    138138    }
    139139    function runPlugin(cmd)
    140140    {
    141       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     141      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    142142    }
    143143    function viewEventTypes()
  • trunk/www/my_base/messages/list_messages.jsp

    r5900 r5910  
    158158    function runPlugin(cmd)
    159159    {
    160       Table.submitToPopup(formId, cmd, 740, 540);
     160      Table.submitToPopup(formId, cmd, 750, 500);
    161161    }
    162162    function returnSelected()
  • trunk/www/my_base/projects/list_projects.jsp

    r5900 r5910  
    154154    function runPlugin(cmd)
    155155    {
    156       Table.submitToPopup(formId, cmd, 740, 540);
     156      Table.submitToPopup(formId, cmd, 750, 500);
    157157    }
    158158    function returnSelected()
  • trunk/www/my_base/projects/view_project.jsp

    r5901 r5910  
    129129    function setOwner()
    130130    {
    131       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 150);
     131      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 300);
    132132    }
    133133    function runPlugin(cmd)
    134134    {
    135       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     135      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    136136    }
    137137    function setToActive()
  • trunk/www/views/derivedbioassays/list_bioassays.jsp

    r5900 r5910  
    192192    function runPlugin(cmd)
    193193    {
    194       Table.submitToPopup(formId, cmd, 740, 540);
     194      Table.submitToPopup(formId, cmd, 750, 500);
    195195    }
    196196    function returnSelected()
  • trunk/www/views/derivedbioassays/view_bioassay.jsp

    r5905 r5910  
    169169    function setOwner()
    170170    {
    171       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 150);
     171      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 300);
    172172    }
    173173    function switchTab(tabControlId, tabId)
     
    185185    function runItemPlugin(cmd)
    186186    {
    187       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     187      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    188188    }
    189189    function newChildBioAssay()
  • trunk/www/views/experiments/bioassays/list_bioassays.jsp

    r5900 r5910  
    165165    function runPlugin(cmd)
    166166    {
    167       Table.submitToPopup(formId, cmd, 740, 540);
     167      Table.submitToPopup(formId, cmd, 750, 500);
    168168    }
    169169    function returnSelected()
  • trunk/www/views/experiments/bioassays/view_bioassay.jsp

    r5905 r5910  
    104104    function runPlugin(cmd)
    105105    {
    106       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     106      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    107107    }
    108108    function switchTab(tabControlId, tabId)
  • trunk/www/views/experiments/bioassaysets/analysis_tree.jsp

    r5674 r5910  
    295295    function newItem()
    296296    {
    297       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=NewItem&experiment_id=<%=experimentId%>', 'NewBioAssaySet', 740, 540);
     297      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=NewItem&experiment_id=<%=experimentId%>', 'NewBioAssaySet', 750, 500);
    298298    }
    299299    function editBioAssaySet(itemId)
     
    374374    function runPlugin(cmd)
    375375    {
    376       Table.submitToPopup(formId, cmd, 740, 540);
     376      Table.submitToPopup(formId, cmd, 750, 500);
    377377    }
    378378    function filter(itemId)
    379379    {
    380       Main.openPopup('../bioassaysets/index.jsp?ID=<%=ID%>&cmd=NewFilteredBioAssaySet&experiment_id=<%=experimentId%>&item_id='+itemId, 'FilterBioAssaySet', 740, 540);
     380      Main.openPopup('../bioassaysets/index.jsp?ID=<%=ID%>&cmd=NewFilteredBioAssaySet&experiment_id=<%=experimentId%>&item_id='+itemId, 'FilterBioAssaySet', 750, 500);
    381381    }
    382382    function openPlotTool(itemId)
     
    390390    function runAnalysisPlugin(itemId)
    391391    {
    392       Main.openPopup('../bioassaysets/index.jsp?ID=<%=ID%>&cmd=RunAnalysisPlugin&experiment_id=<%=experimentId%>&item_id='+itemId, 'RunPlugin', 740, 540);
     392      Main.openPopup('../bioassaysets/index.jsp?ID=<%=ID%>&cmd=RunAnalysisPlugin&experiment_id=<%=experimentId%>&item_id='+itemId, 'RunPlugin', 750, 500);
    393393    }
    394394    function runExportPlugin(itemId)
    395395    {
    396       Main.openPopup('../bioassaysets/index.jsp?ID=<%=ID%>&cmd=ExportItem&experiment_id=<%=experimentId%>&item_id='+itemId, 'Export', 740, 540);
     396      Main.openPopup('../bioassaysets/index.jsp?ID=<%=ID%>&cmd=ExportItem&experiment_id=<%=experimentId%>&item_id='+itemId, 'Export', 750, 500);
    397397    }
    398398    function copyJob(jobId)
     
    401401      url += '&cmd=CopyJob&job_id='+jobId;
    402402      url += '&item_type=BIOASSAYSET&context_type=LIST'
    403       Main.openPopup(url, 'CopyJob', 740, 540);
     403      Main.openPopup(url, 'CopyJob', 750, 500);
    404404    }
    405405    function returnSelected()
  • trunk/www/views/experiments/bioassaysets/view_bioassayset.jsp

    r5905 r5910  
    189189    function runItemPlugin(cmd)
    190190    {
    191       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&experiment_id=<%=experimentId%>&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     191      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&experiment_id=<%=experimentId%>&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    192192    }
    193193
  • trunk/www/views/experiments/extravalues/view_extravalue.jsp

    r5905 r5910  
    170170      url += '&cmd=CopyJob&job_id='+jobId;
    171171      url += '&item_type=BIOASSAYSET&context_type=LIST'
    172       Main.openPopup(url, 'CopyJob', 740, 540);
     172      Main.openPopup(url, 'CopyJob', 750, 500);
    173173    }
    174174    </script>
  • trunk/www/views/experiments/list_experiments.jsp

    r5900 r5910  
    171171    function runPlugin(cmd)
    172172    {
    173       Table.submitToPopup(formId, cmd, 740, 540);
     173      Table.submitToPopup(formId, cmd, 750, 500);
    174174    }
    175175    function returnSelected()
  • trunk/www/views/experiments/transformations/view_transformation.jsp

    r5905 r5910  
    159159    function runItemPlugin(cmd)
    160160    {
    161       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&experiment_id=<%=experimentId%>&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     161      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&experiment_id=<%=experimentId%>&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    162162    }
    163163    </script>
  • trunk/www/views/experiments/view_experiment.jsp

    r5903 r5910  
    157157    function setOwner()
    158158    {
    159       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 150);
     159      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 300);
    160160    }
    161161    function runPlugin(cmd)
    162162    {
    163       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     163      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    164164    }
    165165    function analyzeItem()
  • trunk/www/views/formulas/list_formulas.jsp

    r5900 r5910  
    203203    function runPlugin(cmd)
    204204    {
    205       Table.submitToPopup(formId, cmd, 740, 540);
     205      Table.submitToPopup(formId, cmd, 750, 500);
    206206    }
    207207    function returnSelected()
  • trunk/www/views/formulas/view_formula.jsp

    r5905 r5910  
    135135    function setOwner()
    136136    {
    137       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 150);
     137      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 300);
    138138    }
    139139    function runPlugin(cmd)
    140140    {
    141       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     141      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    142142    }
    143143    function switchTab(tabControlId, tabId)
  • trunk/www/views/jobs/list_jobs.jsp

    r5900 r5910  
    181181    function runPlugin(cmd)
    182182    {
    183       Table.submitToPopup(formId, cmd, 740, 540);
     183      Table.submitToPopup(formId, cmd, 750, 500);
    184184    }
    185185    function returnSelected()
  • trunk/www/views/permissiontemplates/list_templates.jsp

    r5900 r5910  
    160160    function runPlugin(cmd)
    161161    {
    162       Table.submitToPopup(formId, cmd, 740, 540);
     162      Table.submitToPopup(formId, cmd, 750, 500);
    163163    }
    164164    function returnSelected()
  • trunk/www/views/permissiontemplates/view_template.jsp

    r5901 r5910  
    130130    function setOwner()
    131131    {
    132       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 150);
     132      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 300);
    133133    }
    134134    function runPlugin(cmd)
    135135    {
    136       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     136      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    137137    }
    138138    </script>
  • trunk/www/views/physicalbioassays/list_bioassays.jsp

    r5900 r5910  
    201201    function runPlugin(cmd)
    202202    {
    203       Table.submitToPopup(formId, cmd, 740, 540);
     203      Table.submitToPopup(formId, cmd, 750, 500);
    204204    }
    205205    function returnSelected()
  • trunk/www/views/physicalbioassays/view_bioassay.jsp

    r5901 r5910  
    149149    function setOwner()
    150150    {
    151       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 150);
     151      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 300);
    152152    }
    153153    function runPlugin(cmd)
    154154    {
    155       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     155      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    156156    }
    157157    function switchTab(tabControlId, tabId)
  • trunk/www/views/rawbioassays/list_rawbioassays.jsp

    r5900 r5910  
    210210    function runPlugin(cmd)
    211211    {
    212       Table.submitToPopup(formId, cmd, 740, 540);
     212      Table.submitToPopup(formId, cmd, 750, 500);
    213213    }
    214214    function returnSelected()
  • trunk/www/views/rawbioassays/view_rawbioassay.jsp

    r5905 r5910  
    169169    function setOwner()
    170170    {
    171       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 150);
     171      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 300);
    172172    }
    173173    function runPlugin(cmd)
    174174    {
    175       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     175      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    176176    }
    177177    function viewRawData()
  • trunk/www/views/reporterlists/list_reporterlists.jsp

    r5900 r5910  
    163163    function runPlugin(cmd)
    164164    {
    165       Table.submitToPopup(formId, cmd, 740, 540);
     165      Table.submitToPopup(formId, cmd, 750, 500);
    166166    }
    167167    function returnSelected()
  • trunk/www/views/reporterlists/reporters/list_reporters.jsp

    r5900 r5910  
    165165    function runPlugin(cmd)
    166166    {
    167       Table.submitToPopup(formId, cmd, 740, 540);
     167      Table.submitToPopup(formId, cmd, 750, 500);
    168168    }
    169169    function returnSelected()
  • trunk/www/views/reporterlists/view_reporterlist.jsp

    r5901 r5910  
    129129    function setOwner()
    130130    {
    131       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 150);
     131      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=SetOwnerOfItem&item_id=<%=itemId%>', 'SetOwnerOfItem', 450, 300);
    132132    }
    133133    function runPlugin(cmd)
    134134    {
    135       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     135      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    136136    }
    137137    function viewReporters()
  • trunk/www/views/reporters/list_reporters.jsp

    r5900 r5910  
    159159    function runPlugin(cmd)
    160160    {
    161       Table.submitToPopup(formId, cmd, 740, 540);
     161      Table.submitToPopup(formId, cmd, 750, 500);
    162162    }
    163163    function returnSelected()
  • trunk/www/views/reporters/view_reporter.jsp

    r5905 r5910  
    108108    function runPlugin(cmd)
    109109    {
    110       Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 740, 540);
     110      Main.openPopup('index.jsp?ID=<%=ID%>&cmd='+cmd+'&item_id=<%=itemId%>', 'RunPlugin'+cmd, 750, 500);
    111111    }
    112112    </script>
  • trunk/www/views/sessions/list_sessions.jsp

    r5900 r5910  
    119119    function runPlugin(cmd)
    120120    {
    121       Table.submitToPopup(formId, cmd, 740, 540);
     121      Table.submitToPopup(formId, cmd, 750, 500);
    122122    }
    123123    function returnSelected()
  • trunk/www/views/trashcan/list_trash.jsp

    r5839 r5910  
    110110    function viewItem(itemId)
    111111    {
    112       Main.openPopup('index.jsp?ID=<%=ID%>&cmd=ViewItem&item_id='+itemId, 'ViewJob', 740, 540);
     112      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=ViewItem&item_id='+itemId, 'ViewJob', 750, 500);
    113113    }
    114114    function itemOnClick(evt, itemId)
Note: See TracChangeset for help on using the changeset viewer.