Changeset 1538


Ignore:
Timestamp:
Feb 21, 2012, 1:49:04 PM (11 years ago)
Author:
Nicklas Nordborg
Message:

References #354: Changes related to new GUI in BASE 3.1

This should fix most of the issues related to the GUI differences between BASE 3.0 and 3.1. Reggie should display just fine in both versions. This is solved by:

  • Including all icons needed by Reggie in the Reggie distribution. We don't have to worry about the GIF vs. PNG issue.
  • Mainly designing Reggie for BASE 3.1 and then applying an extra stylesheet with a minial set of styles to make Reggie also work in BASE 3.0. The style sheet is only used if Reggie is installed on a BASE 3.0 server so it should not interfere with BASE 3.1 and up.
Location:
extensions/net.sf.basedb.reggie/trunk/resources
Files:
14 added
9 edited
1 moved

Legend:

Unmodified
Added
Removed
  • extensions/net.sf.basedb.reggie/trunk/resources/bloodform.jsp

    r1531 r1538  
    88  import="net.sf.basedb.clients.web.Base"
    99  import="net.sf.basedb.clients.web.util.HTML"
     10  import="net.sf.basedb.clients.web.extensions.ExtensionsControl"
    1011  import="net.sf.basedb.util.Values"
    1112%>
     
    1617final String ID = sc.getId();
    1718final float scale = Base.getScale(sc);
     19final String home = ExtensionsControl.getHomeUrl("net.sf.basedb.reggie");
     20
    1821DbControl dc = null;
    1922try
     
    2427<base:page type="default" >
    2528<base:head scripts="ajax.js" styles="path.css">
    26   <link rel="stylesheet" type="text/css" href="reggie.css">
     29  <link rel="stylesheet" type="text/css" href="css/reggie.css">
     30  <%
     31  if (Application.getMajorVersion() == 3 && Application.getMinorVersion() == 0)
     32  {
     33    %>
     34    <link rel="stylesheet" type="text/css" href="css/base30.css">
     35    <%
     36  }
     37  %>
    2738  <script language="JavaScript" src="reggie.js" type="text/javascript" charset="UTF-8"></script>
    2839 
     
    516527<base:body onload="init()">
    517528
    518   <p:path style="margin-top: 20px; margin-bottom: 10px;">
    519     <p:pathelement title="Reggie" href="<%="index.jsp?ID="+ID%>" />
    520     <p:pathelement title="Blood referral form registration" />
    521   </p:path>
    522 
     529  <p:path><p:pathelement
     530    title="Reggie" href="<%="index.jsp?ID="+ID%>"
     531    /><p:pathelement title="Blood referral form registration"
     532    /></p:path>
     533
     534  <div class="content">
    523535  <%
    524536  if (sc.getActiveProjectId() == 0)
    525537  {
    526538    %>
    527     <base:note type="warning" style="width: 800px; margin-left: 20px; margin-bottom: 20px; margin-right: 0px; font-weight: bold; color: #cc0000;">
     539    <div class="messagecontainer note" style="width: 800px; margin-left: 20px; margin-bottom: 20px; margin-right: 0px; font-weight: bold; color: #cc0000;">
    528540      No project has been selected. You may proceed with the registration but
    529541      created items will not be shared.
    530     </base:note>
     542    </div>
    531543    <%
    532544  }
     
    712724  </div>
    713725
    714   <div class="error" id="errorMessage" style="display: none; width: 800px; margin-left: 20px; margin-bottom: 0px;"></div>
     726  <div class="messagecontainer error" id="errorMessage" style="display: none; width: 800px; margin-left: 20px; margin-bottom: 0px;"></div>
    715727
    716728  <div id="done" class="success" style="display: none; width: 800px; margin-left: 20px; margin-top: 20px;"></div>
     
    719731  <tr>
    720732    <td><base:button id="gocancel" title="Cancel" onclick="goRestart(false)" style="display: none;"/></td>
    721     <td><base:button id="gonext" title="Next" image="gonext.gif" onclick="goNext(true)"/></td>
    722     <td><base:button id="gocreate" title="Create" image="gonext.gif" onclick="goCreate()" style="display: none;"/></td>
    723     <td><base:button id="goupdate" title="Update" image="gonext.gif" onclick="goCreate()" style="display: none;"/></td>
    724     <td><base:button id="gorestart" title="Restart" image="goback.gif" onclick="goRestart(true)" style="display: none;"/></td>
     733    <td><base:button id="gonext" title="Next" image="<%=home+"/images/gonext.png"%>" onclick="goNext(true)"/></td>
     734    <td><base:button id="gocreate" title="Create" image="<%=home+"/images/gonext.png"%>" onclick="goCreate()" style="display: none;"/></td>
     735    <td><base:button id="goupdate" title="Update" image="<%=home+"/images/gonext.png"%>" onclick="goCreate()" style="display: none;"/></td>
     736    <td><base:button id="gorestart" title="Restart" image="<%=home+"/images/goback.png"%>" onclick="goRestart(true)" style="display: none;"/></td>
    725737    <td id="gonext.message" class="message"></td>
    726738  </tr>
    727739  </table>
    728740  </form>
     741  </div>
    729742 
    730743</base:body>
  • extensions/net.sf.basedb.reggie/trunk/resources/consentform.jsp

    r1530 r1538  
    88  import="net.sf.basedb.clients.web.Base"
    99  import="net.sf.basedb.clients.web.util.HTML"
     10  import="net.sf.basedb.clients.web.extensions.ExtensionsControl"
    1011  import="net.sf.basedb.util.Values"
    1112%>
     
    1617final String ID = sc.getId();
    1718final float scale = Base.getScale(sc);
     19final String home = ExtensionsControl.getHomeUrl("net.sf.basedb.reggie");
    1820DbControl dc = null;
    1921try
     
    2426<base:page type="default" >
    2527<base:head scripts="ajax.js" styles="path.css">
    26   <link rel="stylesheet" type="text/css" href="reggie.css">
     28  <link rel="stylesheet" type="text/css" href="css/reggie.css">
     29  <%
     30  if (Application.getMajorVersion() == 3 && Application.getMinorVersion() == 0)
     31  {
     32    %>
     33    <link rel="stylesheet" type="text/css" href="css/base30.css">
     34    <%
     35  }
     36  %>
    2737  <script language="JavaScript" src="reggie.js" type="text/javascript" charset="UTF-8"></script>
    2838
     
    391401<base:body onload="init()">
    392402
    393   <p:path style="margin-top: 20px; margin-bottom: 10px;">
    394     <p:pathelement title="Reggie" href="<%="index.jsp?ID="+ID%>" />
    395     <p:pathelement title="Consent form registration" />
    396   </p:path>
    397 
     403  <p:path><p:pathelement
     404    title="Reggie" href="<%="index.jsp?ID="+ID%>"
     405    /><p:pathelement title="Consent form registration"
     406    /></p:path>
     407
     408  <div class="content">
    398409  <%
    399410  if (sc.getActiveProjectId() == 0)
    400411  {
    401412    %>
    402     <base:note type="warning" style="width: 800px; margin-left: 20px; margin-bottom: 20px; margin-right: 0px; font-weight: bold; color: #cc0000;">
     413    <div class="messagecontainer note" style="width: 800px; margin-left: 20px; margin-bottom: 20px; margin-right: 0px; font-weight: bold; color: #cc0000;">
    403414      No project has been selected. You may proceed with the registration but
    404415      created items will not be shared.
    405     </base:note>
     416    </div>
    406417    <%
    407418  }
     
    463474            <table border="0" cellpadding="0" cellspacing="0">
    464475            <tr valign="baseline">
    465               <td><img src="../../images/joust/joinbottom.gif"></td>
     476              <td><img src="images/joinbottom.gif"></td>
    466477              <td id="moreCases"></td>
    467478            </tr>
     
    492503          <table border="0" cellpadding="0" cellspacing="0">
    493504          <tr valign="baseline">
    494             <td><img src="../../images/joust/joinbottom.gif"></td>
     505            <td><img src="images/joinbottom.gif"></td>
    495506            <td><input id="notAsked.forgot" type="checkbox" name="reasonIfNotAsked" disabled></td>
    496507            <td><label id="notAsked.forgot.label" for="notAsked.forgot" class="disabled">Forgot to ask the patient</label></td>
     
    533544  </div>
    534545 
    535   <div class="error" id="errorMessage" style="display: none; width: 800px; margin-left: 20px; margin-bottom: 0px;"></div>
     546  <div class="messagecontainer error" id="errorMessage" style="display: none; width: 800px; margin-left: 20px; margin-bottom: 0px;"></div>
    536547
    537548  <div id="done" class="success" style="display: none; width: 800px; margin-left: 20px; margin-top: 20px;"></div>
     
    540551  <tr>
    541552    <td><base:button id="gocancel" title="Cancel" onclick="goRestart(false)" style="display: none;"/></td>
    542     <td><base:button id="gonext" title="Next" image="gonext.gif" onclick="goNext(true)"/></td>
    543     <td><base:button id="goregister" title="Register" image="gonext.gif" onclick="goRegister()" style="display: none;"/></td>
    544     <td><base:button id="gorestart" title="Restart" image="goback.gif" onclick="goRestart(true)" style="display: none;"/></td>
     553    <td><base:button id="gonext" title="Next" image="<%=home+"/images/gonext.png"%>" onclick="goNext(true)"/></td>
     554    <td><base:button id="goregister" title="Register" image="<%=home+"/images/gonext.png"%>" onclick="goRegister()" style="display: none;"/></td>
     555    <td><base:button id="gorestart" title="Restart" image="<%=home+"/images/goback.png"%>" onclick="goRestart(true)" style="display: none;"/></td>
    545556    <td id="gonext.message" class="message"></td>
    546557  </tr>
    547558  </table>
    548559  </form>
     560  </div>
    549561 
    550562</base:body>
  • extensions/net.sf.basedb.reggie/trunk/resources/index.jsp

    r1517 r1538  
    7777<base:page type="default" >
    7878<base:head styles="path.css">
     79  <link rel="stylesheet" type="text/css" href="css/reggie.css">
     80  <%
     81  if (Application.getMajorVersion() == 3 && Application.getMinorVersion() == 0)
     82  {
     83    %>
     84    <link rel="stylesheet" type="text/css" href="css/base30.css">
     85    <%
     86  }
     87  %>
    7988<style>
     89dl
     90{
     91  margin-top: 0px;
     92  padding: 3px;
     93}
    8094dd
    8195{
    8296  margin-left: 0px;
    8397  margin-bottom: 10px;
     98}
     99img
     100{
     101  vertical-align: text-bottom;
     102}
     103h3
     104{
     105  color: #333377;
     106  background: #E8E8E8;
     107  font-weight: bold;
     108  margin-bottom: 0em;
     109  padding: 1px 4px 1px 4px;
     110  border: 1px solid #A0A0A0;
     111  font-size: 1em;
    84112}
    85113</style>
     
    87115<base:body>
    88116
    89   <p:path style="margin-top: 20px; margin-bottom: 10px;">
    90     <p:pathelement title="Reggie" />
    91   </p:path>
     117  <p:path><p:pathelement title="Reggie" /></p:path>
    92118
    93   <table border="0" cellspacing="0" cellpadding="0" width="100%" style="margin-left: 20px;">
    94   <tr valign="top">
    95     <td width="50%">
     119  <div class="content">
     120    <div class="absolutefull" style="width: 50%;">
     121      <div class="absolutefull" style="left: 1em; right: 0.5em; ">
     122        <h3>Reggie wizards</h3>
     123        <dl class="leftborder rightborder bottomborder">
     124        <%
     125        if (isAdmin)
     126        {
     127          %>
     128          <dt>
     129            <base:icon image="<%=home + "/images/install.png" %>" />
     130            <a href="install.jsp?ID=<%=ID%>">Installation wizard</a>
     131          </dt>
     132          <dd>
     133            <ul>
     134            <li>Check that all annotation types and other items used by Reggie exists in BASE.
     135            <li>Create missing items.
     136            </ul>
     137          </dd>
     138          <%
     139        }
     140        if (isPatientCurator || isAdmin)
     141        {
     142          %>
     143          <dt class="topborder" style="padding-top: 0.5em;">
     144            <base:icon image="<%=home + "/images/personal.png" %>"/>
     145            <a href="persinfo.jsp?ID=<%=ID%>">Personal information registration wizard</a>
     146          </dt>
     147          <dd>
     148            <ul>
     149            <li>Register new cases and patients.
     150            <li>Update existing cases and specimen tubes.
     151            </ul>
     152          </dd>
     153          <%
     154        }
     155        if (isPatientCurator || isAdmin)
     156        {
     157          %>
     158          <dt>
     159            <base:icon image="<%=home + "/images/blood.png" %>"/>
     160            <a href="bloodform.jsp?ID=<%=ID%>">Blood referral form registration wizard</a>
     161          </dt>
     162          <dd>
     163            <ul>
     164            <li>Register new blood referral forms and patients.
     165            <li>Update information for existing blood referral forms.
     166            </ul>
     167          </dd>
     168          <%
     169        }
     170        if (isPatientCurator || isAdmin)
     171        {
     172          %>
     173          <dt>
     174            <base:icon image="<%=home+"/images/consent.png" %>"/>
     175            <a href="consentform.jsp?ID=<%=ID%>">Consent form registration wizard</a>
     176          </dt>
     177          <dd>
     178            <ul>
     179            <li>Register consent forms.
     180            </ul>
     181          </dd>
     182          <%
     183        }
     184        if (isPatientCurator || isAdmin)
     185        {
     186          %>
     187          <dt>
     188            <base:icon image="<%=home+"/images/pdffile.png" %>" />
     189            <a href="refform.jsp?ID=<%=ID%>">Referral form registration wizard</a>
     190          </dt>
     191          <dd>
     192            <ul>
     193            <li>Link scanned referral forms to cases.
     194            </ul>
     195          </dd>
     196          <%
     197        }
     198        if (hasCreateSamplePermission)
     199        {
     200          %>
     201          <dt class="topborder" style="padding-top: 0.5em;">
     202            <base:icon image="<%=home+"/images/specimen.png" %>" />
     203            <a href="specimentube.jsp?ID=<%=ID%>">Specimen tube registration wizard</a>
     204          </dt>
     205          <dd>
     206            <ul>
     207            <li>Register new specimen tubes.
     208            <li>Update existing specimen tubes.
     209            </ul>
     210          </dd>
     211          <%
     212        }
     213        if (hasCreateSamplePermission && hasCreateExtractPermission)
     214        {
     215          %>
     216          <dt>
     217            <base:icon image="<%=home+"/images/partition.png" %>" />
     218            <a href="partitionform.jsp?ID=<%=ID%>">Partition registration wizard</a>
     219          </dt>
     220          <dd>
     221            <ul>
     222            <li>Register new partitions of existing specimens.
     223            </ul>
     224          </dd>
     225          <%
     226        }     
     227        %>       
     228        </dl>
     229      </div>
     230    </div>
     231   
     232    <div class="absolutefull" style="width: 50%; left: auto;">
     233      <div class="absolutefull" style="left: 0.5em; right: 1em;">
     234        <h3>Reggie reports</h3>
     235        <dl class="leftborder rightborder bottomborder">
     236          <dt>
     237            <base:icon image="<%=home+"/images/report.png" %>" />
     238            <a href="samplereportgenerator.jsp?ID=<%=ID%>">Report generator</a>
     239          </dt>       
     240          <dd>       
     241            <ul>
     242            <li>Sample count report</li>
     243            </ul>
     244          </dd>
     245        </dl>
     246     
     247      </div>
     248    </div>
     249
     250  </div>
    96251 
    97     <h3 class="light">Reggie wizards</h3>
    98     <div class="boxedbottom">
    99       <dl>
    100      
    101       <%
    102       if (isAdmin)
    103       {
    104         %>
    105         <dt>
    106           <table border="0" cellspacing="0" cellpadding="0">
    107           <tr>
    108             <td><base:icon image="configure.png" style="padding-right: 4px;"/></td>
    109             <td><a href="install.jsp?ID=<%=ID%>">Installation wizard</a></td>
    110           </tr>
    111           </table>
    112         </dt>
    113         <dd>
    114           <ul>
    115           <li>Check that all annotation types and other items used by Reggie exists in BASE.
    116           <li>Create missing items.
    117           </ul>
    118         </dd>
    119         <%
    120       }
    121       if (isPatientCurator || isAdmin)
    122       {
    123         %>
    124         <dt style="border-top: 1px solid #999999; padding-top: 4px;">
    125           <table border="0" cellspacing="0" cellpadding="0">
    126           <tr>
    127             <td><base:icon image="share.gif" style="padding-right: 4px;"/></td>
    128             <td><a href="persinfo.jsp?ID=<%=ID%>">Personal information registration wizard</a></td>
    129           </tr>
    130           </table>
    131         </dt>
    132         <dd>
    133           <ul>
    134           <li>Register new cases and patients.
    135           <li>Update existing cases and specimen tubes.
    136           </ul>
    137         </dd>
    138         <%
    139       }
    140       if (isPatientCurator || isAdmin)
    141       {
    142         %>
    143         <dt>
    144           <table border="0" cellspacing="0" cellpadding="0">
    145           <tr>
    146             <td><base:icon image="<%=home + "/images/blood.png" %>" style="padding-right: 4px;"/></td>
    147             <td><a href="bloodform.jsp?ID=<%=ID%>">Blood referral form registration wizard</a></td>
    148           </tr>
    149           </table>
    150         </dt>
    151         <dd>
    152           <ul>
    153           <li>Register new blood referral forms and patients.
    154           <li>Update information for existing blood referral forms.
    155           </ul>
    156         </dd>
    157         <%
    158       }
    159       if (isPatientCurator || isAdmin)
    160       {
    161         %>
    162         <dt>
    163           <table border="0" cellspacing="0" cellpadding="0">
    164           <tr>
    165             <td><base:icon image="<%=home+"/images/consent.png" %>" style="padding-right: 4px;"/></td>
    166             <td><a href="consentform.jsp?ID=<%=ID%>">Consent form registration wizard</a></td>
    167           </tr>
    168           </table>
    169         </dt>
    170         <dd>
    171           <ul>
    172           <li>Register consent forms.
    173           </ul>
    174         </dd>
    175         <%
    176       }
    177       if (isPatientCurator || isAdmin)
    178       {
    179         %>
    180         <dt>
    181           <table border="0" cellspacing="0" cellpadding="0">
    182           <tr>
    183             <td><base:icon image="<%=home+"/images/pdffile.png" %>" style="padding-right: 4px;"/></td>
    184             <td><a href="refform.jsp?ID=<%=ID%>">Referral form registration wizard</a></td>
    185           </tr>
    186           </table>
    187         </dt>
    188         <dd>
    189           <ul>
    190           <li>Link scanned referral forms to cases.
    191           </ul>
    192         </dd>
    193         <%
    194       }
    195       if (hasCreateSamplePermission)
    196       {
    197         %>
    198         <dt style="border-top: 1px solid #999999; padding-top: 4px;">
    199           <table border="0" cellspacing="0" cellpadding="0">
    200           <tr>
    201             <td><base:icon image="<%=home+"/images/specimen.png" %>" style="padding-right: 4px;"/></td>
    202             <td><a href="specimentube.jsp?ID=<%=ID%>">Specimen tube registration wizard</a></td>
    203           </tr>
    204           </table>
    205         </dt>
    206         <dd>
    207           <ul>
    208           <li>Register new specimen tubes.
    209           <li>Update existing specimen tubes.
    210           </ul>
    211         </dd>
    212         <%
    213       }
    214       if (hasCreateSamplePermission && hasCreateExtractPermission)
    215       {
    216         %>
    217         <dt>
    218           <table border="0" cellspacing="0" cellpadding="0">
    219           <tr>
    220             <td><base:icon image="<%=home+"/images/partition.png" %>" style="padding-right: 4px;"/></td>
    221             <td><a href="partitionform.jsp?ID=<%=ID%>">Partition registration wizard</a></td>
    222           </tr>
    223           </table>
    224         </dt>
    225         <dd>
    226           <ul>
    227           <li>Register new partitions of existing specimens.
    228           </ul>
    229         </dd>
    230         <%
    231       }     
    232       %>       
    233       </dl>
    234     </div>
    235     </td>
    236     <td width="50%">
    237     </td>
    238   </tr>
    239   </table>
    240  
    241   <table border="0" cellspacing="0" cellpadding="0" width="100%" style="margin-left: 20px;">
    242   <tr valign="top">
    243     <td width="50%">
    244  
    245     <h3 class="light">Reggie reports</h3>
    246     <div class="boxedbottom">
    247     <dl>
    248       <dt>
    249       <table border="0" cellspacing="0" cellpadding="0">
    250         <tr>
    251           <td><base:icon image="table.gif" style="padding-right: 4px;"/></td>
    252           <td><a href="samplereportgenerator.jsp?ID=<%=ID%>">Report generator</a></td>
    253         </tr>         
    254       </table>
    255       </dt>       
    256       <dd>       
    257         <ul>
    258         <li>Sample count report</li>
    259         </ul>
    260       </dd>
    261     </dl>
    262     </div>
    263     </td>
    264     <td width="50%">
    265     </td>
    266   </tr>
    267   </table> 
    268252</base:body>
    269253</base:page>
  • extensions/net.sf.basedb.reggie/trunk/resources/install.jsp

    r1463 r1538  
    88  import="net.sf.basedb.clients.web.Base"
    99  import="net.sf.basedb.clients.web.util.HTML"
     10  import="net.sf.basedb.clients.web.extensions.ExtensionsControl"
    1011  import="net.sf.basedb.util.Values"
    1112%>
     
    1617final String ID = sc.getId();
    1718final float scale = Base.getScale(sc);
     19final String home = ExtensionsControl.getHomeUrl("net.sf.basedb.reggie");
    1820DbControl dc = null;
    1921try
     
    2426<base:page type="default" >
    2527<base:head scripts="ajax.js" styles="path.css,table.css">
    26   <link rel="stylesheet" type="text/css" href="reggie.css">
     28  <link rel="stylesheet" type="text/css" href="css/reggie.css">
     29  <%
     30  if (Application.getMajorVersion() == 3 && Application.getMinorVersion() == 0)
     31  {
     32    %>
     33    <link rel="stylesheet" type="text/css" href="css/base30.css">
     34    <%
     35  }
     36  %>
    2737  <script language="JavaScript" src="reggie.js" type="text/javascript" charset="UTF-8"></script>
    2838
     
    4050  request.open("GET", url, false);
    4151  request.send(null);
    42  
    43   //setInnerHTML('debug', request.responseText);
    4452 
    4553  var response = JSON.parse(request.responseText);
     
    5563  var numIncomplete = 0;
    5664  var checks = response.checks;
    57   var html = '<table border="0" cellpadding="0" cellspacing="0" class="report">';
     65  var html = '<table class="report">';
    5866  html += '<tr><th id="itemTypeCol">Item type</th><th id="nameCol">Name</th><th id="iconCol"></th><th id="statusCol">Status</th></tr>';
    5967  var lastItemType = null;
     
    6169  {
    6270    var check = checks[i];
    63     var icon = 'ok.gif';
     71    var icon = 'ok.png';
    6472    if (check.status == 'missing')
    6573    {
    6674      numMissing++;
    67       icon = 'error.gif';
     75      icon = 'error.png';
    6876    }
    6977    if (check.status == 'incomplete')
    7078    {
    7179      numIncomplete++;
    72       icon = 'warning.gif';
     80      icon = 'warning.png';
    7381    }
    7482    if (check.status == 'error')
    7583    {
    7684      numErrors++;
    77       icon = 'error.gif';
     85      icon = 'error.png';
    7886    }
    7987    if (check.status == 'warning')
    8088    {
    8189      numWarnings++;
    82       icon = 'warning.gif';
     90      icon = 'warning.png';
    8391    }
    8492    if (lastItemType != check.itemType)
    8593    {
    86       html += '<tr class="newitemtype" valign="top"><td>'+check.itemType+'</td>';
     94      html += '<tr class="newitemtype"><td>'+check.itemType+'</td>';
    8795    }
    8896    else
    8997    {
    90       html += '<tr class="sameitemtype" valign="top"><td>&nbsp;</td>';
     98      html += '<tr class="sameitemtype"><td>&nbsp;</td>';
    9199    }
    92100    lastItemType = check.itemType;
     
    102110      html += '<td><i>' + name + '</i></td>';
    103111    }
    104     html += '<td><img src="../../images/'+icon+'"></td><td>';
     112    html += '<td><img src="images/'+icon+'"></td><td>';
    105113    if (check.messages.length > 1)
    106114    {
     
    146154.report
    147155{
    148   border: 1px solid #999999;
    149   width: 800px;
     156  width: 100%;
    150157  table-layout: fixed;
    151158}
     
    153160.report #itemTypeCol
    154161{
    155   width: 180px;
     162  width: 18em;
    156163}
    157164
    158165.report #nameCol
    159166{
    160   width: 200px;
     167  width: 20em;
    161168}
    162169.report #iconCol
     
    172179  font-weight: bold;
    173180  text-align: left;
    174   background: #E0E0E0;
     181  background: #E8E8E8;
    175182  padding: 2px 4px 2px 4px;
    176183}
     
    183190.report .newitemtype td
    184191{
    185   border-top: 1px solid #999999;
     192  border-top: 1px solid #A0A0A0;
    186193}
    187194.report .sameitemtype td
    188195{
    189   border-top: 1px dotted #cccccc;
     196  border-top: 1px dotted #A0A0A0;
    190197}
    191198</style>
     
    193200<base:body onload="init('Validate')">
    194201
    195   <p:path style="margin-top: 20px; margin-bottom: 10px;">
    196     <p:pathelement title="Reggie" href="<%="index.jsp?ID="+ID%>" />
    197     <p:pathelement title="Installation wizard" />
    198   </p:path>
    199 
    200   <div id="validationResult" style="margin-left: 20px;">Checking; please wait...</div>
    201 
    202   <div id="createMissingItems" style="display:none; margin-left: 20px; margin-top: 10px;">
    203     <table><tr><td>
    204     <base:button title="Create missing items" image="add.png" onclick="createMissingItems()"/>
    205     </td></tr></table>
     202  <p:path><p:pathelement
     203    title="Reggie" href="<%="index.jsp?ID="+ID%>"
     204    /><p:pathelement title="Installation wizard"
     205    /></p:path>
     206
     207  <div class="content" style="padding-left: 2em;">
     208
     209    <div id="validationResult" class="absolutefull fullborder" style="bottom: 10em; left: 1em; right: 1em; ">
     210      Checking; please wait...
     211    </div>
     212 
     213    <div class="absolutefull" style="top: auto; height: 10em; left: 1em; right: 1em;">
     214      <div id="createMissingItems" style="display:none; margin-top: 1em;">
     215        <base:buttongroup>
     216        <base:button title="Create missing items" image="add.png" onclick="createMissingItems()"/>
     217        </base:buttongroup>
     218      </div>
     219   
     220      <div id="fixIncompleteItems" style="display:none; margin-top: 1em;">
     221        <base:buttongroup>
     222        <base:button title="Fix items" image="fixit.png" onclick="createMissingItems()"/>
     223        </base:buttongroup>
     224      </div>
     225   
     226      <div class="messagecontainer error" id="errorMessage" style="display: none;"></div>
     227   
     228      <div class="messagecontainer note" id="warningMessage" style="display: none;">
     229        <div id="warningMessage.message"></div>
     230      </div>
     231    </div>
     232 
    206233  </div>
    207 
    208   <div id="fixIncompleteItems" style="display:none; margin-left: 20px; margin-top: 10px;">
    209     <table><tr><td>
    210     <base:button title="Fix items" image="fixit.png" onclick="createMissingItems()"/>
    211     </td></tr></table>
    212   </div>
    213 
    214   <div class="error" id="errorMessage" style="display: none; width: 800px; margin-left: 20px; margin-bottom: 0px;"></div>
    215 
    216   <base:note id="warningMessage" type="warning" style="display: none; width: 800px; margin-left: 20px; margin-top: 20px;"><div id="warningMessage.message"></div></base:note>
    217 
    218   <pre>
    219   <div id="debug"></div>
    220   </pre>
    221234 
    222235</base:body>
  • extensions/net.sf.basedb.reggie/trunk/resources/partitionform.jsp

    r1532 r1538  
    55  import="net.sf.basedb.core.DbControl"
    66  import="net.sf.basedb.core.SessionControl"
     7  import="net.sf.basedb.core.Application"
    78  import="net.sf.basedb.clients.web.Base"
     9  import="net.sf.basedb.clients.web.extensions.ExtensionsControl"
    810%>
    911<%@ taglib prefix="base" uri="/WEB-INF/base.tld" %>
     
    1315final String ID = sc.getId();
    1416final float scale = Base.getScale(sc);
     17final String home = ExtensionsControl.getHomeUrl("net.sf.basedb.reggie");
    1518DbControl dc = null;
    1619try
     
    2124<base:page type="default" >
    2225<base:head scripts="ajax.js" styles="path.css">
    23   <link rel="stylesheet" type="text/css" href="reggie.css">
     26  <link rel="stylesheet" type="text/css" href="css/reggie.css">
     27  <%
     28  if (Application.getMajorVersion() == 3 && Application.getMinorVersion() == 0)
     29  {
     30    %>
     31    <link rel="stylesheet" type="text/css" href="css/base30.css">
     32    <%
     33  }
     34  %>
    2435  <script language="JavaScript" src="reggie.js" type="text/javascript" charset="UTF-8"></script>
    2536 
     
    723734</base:head>
    724735<base:body onload="init()">
    725 <p:path style="margin-top: 20px; margin-bottom: 10px;">
    726     <p:pathelement title="Reggie" href="<%="index.jsp?ID="+ID%>" />
    727     <p:pathelement title="Partition registration" />
    728   </p:path>
    729 
     736
     737  <p:path><p:pathelement
     738    title="Reggie" href="<%="index.jsp?ID="+ID%>"
     739    /><p:pathelement title="Partition registration"
     740    /></p:path>
     741
     742  <div class="content">
    730743  <%
    731744  if (sc.getActiveProjectId() == 0)
    732745  {
    733746    %>
    734     <base:note type="warning" style="width: 800px; margin-left: 20px; margin-bottom: 20px; margin-right: 0px; font-weight: bold; color: #cc0000;">
     747    <div class="messagecontainer note" style="width: 800px; margin-left: 20px; margin-bottom: 20px; margin-right: 0px; font-weight: bold; color: #cc0000;">
    735748      No project has been selected. You may proceed with the registration but
    736749      created items will not be shared.
    737     </base:note>
     750    </div>
    738751    <%
    739752  }
     
    785798          <td class="prompt">Download label file</td>
    786799          <td class="input" name="downloadfile.input" id="downloadfile.input">
    787             <base:button id="downloadlabels" title="Download..." onclick="downloadLabelFile()" image="download.gif" style="width:115px"/>
     800            <base:button id="downloadlabels" title="Download..." onclick="downloadLabelFile()" image="<%=home + "/images/download.png"%>" style="width:115px"/>
    788801          </td>
    789802          <td class="status" id="downloadfile.status"></td>
     
    811824  </div>
    812825   
    813   <div class="error" id="errorMessage" style="display: none; width: 800px; margin-left: 20px; margin-bottom: 0px;"></div>
     826  <div class="messagecontainer error" id="errorMessage" style="display: none; width: 800px; margin-left: 20px; margin-bottom: 0px;"></div>
    814827 
    815828  <div id="done" class="success" style="display: none; width: 800px; margin-left: 20px; margin-top: 20px;"></div>
     
    818831    <tr>
    819832      <td><base:button id="gocancel" title="Cancel" onclick="goRestart(false)" style="display: none;"/></td>
    820       <td><base:button id="gonext" title="Next" image="gonext.gif" onclick="goNext(true)"/></td>
    821       <td><base:button id="gocreate" title="Create" image="gonext.gif" onclick="goCreate()" style="display: none;"/></td>
    822       <td><base:button id="goupdate" title="Update" image="gonext.gif" onclick="goCreate()" style="display: none;"/></td>
    823       <td><base:button id="gorestart" title="Restart" image="goback.gif" onclick="goRestart(true)" style="display: none;"/></td>
     833      <td><base:button id="gonext" title="Next" image="<%=home+"/images/gonext.png"%>" onclick="goNext(true)"/></td>
     834      <td><base:button id="gocreate" title="Create" image="<%=home+"/images/gonext.png"%>" onclick="goCreate()" style="display: none;"/></td>
     835      <td><base:button id="goupdate" title="Update" image="<%=home+"/images/gonext.png"%>" onclick="goCreate()" style="display: none;"/></td>
     836      <td><base:button id="gorestart" title="Restart" image="<%=home+"/images/goback.png"%>" onclick="goRestart(true)" style="display: none;"/></td>
    824837      <td id="gonext.message" class="message"></td>
    825838    </tr>
    826839  </table>
    827840  </form>
     841  </div>
    828842 
    829843</base:body>
  • extensions/net.sf.basedb.reggie/trunk/resources/persinfo.jsp

    r1531 r1538  
    88  import="net.sf.basedb.clients.web.Base"
    99  import="net.sf.basedb.clients.web.util.HTML"
     10  import="net.sf.basedb.clients.web.extensions.ExtensionsControl"
    1011  import="net.sf.basedb.util.Values"
    1112%>
     
    1617final String ID = sc.getId();
    1718final float scale = Base.getScale(sc);
     19final String home = ExtensionsControl.getHomeUrl("net.sf.basedb.reggie");
    1820DbControl dc = null;
    1921try
     
    2426<base:page type="default" >
    2527<base:head scripts="ajax.js" styles="path.css">
    26   <link rel="stylesheet" type="text/css" href="reggie.css">
     28  <link rel="stylesheet" type="text/css" href="css/reggie.css">
     29  <%
     30  if (Application.getMajorVersion() == 3 && Application.getMinorVersion() == 0)
     31  {
     32    %>
     33    <link rel="stylesheet" type="text/css" href="css/base30.css">
     34    <%
     35  }
     36  %>
    2737  <script language="JavaScript" src="reggie.js" type="text/javascript" charset="UTF-8"></script>
    2838 
     
    814824<base:body onload="init()">
    815825
    816   <p:path style="margin-top: 20px; margin-bottom: 10px;">
    817     <p:pathelement title="Reggie" href="<%="index.jsp?ID="+ID%>" />
    818     <p:pathelement title="Personal information registration" />
    819   </p:path>
    820 
     826  <p:path><p:pathelement
     827    title="Reggie" href="<%="index.jsp?ID="+ID%>"
     828    /><p:pathelement title="Personal information registration"
     829    /></p:path>
     830
     831  <div class="content">
    821832  <%
    822833  if (sc.getActiveProjectId() == 0)
    823834  {
    824835    %>
    825     <base:note type="warning" style="width: 800px; margin-left: 20px; margin-bottom: 20px; margin-right: 0px; font-weight: bold; color: #cc0000;">
     836    <div class="messagecontainer note" style="width: 800px; margin-left: 20px; margin-bottom: 20px; margin-right: 0px; font-weight: bold; color: #cc0000;">
    826837      No project has been selected. You may proceed with the registration but
    827838      created items will not be shared.
    828     </base:note>
     839    </div>
    829840    <%
    830841  }
     
    10341045  </div>
    10351046
    1036   <div class="error" id="errorMessage" style="display: none; width: 800px; margin-left: 20px; margin-bottom: 0px;"></div>
     1047  <div class="messagecontainer error" id="errorMessage" style="display: none; width: 800px; margin-left: 20px; margin-bottom: 0px;"></div>
    10371048
    10381049  <div id="done" class="success" style="display: none; width: 800px; margin-left: 20px; margin-top: 20px;"></div>
     
    10411052  <tr>
    10421053    <td><base:button id="gocancel" title="Cancel" onclick="goRestart(false)" style="display: none;"/></td>
    1043     <td><base:button id="gonext" title="Next" image="gonext.gif" onclick="goNext(true)"/></td>
    1044     <td><base:button id="gocreate" title="Create" image="gonext.gif" onclick="goCreate()" style="display: none;"/></td>
    1045     <td><base:button id="goupdate" title="Update" image="gonext.gif" onclick="goCreate()" style="display: none;"/></td>
    1046     <td><base:button id="gorestart" title="Restart" image="goback.gif" onclick="goRestart(true)" style="display: none;"/></td>
     1054    <td><base:button id="gonext" title="Next" image="<%=home+"/images/gonext.png"%>" onclick="goNext(true)"/></td>
     1055    <td><base:button id="gocreate" title="Create" image="<%=home+"/images/gonext.png"%>" onclick="goCreate()" style="display: none;"/></td>
     1056    <td><base:button id="goupdate" title="Update" image="<%=home+"/images/gonext.png"%>" onclick="goCreate()" style="display: none;"/></td>
     1057    <td><base:button id="gorestart" title="Restart" image="<%=home+"/images/goback.png"%>" onclick="goRestart(true)" style="display: none;"/></td>
    10471058    <td id="gonext.message" class="message"></td>
    10481059  </tr>
    10491060  </table>
    10501061  </form>
     1062  </div>
    10511063 
    10521064</base:body>
  • extensions/net.sf.basedb.reggie/trunk/resources/refform.jsp

    r1342 r1538  
    1111  import="net.sf.basedb.clients.web.Base"
    1212  import="net.sf.basedb.clients.web.util.HTML"
     13  import="net.sf.basedb.clients.web.extensions.ExtensionsControl"
    1314  import="net.sf.basedb.util.Values"
    1415  import="java.util.List"
     
    2021final String ID = sc.getId();
    2122final float scale = Base.getScale(sc);
     23final String home = ExtensionsControl.getHomeUrl("net.sf.basedb.reggie");
    2224DbControl dc = null;
    2325try
     
    3840<base:page type="default" >
    3941<base:head scripts="ajax.js" styles="path.css">
    40   <link rel="stylesheet" type="text/css" href="reggie.css">
     42  <link rel="stylesheet" type="text/css" href="css/reggie.css">
     43  <%
     44  if (Application.getMajorVersion() == 3 && Application.getMinorVersion() == 0)
     45  {
     46    %>
     47    <link rel="stylesheet" type="text/css" href="css/base30.css">
     48    <%
     49  }
     50  %>
    4151  <script language="JavaScript" src="reggie.js" type="text/javascript" charset="UTF-8"></script>
    4252
     
    158168    {
    159169      html += '<tr><td colspan="2" class="summary" onclick="showHide(\'alreadyLinked\')" title="Click to show/hide details">';
    160       html += '<img src="../../images/show_section.gif" id="alreadyLinkedImg">';
     170      html += '<img src="images/show_section.png" id="alreadyLinkedImg">';
    161171      html += numAlreadyLinked + ' file(s) was already linked to a case</td></tr>\n';
    162172      html += '<tbody id="alreadyLinked" style="display: none;">' + htmlAlreadyLinked + "</tbody>";
     
    165175    {
    166176      html += '<tr><td colspan="2" class="summary" onclick="showHide(\'linkCreated\')" title="Click to show/hide details">';
    167       html += '<img src="../../images/hide_section.gif" id="linkCreatedImg">';
     177      html += '<img src="images/hide_section.png" id="linkCreatedImg">';
    168178      html += numLinkedNow + ' file(s) linked to a case</td></tr>\n';
    169179      html += '<tbody id="linkCreated">' + htmlLinkedNow + "</tbody>";
     
    172182    {
    173183      html += '<tr><td colspan="2" class="summary" onclick="showHide(\'notLinked\')" title="Click to show/hide details">';
    174       html += '<img src="../../images/hide_section.gif" id="notLinkedImg">';
     184      html += '<img src="images/hide_section.png" id="notLinkedImg">';
    175185      html += numNotLinked + ' file(s) could not be linked</td></tr>\n';
    176186      html += '<tbody id="notLinked">' + htmlNotLinked + "</tbody>";
     
    187197  Main.showHide(sectionId);
    188198  var img = document.getElementById(sectionId + 'Img');
    189   img.src = img.src.indexOf('show') > 0 ? '../../images/hide_section.gif' : '../../images/show_section.gif';
     199  img.src = img.src.indexOf('show') > 0 ? 'images/hide_section.png' : 'images/show_section.png';
    190200}
    191201</script>
     
    230240<base:body onload="init()">
    231241
    232   <p:path style="margin-top: 20px; margin-bottom: 10px;">
    233     <p:pathelement title="Reggie" href="<%="index.jsp?ID="+ID%>" />
    234     <p:pathelement title="Referral form registration" />
    235   </p:path>
    236 
     242  <p:path><p:pathelement
     243    title="Reggie" href="<%="index.jsp?ID="+ID%>"
     244    /><p:pathelement title="Referral form registration"
     245    /></p:path>
     246  <div class="content">
    237247  <%
    238248  if (sc.getActiveProjectId() == 0)
    239249  {
    240250    %>
    241     <base:note type="warning" style="width: 800px; margin-left: 20px; margin-bottom: 20px; margin-right: 0px; font-weight: bold; color: #cc0000;">
     251    <div class="messagecontainer note" style="width: 800px; margin-left: 20px; margin-bottom: 20px; margin-right: 0px; font-weight: bold; color: #cc0000;">
    242252      No project has been selected. You may proceed with the registration but
    243253      created items will not be shared.
    244     </base:note>
     254    </div>
    245255    <%
    246256  }
     
    302312  </div>
    303313
    304   <div class="error" id="errorMessage" style="display: none; width: 800px; margin-left: 20px; margin-bottom: 0px;"></div>
     314  <div class="messagecontainer error" id="errorMessage" style="display: none; width: 800px; margin-left: 20px; margin-bottom: 0px;"></div>
    305315
    306316  <div id="done" class="success" style="display: none; width: 800px; margin-left: 20px; margin-top: 20px;"></div>
     
    309319  <tr>
    310320    <td><base:button id="gocancel" title="Cancel" onclick="goRestart(false)" style="display: none;"/></td>
    311     <td><base:button id="goprocess" title="Process" image="gonext.gif" onclick="goProcess()"
     321    <td><base:button id="goprocess" title="Process" image="<%=home+"/images/gonext.png"%>" onclick="goProcess()"
    312322      tooltip="Process the files in the selected directory"/></td>
    313     <td><base:button id="gorestart" title="Restart" image="goback.gif" onclick="goRestart(true)" style="display: none;"/></td>
     323    <td><base:button id="gorestart" title="Restart" image="<%=home+"/images/goback.png"%>" onclick="goRestart(true)" style="display: none;"/></td>
    314324    <td id="gonext.message" class="message"></td>
    315325  </tr>
    316326  </table>
    317327  </form>
     328  </div>
    318329 
    319330</base:body>
  • extensions/net.sf.basedb.reggie/trunk/resources/samplereportgenerator.jsp

    r1501 r1538  
    55  import="net.sf.basedb.core.DbControl"
    66  import="net.sf.basedb.core.SessionControl"
     7  import="net.sf.basedb.core.Application"
    78  import="net.sf.basedb.clients.web.Base"
     9  import="net.sf.basedb.clients.web.extensions.ExtensionsControl"
    810%>
    911<%@ taglib prefix="base" uri="/WEB-INF/base.tld" %>
     
    1315final String ID = sc.getId();
    1416final float scale = Base.getScale(sc);
     17final String home = ExtensionsControl.getHomeUrl("net.sf.basedb.reggie");
    1518DbControl dc = null;
    1619try
     
    1922  final User user = User.getById(dc, sc.getLoggedInUserId());
    2023  %>
    21   <base:page type="default" >
    22   <base:head scripts="ajax.js" styles="path.css">
    23     <link rel="stylesheet" type="text/css" href="reggie.css">
    24     <script language="JavaScript" src="reggie.js" type="text/javascript" charset="UTF-8"></script>
     24<base:page type="default" >
     25<base:head scripts="ajax.js" styles="path.css">
     26  <link rel="stylesheet" type="text/css" href="css/reggie.css">
     27  <%
     28  if (Application.getMajorVersion() == 3 && Application.getMinorVersion() == 0)
     29  {
     30    %>
     31    <link rel="stylesheet" type="text/css" href="css/base30.css">
     32    <%
     33  }
     34  %>
     35  <script language="JavaScript" src="reggie.js" type="text/javascript" charset="UTF-8"></script>
    2536   
    2637   
     
    606617  </base:head>
    607618  <base:body onload="init()">
    608     <p:path style="margin-top: 20px; margin-bottom: 10px;">
    609       <p:pathelement title="Reggie" href="<%="index.jsp?ID="+ID%>" />
    610       <p:pathelement title="Report generator" />
    611     </p:path>
    612    
     619    <p:path><p:pathelement
     620      title="Reggie" href="<%="index.jsp?ID="+ID%>"
     621      /><p:pathelement title="Report generator"
     622      /></p:path>
     623    <div class="content">
    613624    <%
    614625    if (sc.getActiveProjectId() == 0)
    615626    {
    616627      %>
    617       <base:note type="warning" style="width: 800px; margin-left: 20px; margin-bottom: 20px; margin-right: 0px; font-weight: bold; color: #cc0000;">
     628      <div class="messagecontainer note" style="width: 800px; margin-left: 20px; margin-bottom: 20px; margin-right: 0px; font-weight: bold; color: #cc0000;">
    618629        No project has been selected. You may proceed with the report generation but
    619630        only your own items will be included in the report.
    620       </base:note>
     631      </div>
    621632      <%
    622633    }
     
    702713      </div> 
    703714     
    704       <div class="error" id="errorMessage" style="display: none; width: 800px; margin-left: 20px; margin-bottom: 0px;"></div>   
     715      <div class="messagecontainer error" id="errorMessage" style="display: none; width: 800px; margin-left: 20px; margin-bottom: 0px;"></div>   
    705716       
    706717      <table style="margin-left: 20px; margin-top: 10px;" class="navigation">
    707718        <tr>
    708719          <td><base:button id="gocancel" title="Cancel" onclick="goRestart(false)" style="display: none;"/></td>
    709           <td><base:button id="gonext" title="Next" image="gonext.gif" onclick="goNext(true)" /></td>
    710           <td><base:button id="gocreate" title="Generate" image="gonext.gif" onclick="goCreate()" style="display: none;"/></td>         
    711           <td><base:button id="gorestart" title="Restart" image="goback.gif" onclick="goRestart(true)" style="display: none;"/></td>
     720          <td><base:button id="gonext" title="Next" image="<%=home+"/images/gonext.png"%>" onclick="goNext(true)" /></td>
     721          <td><base:button id="gocreate" title="Generate" image="<%=home+"/images/gonext.png"%>" onclick="goCreate()" style="display: none;"/></td>         
     722          <td><base:button id="gorestart" title="Restart" image="<%=home+"/images/goback.png"%>" onclick="goRestart(true)" style="display: none;"/></td>
    712723          <td id="gonext.message" class="message"></td>
    713724        </tr>
    714725      </table>     
    715726    </form>
     727    </div>
     728   
    716729  </base:body>
    717730  </base:page>
  • extensions/net.sf.basedb.reggie/trunk/resources/specimentube.jsp

    r1530 r1538  
    88  import="net.sf.basedb.core.ItemContext"
    99  import="net.sf.basedb.core.SessionControl"
     10  import="net.sf.basedb.core.Application"
    1011  import="net.sf.basedb.clients.web.Base"
     12  import="net.sf.basedb.clients.web.extensions.ExtensionsControl"
    1113  import="net.sf.basedb.util.Values"
    1214  import="java.util.List"
     
    1820final String ID = sc.getId();
    1921final float scale = Base.getScale(sc);
     22final String home = ExtensionsControl.getHomeUrl("net.sf.basedb.reggie");
    2023DbControl dc = null;
    2124try
     
    5760<base:page type="default" >
    5861<base:head scripts="ajax.js" styles="path.css">
    59   <link rel="stylesheet" type="text/css" href="reggie.css">
     62  <link rel="stylesheet" type="text/css" href="css/reggie.css">
     63  <%
     64  if (Application.getMajorVersion() == 3 && Application.getMinorVersion() == 0)
     65  {
     66    %>
     67    <link rel="stylesheet" type="text/css" href="css/base30.css">
     68    <%
     69  }
     70  %>
    6071  <script language="JavaScript" src="reggie.js" type="text/javascript" charset="UTF-8"></script>
    6172 
     
    848859</base:head>
    849860<base:body onload="init()">
    850 <p:path style="margin-top: 20px; margin-bottom: 10px;">
    851     <p:pathelement title="Reggie" href="<%="index.jsp?ID="+ID%>" />
    852     <p:pathelement title="Specimen tube registration" />
    853   </p:path>
    854 
     861
     862  <p:path><p:pathelement
     863    title="Reggie" href="<%="index.jsp?ID="+ID%>"
     864    /><p:pathelement title="Specimen tube registration"
     865    /></p:path>
     866 
     867  <div class="content">
    855868  <%
    856869  if (sc.getActiveProjectId() == 0)
    857870  {
    858871    %>
    859     <base:note type="warning" style="width: 800px; margin-left: 20px; margin-bottom: 20px; margin-right: 0px; font-weight: bold; color: #cc0000;">
     872    <div class="messagecontainer note" style="width: 800px; margin-left: 20px; margin-bottom: 20px; margin-right: 0px; font-weight: bold; color: #cc0000;">
    860873      No project has been selected. You may proceed with the registration but
    861874      created items will not be shared.
    862     </base:note>
     875    </div>
    863876    <%
    864877  }
     
    10111024  </div> 
    10121025   
    1013   <div class="error" id="errorMessage" style="display: none; width: 800px; margin-left: 20px; margin-bottom: 0px;"></div>
     1026  <div class="messagecontainer error" id="errorMessage" style="display: none; width: 800px; margin-left: 20px; margin-bottom: 0px;"></div>
    10141027 
    10151028  <div id="done" class="success" style="display: none; width: 800px; margin-left: 20px; margin-top: 20px;"></div>
     
    10181031    <tr>
    10191032      <td><base:button id="gocancel" title="Cancel" onclick="goRestart(false)" style="display: none;"/></td>
    1020       <td><base:button id="gonext" title="Next" image="gonext.gif" onclick="goNext(true)"/></td>
    1021       <td><base:button id="gocreate" title="Create" image="gonext.gif" onclick="goCreate()" style="display: none;"/></td>
    1022       <td><base:button id="goupdate" title="Update" image="gonext.gif" onclick="goCreate()" style="display: none;"/></td>     
    1023       <td><base:button id="gorestart" title="Restart" image="goback.gif" onclick="goRestart(true)" style="display: none;"/></td>
    1024       <td><base:button id="gostop" title="Stop" image="cancel.gif" onclick="goStop()" style="display:none;"/></td>
     1033      <td><base:button id="gonext" title="Next" image="<%=home+"/images/gonext.png"%>" onclick="goNext(true)"/></td>
     1034      <td><base:button id="gocreate" title="Create" image="<%=home+"/images/gonext.png"%>" onclick="goCreate()" style="display: none;"/></td>
     1035      <td><base:button id="goupdate" title="Update" image="<%=home+"/images/gonext.png"%>" onclick="goCreate()" style="display: none;"/></td>     
     1036      <td><base:button id="gorestart" title="Restart" image="<%=home+"/images/goback.png"%>" onclick="goRestart(true)" style="display: none;"/></td>
     1037      <td><base:button id="gostop" title="Stop" image="<%=home+"/images/cancel.png"%>" onclick="goStop()" style="display:none;"/></td>
    10251038      <td id="gonext.message" class="message"></td>
    10261039    </tr>
    10271040  </table>
    10281041  </form>
     1042  </div>
    10291043 
    10301044</base:body>
Note: See TracChangeset for help on using the changeset viewer.