Subversion Repositories SmartDukaan

Rev

Rev 26498 | Blame | Compare with Previous | Last modification | View Log | RSS feed


 <style>
 .h5m{
  background: #f3f3f3;
  margin: 0px;
  padding: 10px;
}
 
 </style>


<script type="text/javascript">
$(function(){
        getEntityAheadOptions($("#typeaheadcompareitem"),function(selectedItem){
                compareItemCatalogId = selectedItem.catalogId_i;
        });
});
</script>
 
 
 
 <div class="row">
  <div class="col-lg-8">
  <div class="col-lg-3">
   <img src="$cp.getDefaultImageUrl()" alt="" height=300px;>
  </div>
  <div class="col-lg-6">
   <h4> Highlights </h4>
     #foreach($keyspec in $cp.getKeySpecs())
      <div>$keyspec</div>
    #end
    
    <h4> Package Contents </h4>
         #foreach($pContents in $cp.getPackageContents())
          <div>$pContents</div>
        #end
        
        <div class = "row" style="margin-bottom:15px;">
        <div class="col-lg-2">
           <input class="btn btn-primary compare-with" type="submit" value="Compare With">
         </div>
         </div>
        <div class = "row" id = "compareItem">
           <div  class="col-lg-6 form-group">
                <input placeholder="Items" type="text" class="typeahead form-control" id="typeaheadcompareitem" name="Item" data-provide="typeahead" autocomplete="off">
          </div>
          
          <div class="col-lg-2">
           <input class="btn btn-primary product-compare-info" type="submit" value="Submit">    
         </div>
        
        </div>
    </div>
    </div>
   </div>    
  <div class="row">
  <div class="col-lg-6">                

                        
                        
   <h4 class="h4m">Detailed Specification</h4>
         #foreach($x in $cp.getDetailedSpecs())
           <div style="border:1px solid #f3f3f3;margin-bottom:15px;">
            <table style="width:100%" class="table table-bordered">
           <tr class="info"><th colspan="2">$x.getTitle()</th></tr>
        #foreach($xx in $x.getSpecs())   
                  <tr>
                  <th style="width:35%">$xx.getName()</th>
                  <td>
                            #foreach($xxx in $xx.getValues())  
                            <span>$xxx</span>
                         #end
              </td>
              </tr>
         #end
         </table>
      </div>
    #end
  </div>
 </div>