Subversion Repositories SmartDukaan

Rev

Rev 11907 | Rev 12157 | Go to most recent revision | 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>
<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:#B0BED9};
.diffColor {
    background: grey;
}
</style>
<style>
.loading-image {
position: fixed;
top: 50%;
left: 50%;
margin-top: -50px;
margin-left: -100px;
z-index: 100;
}
</style>
<script type="text/javascript">
                $(function(){
jQuery.ajax({
        type : "GET",
        url : "/Support/private-deals-comparison!getCompData",
                beforeSend: function(){
        $('#ajax-spinner').show();
        },
        complete: function(){
        $('#ajax-spinner').hide();
        },
        success : function(response) {
        $('#' + 'comp-table').html(response);
                $(".previous").css("display", "none");
                var temp = $('.totalValue').text();
                $('.total').text(temp);
        }
    });  
});
</script>
                
<script type="text/javascript">
  $(function(){ 
        $(".editItem").live('click', function() {
                $("tr").removeClass("diffColor");
                $("td").css("background-color","")
        $(this).parents("tr").addClass("diffColor");
                $('tr.diffColor').children('td').css('backgroundColor', '#7F98FA');
                var itemId = $(this).attr('itemid')
                loadItemDetails("/Support/amazon-list/"+ itemId +"/edit");
    });
});
</script>
<title>Private Deals Price Comparison</title>
</head>
<body>
<div>
    <div style="color:blue;">
    #sactionmessage()
    </div>
    <div style="color:red;">
    #sactionerror()
    </div>
                <div id="ajax-spinner" style="display:none;">
                <img src="/Support/images/ajax_loader_blue.gif" class="loading-image">
                </div>
           <div id="comp-table">
           </div>
</div>
</body>
</html>