Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
11015 kshitij.so 1
<!DOCTYPE html PUBLIC 
2
"-//W3C//DTD XHTML 1.1 Transitional//EN"
3
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
<head>
6
<link type="image/x-icon" href="/Support/images/favicon_alt.ico" rel="shortcut icon">
7
<link href="/Support/css/demo_page_amazon.css" type="text/css" rel="stylesheet">
8
<link href="/Support/css/demo_table_amazon.css" type="text/css" rel="stylesheet">
9
<script type="text/javascript" src="/Support/js/jquery-1.4.2.js"></script>
10
<script type="text/javascript" src="/Support/js/snapdeal-competition-analysis-events.js"></script>
11
<script type="text/javascript" src="/Support/js/snapdeal-competition-analysis-common.js"></script>
12
<style type="text/css">   
13
* { font-family: Verdana; font-size: 96%; }
14
label.error { float: none; color: red; padding-left: .5em; vertical-align: top; }
15
p { clear: both; }
16
.submit { margin-left: 12em; }
17
em { font-weight: bold; padding-right: 1em; vertical-align: top; }
18
ul { padding-left: 13px;}
19
td{background-color:gainsboro};
20
.diffColor {
21
    background: grey;
22
}
23
li {
24
    color: blue;
25
    padding-top: 10px;
26
}
27
</style>
28
<style type="text/css">
29
.loading-image {
30
position: fixed;
31
top: 50%;
32
left: 50%;
33
margin-top: -50px;
34
margin-left: -100px;
35
z-index: 100;
36
}
37
</style>
38
<script type="text/javascript">
39
		$(function(){
40
		var temp = $('.itemId').text();
41
jQuery.ajax({
42
        type : "GET",
43
        url : "/Support/snapdeal-list!fetchCompetitionData?itemId="+temp+"&next=0",
44
		beforeSend: function(){
45
        $('#ajax-spinner').show();
46
        },
47
        complete: function(){
48
        $('#ajax-spinner').hide();
49
        },
50
        success : function(response) {
51
        $('#' + 'competition-details').html(response);
52
		$(".previous").css("display", "none");
11047 kshitij.so 53
		var temp = $('.totalItems').text();
54
			if (parseInt(last) >= parseInt(temp)){
55
				$(".next").css("display", "none");
56
			}
11015 kshitij.so 57
        }
58
    });  
59
});
60
</script>
61
</head>
62
<div id="ajax-spinner" style="display:none;">
63
	<img src="/Support/images/ajax_loader_blue.gif" class="loading-image">
64
</div>
65
<span class="itemId" style="display:none;">$action.getItemId()</span>
66
<span class="totalItems" style="display:none;">$action.getCountForCompetitionData($action.getItemId())</span>
67
<div style="padding-top: 6px; padding-left: 25px;">
68
<span class="productName" style="font-weight: bold; color: blue; font-size: 20px;">$action.getProductName()</span>
69
</div>
70
<div id="competition-details" style="padding-top: 15px;">
71
</div>
72
<div class="display" style="float: left;display:none;">
73
		Showing&nbsp;<span class="valueStart">1</span>&nbsp;to&nbsp;<span class="valueEnd">10</span>&nbsp;of&nbsp;
74
		<span class="total"></span>&nbsp;entries
75
</div>
76
<div class="paginate" style="float: right;">
77
		<a class="previous" href="#" style="margin: 20px;">Previous</a>
78
		<a class="next" href="#" style="margin: 0px;">Next</a>
79
</div>
80
<div class="legends" style="padding-left: 15px; padding-top: 25px;">
81
<o1 style="list-style: disc outside none; font-size: 14px;">
82
<li style="">Competitor SP is lowest seller sp in case we are not lowest otherwise it is seconds lowest seller sp</li>
83
<li>Competitor TP is lowest seller tp in case we are not lowest otherwise it is seconds lowest seller tp</li>
11042 kshitij.so 84
<li>Competitor inventory is lowest seller sp in case we are not lowest otherwise it is seconds lowest seller sp</li>
11015 kshitij.so 85
 
86
</o1></div>
87
</html>