Subversion Repositories SmartDukaan

Rev

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