Subversion Repositories SmartDukaan

Rev

Rev 26493 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
26493 tejbeer 1
 
2
 <style>
3
 .h5m{
4
  background: #f3f3f3;
5
  margin: 0px;
6
  padding: 10px;
7
}
8
 
9
 </style>
10
 
11
 
12
 <script type="text/javascript">
13
$(function(){
14
 	getItemAheadOptions($("#typeaheadcampareitem"),function(selectedItem){
15
 	campareItemCatalogId = selectedItem.catalogId;
16
 
17
	console.log(campareItemCatalogId);
18
	});
19
});
20
</script>
21
 
22
 
23
 
24
 <div class="row">
25
  <div class="col-lg-8">
26
  <div class="col-lg-3">
27
   <img src="$cp.getDefaultImageUrl()" alt="" height=300px;>
28
  </div>
29
  <div class="col-lg-6">
30
   <h4> Highlights </h4>
31
     #foreach($keyspec in $cp.getKeySpecs())
32
      <div>$keyspec</div>
33
    #end
34
 
35
    <h4> Package Contents </h4>
36
	 #foreach($pContents in $cp.getPackageContents())
37
	  <div>$pContents</div>
38
	#end
39
 
40
	<div class = "row" style="margin-bottom:15px;">
41
	<div class="col-lg-2">
42
	   <input class="btn btn-primary campare-with" type="submit" value="Compare With">
43
	 </div>
44
	 </div>
45
	<div class = "row" id = "campareItem">
46
	   <div  class="col-lg-6 form-group">
47
		<input placeholder="Items" type="text" class="typeahead form-control" id="typeaheadcampareitem" name="Item" data-provide="typeahead" autocomplete="off">
48
	  </div>
49
 
50
	  <div class="col-lg-2">
51
	   <input class="btn btn-primary product-compare-info" type="submit" value="Submit">	
52
	 </div>
53
 
54
	</div>
55
    </div>
56
    </div>
57
   </div>    
58
  <div class="row">
59
  <div class="col-lg-6">		
60
 
61
 
62
 
63
   <h4 class="h4m">Detailed Specification</h4>
64
	 #foreach($x in $cp.getDetailedSpecs())
65
	   <div style="border:1px solid #f3f3f3;margin-bottom:15px;">
26498 amit.gupta 66
	    <table style="width:100%" class="table table-bordered">
67
	   <tr class="info"><th colspan="2">$x.getTitle()</th></tr>
26493 tejbeer 68
        #foreach($xx in $x.getSpecs())   
69
	          <tr>
26498 amit.gupta 70
	          <th style="width:35%">$xx.getName()</th>
26493 tejbeer 71
	          <td>
72
			    #foreach($xxx in $xx.getValues())  
73
			    <span>$xxx</span>
74
		         #end
75
              </td>
76
              </tr>
77
         #end
26498 amit.gupta 78
         </table>
26493 tejbeer 79
      </div>
80
    #end
81
  </div>
82
 </div>