Subversion Repositories SmartDukaan

Rev

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

<!DOCTYPE html PUBLIC 
"-//W3C//DTD XHTML 1.1 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<link type="image/x-icon" href="/Support/images/favicon_alt.ico" rel="shortcut icon">
<link href="/Support/css/demo_page_amazon.css" type="text/css" rel="stylesheet">
<link href="/Support/css/demo_table_amazon.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="/Support/js/jquery-1.4.2.js"></script>
<script type="text/javascript" src="/Support/js/snapdeal-competition-analysis-events.js"></script>
<script type="text/javascript" src="/Support/js/snapdeal-competition-analysis-common.js"></script>
<style type="text/css">   
* { font-family: Verdana; font-size: 96%; }
label.error { float: none; color: red; padding-left: .5em; vertical-align: top; }
p { clear: both; }
.submit { margin-left: 12em; }
em { font-weight: bold; padding-right: 1em; vertical-align: top; }
ul { padding-left: 13px;}
td{background-color:gainsboro};
.diffColor {
    background: grey;
}
li {
    color: blue;
    padding-top: 10px;
}
#scraping-data td {
    font-size: 14px;
    padding: 4px;
    text-align: center;
}
</style>
<style type="text/css">
.loading-image {
position: fixed;
top: 50%;
left: 50%;
margin-top: -50px;
margin-left: -100px;
z-index: 100;
}
</style>
<script type="text/javascript">
                $(function(){
                var temp = $('.itemId').text();
jQuery.ajax({
        type : "GET",
        url : "/Support/snapdeal-list!fetchCompetitionData?itemId="+temp+"&next=0",
                beforeSend: function(){
        $('#ajax-spinner').show();
        },
        complete: function(){
        $('#ajax-spinner').hide();
        },
        success : function(response) {
        $('#' + 'competition-details').html(response);
                $(".previous").css("display", "none");
                var last = $('.valueEnd').text();
                var temp = $('.totalItems').text();
                        if (parseInt(last) >= parseInt(temp)){
                                $(".next").css("display", "none");
                        }
        }
    });  
});
</script>
</head>
<div id="ajax-spinner" style="display:none;">
        <img src="/Support/images/ajax_loader_blue.gif" class="loading-image">
</div>
<span class="itemId" style="display:none;">$action.getItemId()</span>
<span class="supcCode" style="display:none;">$action.getSupc()</span>
<span class="totalItems" style="display:none;">$action.getCountForCompetitionData($action.getItemId())</span>
<div style="padding-top: 6px; padding-left: 25px;">
<span class="productName" style="font-weight: bold; color: blue; font-size: 20px;">$action.getProductName()</span>
<input type="button" value="Show Live Data" name="fetchLiveData" id="fetchLiveData" style="padding-left: 5px; margin-left: 10px;width: 15%;float:right;">
</div>
<div id="competition-details" style="padding-top: 15px;">
</div>
<div class="display" style="float: left;display:none;">
                Showing&nbsp;<span class="valueStart">1</span>&nbsp;to&nbsp;<span class="valueEnd">10</span>&nbsp;of&nbsp;
                <span class="total"></span>&nbsp;entries
</div>
<div class="paginate" style="float: right;">
                <a class="previous" href="#" style="margin: 20px;">Previous</a>
                <a class="next" href="#" style="margin: 0px;">Next</a>
</div>
<div class="legends" style="padding-left: 15px; padding-top: 25px;">
<o1 style="list-style: disc outside none; font-size: 14px;">
<li style="">Competitor SP is lowest seller sp in case we are not lowest otherwise it is second lowest seller sp</li>
<li>Competitor TP is lowest seller tp in case we are not lowest otherwise it is second lowest seller tp</li>
<li>Competitor inventory is inventory of top vendors if we are not lowest else it is second lowest seller inventory</li>

</o1></div>

<div style="display: none;padding: 15px; border: 1px solid rgb(41, 120, 193); position: fixed; font-size: 15px; background: none repeat scroll 0% 0% white; box-shadow: 0px 0px 10px 5px darkgrey; top: 110px; width: 90%; left: 60px;" id="hidden-data">
<div style="font-size: 20px; font-weight: bold; color: rgb(85, 85, 85); padding-left: 10px;">
        <span>Live Result</span>
        <span id="closeDiv" style="background: url('/Support/images/close_button.png');height: 25px;width: 25px;cursor:pointer;float: right;"></span>
                </div>
<table style="width: 100%; padding-top: 15px;" id="scraping-data">
<thead>
<tr>
<th>Our Selling Price</th>
<th>Our Offer Price</th>
<th>Our Rank</th>
<th>Our Inventory</th>
<th>Competitor Name</th>
<th>Competitor Type</th>
<th>Competitor Selling Price</th>
<th>Competitor Offer Price</th>
<th>Competitor Inventory</th>
<th>Total Sellers</th>
</tr></thead>
<tbody>
<tr style="width: 100%;">
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr></tbody>
</table>
</div>



</html>