Project

General

Profile

Revision 5782

-move saved search criteria to the ecp tab
-create new tab for the cart

View differences:

index.jsp
465 465
		$("#searchTabs").tabs("add", "#ecpTab", "Entity, Characteristic, Protocol");
466 466
		$("#searchTabs").tabs("add", "#measurementTab", "Measurement");
467 467
		$("#searchTabs").tabs("add", "#optionsTab", "Options");
468
		$("#searchTabs").tabs("add", "#cartTab", "Cart");
468 469
	});
469 470
</script>
470 471

  
......
553 554
					</td>
554 555
				</tr>
555 556
			</table>
557

  
558
			<!-- collected search criteria here -->
559
			<table class="subGroup subGroup_border onehundred_percent">
560
				<tr>
561
					<th>
562
						<p>
563
						Search criteria
564
						<input type="button" value="Save current selection as criterion" onclick="addCurrent()"/>
565
						</p>
566
					</th>
567
				</tr>
568
				<tr>
569
					<td>
570
						<div id="searchCriteria">
571
						</div>
572
					</td>
573
				</tr>
574
			</table>
575

  
556 576
		</div>
557 577
		
558 578
		<!-- measurement -->
......
599 619
				</tr>
600 620
				
601 621
			</table>
602
		</div>	
622
		</div>
623

  
624
		<!-- cart -->
625
		<div id="cartTab">
626
			<!--cart here -->	
627
			<table class="subGroup subGroup_border onehundred_percent">
628
				<tr>
629
					<th>
630
						<p>
631
						Cart
632
						<input type="button" value="Refresh" onclick="loadCart()"/>
633
						<input type="button" value="Remove all" onclick="clearCart(); loadCart()"/>
634
						</p>
635
					</th>
636
				</tr>
637
				<tr>
638
					<td>
639
						<div id="cartResults">
640
						No items in cart
641
						</div>
642
					</td>
643
				</tr>
644
			</table>
645
		</div
603 646
					
604 647
	</div>
605

  
606
	<br/>
607

  
608
	<!-- collected search criteria here -->
609
	<table class="subGroup subGroup_border onehundred_percent">
610
		<tr>
611
			<th>
612
				Search Criteria
613
				<input type="button" value="Add Current Selection" onclick="addCurrent()"/>
614
			</th>
615
		</tr>
616
		<tr>
617
			<td>
618
				<div id="searchCriteria">
619
				</div>
620
			</td>
621
		</tr>
622
	</table>
623 648
	
624 649
	<br/>
625
	
626
	<!--cart here -->	
627
	<table class="subGroup subGroup_border onehundred_percent">
628
		<tr>
629
			<th>
630
				Cart
631
				<input type="button" value="Refresh" onclick="loadCart()"/>
632
				<input type="button" value="Remove all" onclick="clearCart(); loadCart()"/>
633
			</th>
634
		</tr>
635
		<tr>
636
			<td>
637
				<div id="cartResults">
638
				No items in cart
639
				</div>
640
			</td>
641
		</tr>
642
	</table>
643 650

  
644
	<br/>
645

  
646 651
	<!-- search results here -->	
647 652
	<table class="subGroup subGroup_border onehundred_percent">
648 653
		<tr>

Also available in: Unified diff