Changeset 2230


Ignore:
Timestamp:
Feb 17, 2014, 10:02:17 AM (9 years ago)
Author:
Nicklas Nordborg
Message:

References #545: Register sequencing as ended

Display sequencing start date in the selection list and comments to make it easier to select the correct sequencing run.

File:
1 edited

Legend:

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

    r2228 r2230  
    4848      var seqRun = seqRuns[runNo];
    4949
    50       var option = new Option(seqRun.name, seqRun.id);
     50      var option = new Option(seqRun.name+' (' + formatDate(seqRun.SequencingStart)+')', seqRun.id);
    5151      //option.title = title;
    5252      option.seqRun = seqRun;
     
    130130 
    131131  setInnerHTML('flowCellsInRun', html);
     132  setInnerHTML('comments', Main.encodeTags(seqRun.comments));
    132133}
    133134
     
    358359</script>
    359360<style>
    360 
     361.fc-info
     362{
     363  background-color: #F4F4F4;
     364  border-top: 1em solid transparent;
     365}
     366
     367.fc-info .subprompt
     368{
     369  font-weight: normal;
     370  padding-left: 2em;
     371  text-align: left;
     372}
     373
     374.fc-info .input
     375{
     376  font-style: italic;
     377}
    361378
    362379</style>
     
    392409  <tr>
    393410    <td class="stepfields">
    394       <table>
     411      <table style="border-collapse: collapse;">
    395412      <tr valign="top">
    396413        <td class="prompt">Sequencing run</td>
     
    403420        </td>
    404421      </tr>
    405       <tr valign="top">
    406         <td class="subprompt">- start date</td>
     422      <tbody class="fc-info">
     423      <tr valign="top">
     424        <td class="subprompt">Start date</td>
    407425        <td class="input" id="startDate"></td>
    408426        <td class="status"></td>
     
    411429     
    412430      <tr valign="top">
    413         <td class="subprompt">- flow cell</td>
     431        <td class="subprompt">Flow cell</td>
    414432        <td class="input" id="flowCellsInRun"></td>
    415433        <td class="status"></td>
    416434        <td class="help"></td>
    417435      </tr>
    418          
     436      <tr valign="top">
     437        <td class="subprompt">Comments</td>
     438        <td class="input" id="comments"></td>
     439        <td class="status"></td>
     440        <td class="help"></td>
     441      </tr>
     442      </tbody>
    419443      </table>
    420444    </td>
Note: See TracChangeset for help on using the changeset viewer.