Subversion Repositories SmartDukaan

Rev

Rev 3313 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
3232 varun.gupt 1
<!DOCTYPE html>
2
<html>
3
<head>
4
	<title>Phone Price Comparison</title>
5
	<link rel="stylesheet" type="text/css" href="/static/facebox.css" />
6
	<style type="text/css">
7
body	{	font-size: 12px;	}
8
.even	{	background-color: #EDEFF4;	}
9
td	{	padding: 4px; font-size: 12px;	}
10
 
11
.red	{	background-color: #FF9E9E;	}
12
 
13
.best {
14
	background-image: url(/static/images/best.png);
15
	background-repeat: no-repeat;
16
}
17
	</style>
18
</head>
19
<body>
20
	<h2>Phone Price Comparison Chart</h2>
21
	<br>
22
	{% if len(data) > 0 %}
23
	<table id="datatable">
24
	<thead>
25
		<tr>
26
			<th></th>
27
			<th>Saholic</th>
28
			<th>Flipkart</th>
29
		</tr>
30
	</thead>
31
	<tbody>
32
		{% for phone in data %}
33
		<tr>
34
			<td class="name">{{ phone['product_name'] }}</td>
35
			<td width="150" align="center">{{ phone['saholic_price'] }}</td>
36
			<td width="150" align="center" class="{{ phone['td_class'] }}" data="{{ phone['data'] }}">
37
				<a href="{{ phone['url'] }}" target="_blank">{{ phone['flipkart_price'] }}</a>
38
			</td>
39
		</tr>
40
		{% end %}
41
	</tbody>
42
	</table>
43
	{% end %}
44
	<script type="text/javascript" src="/static/jquery-1.6.2.min.js"></script>
45
	<script type="text/javascript" src="/static/facebox.js"></script>
46
	<script type="text/javascript" src="/static/chart.js"></script>
47
</body>
48
</html>