Subversion Repositories SmartDukaan

Rev

Rev 9322 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
        <head>
                <title>Saholic Price Updation Dashboard</title>
                
                <link type = "text/css" href = "css/pincode.css" rel = "stylesheet"/>
                <link type = "text/css" href = "css/colorbox.css" rel = "stylesheet"/>
                <script type="text/javascript" src="js/jquery-1.4.2.js"></script>
                <script type="text/javascript" src="js/jquery.colorbox-min.js"></script>
        <script type = "text/javascript" src = "js/pincode.js"></script>
        </head>
        <body>
                <h3>Saholic Price Updation Dashboard</h3>
                #set($errorMsg=$action.getErrorMsg())
                #if(!$errorMsg.isEmpty())
        <div style="color:red">
            $errorMsg
        </div>
                #end
                
                #set($successMsg=$action.getSuccessMsg())
                #if(!$successMsg.isEmpty())
        <div style="color:green">
            $successMsg
        </div>
                #end
                #set($vendors=$action.getAllVendors())
                <form name="vendor-price" action="$request.getContextPath()/vendor-price/" method="post" enctype="multipart/form-data">
                        <table>
                                <tr>
                                        <td>Select Vendor:</td>
                                        <td>
                                                <select name="vendorId">
                                                        <option value="-1" selected>Please Select Vendor ...</option>
                                                        #foreach($vendor in $vendors)
                            <option value="$vendor.getId()">$vendor.getName()</option>
                                                        #end
                                                </select>
                                        </td>
                                </tr>
                                <tr>
                                        <td>Select File:</td>
                                        <td><input type="file" name="pricingFile"/></td>
                                </tr>
                                <tr>
                                        <td>&nbsp;</td>
                                        <td><input type="submit" value="Update Prices for Vendor"/></td>
                                </tr>
            </table>
                </form>
                
        </body>
</html>