Subversion Repositories SmartDukaan

Rev

Rev 7524 | Rev 8168 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1891 ankur.sing 1
<html >
2
<head>
3
	<title>Saholic Reports</title>
4
</head>
5
<body>
6
	<h2 >Saholic Reports</h2>
7
		<a href="$action.getServletContextPath()/logout">Logout</a>
8
	<hr/>
9
	<div>
10
		<form action="$action.getServletContextPath()/reports" method="get">
7728 kshitij.so 11
			#set($showUploadSheet = "False")
1891 ankur.sing 12
			#foreach($report in $action.getReports())
13
				<a href="$action.getServletContextPath()/$report.getController()">
14
					<!--#$action.getDescription($report) -->
15
					$report.getDescription()
7524 kshitij.so 16
					#if ($report.getDescription() == "Amazon Listing")
17
						#set($showUploadSheet = "True")
18
					#end
1891 ankur.sing 19
				</a>
20
				<br/>
21
			#end
22
			##parse("../content/reports-common.vm")
23
		</form>
7284 kshitij.so 24
		<hr/>
7524 kshitij.so 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
1891 ankur.sing 34
    </div>
35
	<div id="messageError">
36
         $errorMsg
37
    </div>
38
</body>
39
</html>