Subversion Repositories SmartDukaan

Rev

Rev 7728 | Rev 8739 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7728 Rev 8168
Line 8... Line 8...
8
	<hr/>
8
	<hr/>
9
	<div>
9
	<div>
10
		<form action="$action.getServletContextPath()/reports" method="get">
10
		<form action="$action.getServletContextPath()/reports" method="get">
11
			#set($showUploadSheet = "False")
11
			#set($showUploadSheet = "False")
12
			#foreach($report in $action.getReports())
12
			#foreach($report in $action.getReports())
-
 
13
				#if ($report.getDescription() == "Amazon Listing")
13
				<a href="$action.getServletContextPath()/$report.getController()">
14
						<a href="$action.getServletContextPath()/amazon-list/options">
14
					<!--#$action.getDescription($report) -->
15
					<!--#$action.getDescription($report) -->
15
					$report.getDescription()
16
					$report.getDescription()
16
					#if ($report.getDescription() == "Amazon Listing")
17
				</a>
17
						#set($showUploadSheet = "True")
18
						#set($showUploadSheet = "True")
18
					#end
19
				#else
-
 
20
				<a href="$action.getServletContextPath()/$report.getController()">
-
 
21
					<!--#$action.getDescription($report) -->
-
 
22
					$report.getDescription()
19
				</a>
23
				</a>
-
 
24
				#end
20
				<br/>
25
				<br/>
21
			#end
26
			#end
22
			##parse("../content/reports-common.vm")
27
			##parse("../content/reports-common.vm")
23
		</form>
28
		</form>
24
		<hr/>
29
		<hr/>
25
		#if ($showUploadSheet == "True")
-
 
26
			<p style="font-size: 14px;">Upload excel:</p>
-
 
27
			<form id="uploadFile" name="fileUpload" action="$action.getServletContextPath()/amazon-list!upload" enctype="multipart/form-data" method="post">
-
 
28
				<label for="filePath" style="font-size: 14px;">Path : </label>
-
 
29
				<input type="file" name="file" id="file">
-
 
30
				<input type="submit" value="Upload" name="upload">
-
 
31
            </form>
-
 
32
			<hr/>
-
 
33
        #end
-
 
34
    </div>
30
    </div>
35
	<div id="messageError">
31
	<div id="messageError">
36
         $errorMsg
32
         $errorMsg
37
    </div>
33
    </div>
38
</body>
34
</body>