- Timestamp:
- Nov 26, 2013, 9:52:40 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.reggie/trunk/resources/libprep/create_manual_pool.jsp
r2150 r2151 341 341 var mixingStrategy = Forms.getCheckedRadio(frm.mixing_strategy).value; 342 342 343 var numSeparateMix = 0; 344 var numLowQuantity = 0; 345 var numExcluded = 0; 346 343 347 // Get all libs into an array 344 348 var libs = []; … … 362 366 PoolMix.calculateEbVolume(lib, TARGET_MOLARITY_IN_POOL, targetVolumePerLib, mixingStrategy); 363 367 } 368 else 369 { 370 numExcluded++; 371 } 364 372 } 365 373 … … 403 411 setInnerHTML('lib.'+lib.id+'.eb', '-'); 404 412 } 413 if (lib.eb != 0 || mixingStrategy == 'fixed') numSeparateMix++; 414 if (lib.volume > lib.actualVolume) numLowQuantity++; 405 415 } 406 416 … … 440 450 poolData += '</div>'; 441 451 poolDiv.innerHTML = poolData; 452 453 setInnerHTML('num_separate_mix', numSeparateMix); 454 setInnerHTML('num_low_quantity', numLowQuantity); 455 setInnerHTML('num_excluded', numExcluded); 456 442 457 } 443 458 … … 816 831 /> 817 832 </tbl:toolbar> 818 833 819 834 <div id="pool-table" class="bottomborder"> 820 835 <table style="width: 100%;"> … … 830 845 831 846 <div id="lib-table" style="display: none;"> 832 <table class="bottomborder"> 847 <div style="margin: 1em;" class="messagecontainer note"> 848 <base:icon image="info.png"/> 849 <b>Separate mix:</b> <span id="num_separate_mix"></span>, 850 <b>Low quantity:</b> <span id="num_low_quantity"></span>, 851 <b>Excluded:</b> <span id="num_excluded"></span> 852 </div> 853 <table class="bottomborder topborder"> 833 854 <thead> 834 855 <tr>
Note: See TracChangeset
for help on using the changeset viewer.