Subversion Repositories SmartDukaan

Rev

Rev 20424 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 20424 Rev 20427
Line 8... Line 8...
8
#set($snippetMap = $action.getSnippetMap())
8
#set($snippetMap = $action.getSnippetMap())
9
<body>
9
<body>
10
	<h2>Snippet Info</h2>
10
	<h2>Snippet Info</h2>
11
	<h3>Latest Mobile Phones</h3>
11
	<h3>Latest Mobile Phones</h3>
12
	<div id="latest">
12
	<div id="latest">
13
		<form name="latest-phones" action="/hotspot/snippets/?type=latest-phones" method="post">
13
		<form name="latest-phones" action="/snippets/?type=latest-phones" method="post">
14
			#if(!$snippetMap.get('latest-phones'))
14
			#if(!$snippetMap.get('latest-phones'))
15
				#foreach( $val in [1..6] )
15
				#foreach( $val in [1..6] )
16
					<input size="10" class="entity" name="entities" type = "text"/>
16
					<input size="10" class="entity" name="entities" type = "text"/>
17
				#end
17
				#end
18
			#else
18
			#else
Line 23... Line 23...
23
			<input type="submit">
23
			<input type="submit">
24
		</form>
24
		</form>
25
	</div>
25
	</div>
26
	<h3>Best Sellers</h3>
26
	<h3>Best Sellers</h3>
27
	<div id="best">
27
	<div id="best">
28
		<form name="best-sellers" action="/hotspot/snippets/?type=best-sellers" method="post">
28
		<form name="best-sellers" action="/snippets/?type=best-sellers" method="post">
29
			#if(!$snippetMap.get('best-sellers'))
29
			#if(!$snippetMap.get('best-sellers'))
30
				#foreach( $val in [1..6] )
30
				#foreach( $val in [1..6] )
31
					<input size="10" class="entity" name="entities" type = "text"/>
31
					<input size="10" class="entity" name="entities" type = "text"/>
32
				#end
32
				#end
33
			#else
33
			#else
Line 38... Line 38...
38
			<input type="submit">
38
			<input type="submit">
39
		</form>
39
		</form>
40
	</div>
40
	</div>
41
	<h3>Best Deals</h3>
41
	<h3>Best Deals</h3>
42
	<div id="deals">
42
	<div id="deals">
43
		<form name="best-deals" action="/hotspot/snippets/?type=best-deals" method="post">
43
		<form name="best-deals" action="/snippets/?type=best-deals" method="post">
44
			#if(!$snippetMap.get('best-deals'))
44
			#if(!$snippetMap.get('best-deals'))
45
				#foreach( $val in [1..6] )
45
				#foreach( $val in [1..6] )
46
					<input size="10" class="entity" name="entities" type = "text"/>
46
					<input size="10" class="entity" name="entities" type = "text"/>
47
				#end
47
				#end
48
			#else
48
			#else