Subversion Repositories SmartDukaan

Rev

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

<html >
<head>
        <title>Saholic Reports</title>
</head>
<body>
        <h2 >Saholic Reports</h2>
                <a href="$action.getServletContextPath()/logout">Logout</a>
        <hr/>
        <div>
                <form action="$action.getServletContextPath()/reports" method="get">
                        #set($showUploadSheet = "False")
                        #foreach($report in $action.getReports())
                                <a href="$action.getServletContextPath()/$report.getController()">
                                        <!--#$action.getDescription($report) -->
                                        $report.getDescription()
                                        #if ($report.getDescription() == "Amazon Listing")
                                                #set($showUploadSheet = "True")
                                        #end
                                </a>
                                <br/>
                        #end
                        ##parse("../content/reports-common.vm")
                </form>
                <hr/>
                #if ($showUploadSheet == "True")
                        <p style="font-size: 14px;">Upload excel:</p>
                        <form id="uploadFile" name="fileUpload" action="$action.getServletContextPath()/amazon-list!upload" enctype="multipart/form-data" method="post">
                                <label for="filePath" style="font-size: 14px;">Path : </label>
                                <input type="file" name="file" id="file">
                                <input type="submit" value="Upload" name="upload">
            </form>
                        <hr/>
        #end
    </div>
        <div id="messageError">
         $errorMsg
    </div>
</body>
</html>