
<script id="diamond-details-row-template" type="text/html">
{{^results}}
        <tr>
            <td colspan='16'>No search results found!</td>
        </tr>
{{/results}}
{{ #results }}
        <tr class="{{class}}">
            <td class="dia_shape sorting" >{{_sku}}</td>
            <td class="dia_shape sorting" >{{_diamond_shape}}</td>
            <td class="dia_carat sorting" >{{_diamond_carat}}</td>
            <td class="dia_colour sorting" >{{_diamond_color}}</td>
            <td class="dia_clarity sorting" >{{_diamond_clarity}}</td>
            <td class="dia_meas sorting" >{{_diamond_measurements}}</td>
            <td class="dia_depth sorting" >{{_diamond_depth_per}}</td>
            <td class="dia_table sorting" >{{_diamond_table_per}}</td>
            <td class="dia_cut sorting" >{{_diamond_cut}}</td>
            <td class="dia_polish sorting" >{{_diamond_polish}}</td>
            <td class="dia_symm sorting" >{{_diamond_symmetry}}</td>
            <td class="dia_fluor sorting" >{{_diamond_fluorescence_intensity}}</td>
            <td class="dia_cert sorting" >{{_diamond_lab}}</td>
            <td class="dia_disc sorting" >
                {{#logged_in}}
                    {{_diamond_discount}}
                {{/logged_in}}
                {{^logged_in}}
                    <a href="https://emperordiamondsinc.com/wp-login.php?redirect_to=https%3A%2F%2Femperordiamondsinc.com%2F%3Fpage_id%3D47">Login</a>
                {{/logged_in}}
            </td>
            <td class="dia_price sorting" >
                {{#logged_in}}
                    {{{_price}}}
                {{/logged_in}}
                {{^logged_in}}
                    <a href="https://emperordiamondsinc.com/wp-login.php?redirect_to=https%3A%2F%2Femperordiamondsinc.com%2F%3Fpage_id%3D47">Login</a>
                {{/logged_in}}
            </td>
            <td class="dia_price sorting" >
                {{#logged_in}}
                    {{{_total_price}}}
                {{/logged_in}}
                {{^logged_in}}
                     <a href="https://emperordiamondsinc.com/wp-login.php?redirect_to=https%3A%2F%2Femperordiamondsinc.com%2F%3Fpage_id%3D47">Login</a>
                {{/logged_in}}
            </td>
             <td class="dia_image sorting" >
             {{#_thumbnail_id}}
             <img src="/wp-content/uploads/2015/04/photo.png">
                {{/_thumbnail_id}}
                 {{^_thumbnail_id}}
                 
                {{/_thumbnail_id}}
                
             </td>
            <td class="dia_details sorting" ><a href="{{_perma_link}}" class="view_more" >View</a></td>
        </tr>
{{ /results }}
</script>

<div class="diamond-search entry-content">
	<div class="wrap">

        <div id="shapeBox" class="one-half first">  <div class="searchLabel">Shape</div>
            </br>
          <div class="main-shape-div">
            <span id="round" title="Round" class="loose-sprite ld-round search-shape" ></span>
            <span id="princess" title="Princess" class="loose-sprite ld-princess search-shape" ></span>
            <span id="pear" title="Pear" class="loose-sprite ld-pear search-shape" ></span>
           <span id="heart" title="Heart" class="loose-sprite ld-heart search-shape" ></span>
           
            <span id="asscher" title="Asscher" class="loose-sprite ld-asscher search-shape" ></span>
            <span id="cushion" title="Cushion" class="loose-sprite ld-cushion search-shape" ></span>
            <span id="marquise" title="Marquise" class="loose-sprite ld-marquise search-shape" ></span>
            <span id="oval" title="Oval" class="loose-sprite ld-oval search-shape" ></span>
              <span id="emerald" title="Emerald" class="loose-sprite ld-emerald search-shape" ></span>
              <span id="radiant" title="Radiant" class="loose-sprite ld-radiant search-shape" ></span>
            </div>
        </div>
      

    <!-- <div class="entry-content"> -->
     <div id="colorBox"  class="one-half">
            <div class="searchLabel">Color (slide to change values)</div>
            
            <div class="valueRow">
                <input type="text" id="value-span" readonly >
                <input type="text" id="color" readonly >
            </div>
            <div id="slider-color"></div>
            <ul class="color-slider-data">
                <li>D</li>
                <li>E</li>
                <li>F<br class="visible-xs"></li>
                <li>G</li>
                <li>H<br class="visible-xs"></li>
                <li>I</li>
                <li>J</li>
                <li>K<br class="visible-xs"></li>
                <li>L</li>
                <li>M-Z</li>
            </ul>
        </div>
        <div id="caratBox" class="one-half first">
            <div class="searchLabel">Carat (enter values) </div>
           <div class="valueRow">
                <input type="text" id="value-span-range">
                <input type="text" id="range">
            </div>
            <div id="slider-range"></div>
        </div>
       
    <!-- </div> -->
    <!-- <div class="entry-content"> -->
        <div id="clarityBox"  class="one-half">
         
           <div class="searchLabel">Clarity (slide to change values) </div>
            
            <div class="valueRow">
                <input type="text" id="value-span-clarity" readonly >
                <input type="text" id="clarity" readonly >
            </div>
           
            <div id="slider-clarity"></div>
            <ul class="clarity-slider-data">
                <li>FL</li>
                <li>IF</li>
                <li>VVS1<br class="visible-xs"></li>
                <li>VVS2</li>
                <li>VS1<br class="visible-xs"></li>
                <li>VS2</li>
                <li>SI1</li>
                <li>SI2<br class="visible-xs"></li>
                <li>SI3</li>
                <li>I1+</li>
            </ul>
        </div>
        <!--<div id="cutBox" class="one-half">
            <div class="searchLabel">Cut</div>
            
            <div class="valueRow">
                <input type="text" id="value-span-cut" readonly >
                <input type="text" id="cut" readonly >
            </div>
            <div id="slider-cut"></div>
            <ul class="cut-slider-data">
                <li>IDEAL</li>
                <li>EXCELLENT</li>
                <li>VERY GOOD<br class="visible-xs"></li>
                <li>GOOD</li>
                <li>FAIR</li>
            </ul>
        </div>-->
    <!-- </div> -->
    </div>
 <div id="matchPairBox"><b class="searchLabel">View Match Pairs : </b><input type="checkbox" id="match_pair" name="match_pair"></div>
</div><div class="total_result_found"></div><div class="results_table_first">
                    <table id="results_table" class="display" min-width="1020" cellspacing="0" cellpadding="0" border="0" style="">

                        <thead>

                            <tr>

                          <th class="dia_sku sorting" rowspan="1" colspan="1" >Lot #</th>

                            <th class="dia_shape sorting" rowspan="1" colspan="1" >Shape</th>

                            <th class="dia_carat sorting" rowspan="1" colspan="1">Carat</th>

                            <th class="dia_colour sorting" rowspan="1" colspan="1">Color</th>

                            <th class="dia_clarity sorting" rowspan="1" colspan="1">Clarity</th>

                            <th class="dia_clarity sorting" rowspan="1" colspan="1">Measurement</th>

                            <th class="dia_depth sorting" rowspan="1" colspan="1">Depth</th>

                            <th class="dia_table sorting" rowspan="1" colspan="1">Table</th>

                            <th class="dia_cut sorting" rowspan="1" colspan="1">Cut</th>

                            <th class="dia_polish sorting" rowspan="1" colspan="1">Polish</th>

                            <th class="dia_symm sorting" rowspan="1" colspan="1">Sym.</th>

                            <th class="dia_flr sorting" rowspan="1" colspan="1">Flr.</th>

                            <th class="dia_cert sorting" rowspan="1" colspan="1">Cert</th>

                            <th class="dia_cert sorting" rowspan="1" colspan="1">Dis.</th>

                            <th class="dia_price sorting" rowspan="1" colspan="1">Price/Ct</th>

                            <th class="dia_price sorting" rowspan="1" colspan="1">Total</th>
                            
                             <th class="dia_image sorting" rowspan="1" colspan="1">Image</th>
 
                            <th class="dia_details sorting" rowspan="1" colspan="1">Details</th>

                            </tr>

                        </thead>

                        <tbody>
                        </tbody>
                </table>
                </div>
<!--
            <div class="results_table_second">
                  <table id="results_table" class="display" min-width="1020" cellspacing="0" cellpadding="0" border="0" style="">

                        <thead>

                            <tr>

                            <th class="dia_sku sorting" rowspan="1" colspan="1" >Diamond Information</th>
                            <tr>
                            </thead>
                            </table>
                </div> --><div class='load-more-div'><button id='load-more-results' class='load-results'>Load More Results</button></div><div id='spinner' class='spinner' style='display:none;'><img id='img-spinner' src='/wp-content/plugins/woocommerce-diamond/includes/images/spinner.gif' alt='Loading'/></div>{"id":47,"date":"2015-02-24T04:39:58","date_gmt":"2015-02-24T04:39:58","guid":{"rendered":"http:\/\/emperordiamonds\/?page_id=47"},"modified":"2015-02-24T04:39:58","modified_gmt":"2015-02-24T04:39:58","slug":"diamonds","status":"publish","type":"page","link":"https:\/\/emperordiamondsinc.com\/?page_id=47","title":{"rendered":"Diamonds"},"content":{"rendered":"\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"full-width-content","footnotes":""},"class_list":["post-47","page","type-page","status-publish","entry"],"_links":{"self":[{"href":"https:\/\/emperordiamondsinc.com\/index.php?rest_route=\/wp\/v2\/pages\/47","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/emperordiamondsinc.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/emperordiamondsinc.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/emperordiamondsinc.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/emperordiamondsinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=47"}],"version-history":[{"count":0,"href":"https:\/\/emperordiamondsinc.com\/index.php?rest_route=\/wp\/v2\/pages\/47\/revisions"}],"wp:attachment":[{"href":"https:\/\/emperordiamondsinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=47"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}