Rev 5639 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<!DOCTYPE html><html><head><title>Price Comparison Dashboard</title><link rel="stylesheet" type="text/css" href="/static/facebox.css" /><link rel="stylesheet" type="text/css" href="/static/chart.css" /></head><body><div id="pageTitle">Price Comparison Dashboard</div><div id="all" class="menu-item" title="All Products">All Products</div><div id="watchlist" class="menu-item" title="Watchlist">Watchlist</div><div id="downloadXL" class="menu-item" title="Download Data">Download Data</div><div id="howTo" class="menu-item" title="Click to see instructions">Help</div><div class="clearboth"></div>{% if len(data) > 0 %}<form action="/download" method="post"></form><table><thead><tr><th width="264"> </th><th width="105">Saholic</th><th width="105">Flipkart</th><th width="105">HomeShop18</th><th width="105">Infibeam</th><th width="105">Snapdeal</th><th width="105">Sulekha</th><th width="105">Tradus</th><th>Max-Min<br />difference</th></tr></thead></table><div id="datatable-container"><table id="datatable"><tbody>{% for phone in data %}<tr id="{{ phone['entity_id'] }}"><td class="name">{{ phone['product_name'] }}<div class="watchlist-icon"></div></td><td class="price saholic">{{ phone['saholic']['price'] }}</td>{% if phone['flipkart']['data'] is not None %}<td class="price conflict" data='{{ phone["flipkart"]["data"] }}' source="flipkart">{% else %}<td class="price" source="flipkart">{% end %}{% if phone['flipkart']['price'] is None and phone['flipkart']['data'] is None %}<a href="{{ phone['flipkart']['url'] }}" target="_blank">{{ phone['flipkart']['text'] }}</a>{% elif phone['flipkart']['data'] is not None %}<a href="{{ 'http://www.flipkart.com' + phone['flipkart']['url'] if phone['flipkart']['url'] is not None else '#' }}">{{ phone['flipkart']['text'] }}</a>{% else %}<a href="{{ 'http://www.flipkart.com' + phone['flipkart']['url'] if phone['flipkart']['url'] is not None else '#' }}" target="_blank">{{ phone['flipkart']['text'] }}</a>{% end %}</td>{% if phone['homeshop18']['data'] is not None %}<td class="price conflict" data='{{ phone["homeshop18"]["data"] }}' source="homeshop18">{% else %}<td class="price" source="homeshop18">{% end %}{% if phone['homeshop18']['price'] is None and phone['homeshop18']['data'] is None %}<a href="{{ phone['homeshop18']['url'] }}" target="_blank">{{ phone['homeshop18']['text'] }}</a>{% elif phone['homeshop18']['data'] is not None %}<a href="{{ phone['homeshop18']['url'] if phone['homeshop18']['url'] is not None else '#' }}">{{ phone['homeshop18']['text'] }}</a>{% else %}<a href="{{ phone['homeshop18']['url'] if phone['homeshop18']['url'] is not None else '#' }}" target="_blank">{{ phone['homeshop18']['text'] }}</a>{% end %}</td>{% if phone['infibeam']['data'] is not None %}<td class="price conflict" data='{{ phone["infibeam"]["data"] }}' source="infibeam">{% else %}<td class="price" source="infibeam">{% end %}{% if phone['infibeam']['price'] is None and phone['infibeam']['data'] is None %}<a href="{{ phone['infibeam']['url'] }}" target="_blank">{{ phone['infibeam']['text'] }}</a>{% elif phone['infibeam']['data'] is not None %}<a href="{{ 'http://www.infibeam.com' + phone['infibeam']['url'] if phone['infibeam']['url'] is not None else '#' }}">{{ phone['infibeam']['text'] }}</a>{% else %}<a href="{{ 'http://www.infibeam.com' + phone['infibeam']['url'] if phone['infibeam']['url'] is not None else '#' }}" target="_blank">{{ phone['infibeam']['text'] }}</a>{% end %}</td>{% if phone['snapdeal']['data'] is not None %}<td class="price conflict" data='{{ phone["snapdeal"]["data"] }}' source="snapdeal">{% else %}<td class="price" source="snapdeal">{% end %}{% if phone['snapdeal']['price'] is None and phone['snapdeal']['data'] is None %}<a href="{{ phone['snapdeal']['url'] }}" target="_blank">{{ phone['snapdeal']['text'] }}</a>{% elif phone['snapdeal']['data'] is not None %}<a href="{{ 'http://www.snapdeal.com/' + phone['snapdeal']['url'] if phone['snapdeal']['url'] is not None else '#' }}">{{ phone['snapdeal']['text'] }}</a>{% else %}<a href="{{ 'http://www.snapdeal.com/' + phone['snapdeal']['url'] if phone['snapdeal']['url'] is not None else '#' }}" target="_blank">{{ phone['snapdeal']['text'] }}</a>{% end %}</td>{% if phone['sulekha']['data'] is not None %}<td class="price conflict" data='{{ phone["sulekha"]["data"] }}' source="sulekha">{% else %}<td class="price" source="sulekha">{% end %}{% if phone['sulekha']['price'] is None and phone['sulekha']['data'] is None %}<a href="{{ phone['sulekha']['url'] }}" target="_blank">{{ phone['sulekha']['text'] }}</a>{% elif phone['sulekha']['data'] is not None %}<a href="{{ phone['sulekha']['url'] if phone['sulekha']['url'] is not None else '#' }}">{{ phone['sulekha']['text'] }}</a>{% else %}<a href="{{ phone['sulekha']['url'] if phone['sulekha']['url'] is not None else '#' }}" target="_blank">{{ phone['sulekha']['text'] }}</a>{% end %}</td>{% if phone['tradus']['data'] is not None %}<td class="price conflict" data='{{ phone["tradus"]["data"] }}' source="tradus">{% else %}<td class="price" source="tradus">{% end %}{% if phone['tradus']['price'] is None and phone['tradus']['data'] is None %}<a href="{{ phone['tradus']['url'] }}" target="_blank">{{ phone['tradus']['text'] }}</a>{% elif phone['tradus']['data'] is not None %}<a href="{{ phone['tradus']['url'] if phone['tradus']['url'] is not None else '#' }}">{{ phone['tradus']['text'] }}</a>{% else %}<a href="{{ phone['tradus']['url'] if phone['tradus']['url'] is not None else '#' }}" target="_blank">{{ phone['tradus']['text'] }}</a>{% end %}</td></tr>{% end %}</tbody></table></div>{% end %}<script type="text/javascript" src="/static/jquery-1.6.2.min.js"></script><script type="text/javascript" src="/static/facebox.js"></script><script type="text/javascript" src="/static/chart.js"></script></body></html>