Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
3232 varun.gupt 1
<html>
2
<head>
3
	<title>Search Phone Prices</title>
4
</head>
5
<body>
6
	<h2>Search Phone Prices</h2>
7
	<div>
8
		<form action="/search" method="get">
9
			<input type="text" name="q" size="30">
10
			<input type="submit" value="Search">
11
		</form>
12
	</div>
13
	<p><i>{{ phones.__len__() }} phones were found matching "{{ query }}".</i></p>
14
	<br>
15
	{% if phones.__len__() > 0 %}
16
	<table>
17
		<tr>
18
			<th></th>
19
			<th>Flipkart</th>
20
		</tr>
21
 
22
		{% for phone in phones %}
23
		<tr>
24
			<td>{{ escape(phone['name']) }}</td>
25
			<td width="150" align="center">{{ escape(phone['price']) }}</td>
26
		<tr>
27
		{% end %}
28
	</table>
29
	{% end %}
30
</body>
31
</html>