Subversion Repositories SmartDukaan

Rev

Rev 7996 | 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>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <link rel="stylesheet" href="css/rechargewebapp_18042013.css" type="text/css" />
        <style>
                .outerList {
                        padding:5px 0;
                        color:#666666;
                }
                
                .inlineList {
                        display: inline;
                        margin-left: 10px;
                        color:#2789C1;
                        font-style:italic;
                }
                
                form {
                        margin:25px;
                        padding:50px 0px;
                }
                #dateInput {
                        height: 23px;
            border: 1px solid #999999;
            padding: 2px 5px 2px 10px;
            font-size: 15px;
            color: #777777;
            box-shadow: 1px -1px 10px -1px #999999 inset;
                        width:150px
                }
                .submitButton {
                        height: 25px;
            width: 50px;
            font-weight: bold;
            font-size: 15px;
            background-color: #2789c1;
            border: 1px solid blue;
            border-radius: 2px;
            color: white;
                }
                .successMessage {
                        width:600px;
                        font-size: 16px;
                        font-weight:bold;
                        color: #2789C1;
                        text-align: center;
                        border: 1px solid #2789C1;
                        margin: 5px;
                        padding: 5px;
                }
                .errorMessage {
                        width:600px;
                        font-size: 16px;
                        font-weight:bold;
                        color: red;
                        text-align: center;
                        border: 1px solid red;
                        margin: 5px;
                        padding: 5px;
                }
                .boldBlue {
                        font-weight:bold;
                        color:#2789C1;
                }
                
        </style>
</head>

#set($circles = $action.getCircles())

<body style="margin: 0;">
    <div style="line-height:37px;height:37px;background-color:#333;color:white;border-bottom: 5px solid white;">
        <span style="margin-left:20px;font-weight:bold;font-size:15px">SAHOLIC RECHARGE ADMIN CONSOLE </span>
        <span style="margin-left:120px;"><a style="color:white;" href="/rch/admin">Home</a></span>
        <span style="margin-left:50px;"><a style="color:white;" href="/rch/admin!doLogout">Logout</a></span>
    </div>

    <div id="main" style="width:850px;margin: 5px 0 0 50px;">
                #if($action.getMessage() && $action.getMessage().getText() != "")
                #if($action.getMessage().getType() == "SUCCESS")
                        #set($cssclass="successMessage")
                #elseif($action.getMessage().getType() == "ERROR")
                        #set($cssclass="errorMessage")
                #end
                <div class=$cssclass>
                        $action.getMessage().getText()
                </div>
        #end
                <h3>File Upload</h3>
                <form action="/rch/bulk-recharge" enctype="multipart/form-data" method="post">
                        <span>
                        Upload an excel sheet for recharge   
                        </span>
                <input style='font-size:15px;color:red' id="rechargeFile" name="rechargefile" type="file">      <br><br>
                        <span class='boldBlue'>Store : </span><select style='width:150px;font-size:15px;' name='storeId'>
                                #foreach($store in $action.getStores())
                                        <option value='$store.getId()'>$store.getHotspotId()</option>
                                #end
                        </select>
                        <input type="submit" class='submitButton' value="GO"></input>
                </form>

        <hr></hr>               
        <h3 style='color:red'>Note</h3>
                <div>
                        <ul>
                                <li class='outerList'>Please login to the recharge dashboard and go to reports section to download the results</li>
                                <li class='outerList'>Please upload the sheet in 2003 excel format with following fields in given order : 
                                        <ul style="list-style-type: none;margin:0;padding:0;">
                                                <li class='inlineList'>Code</li>
                                                <li class='inlineList'>Name</li>
                                                <li class='inlineList'>Number</li>
                                                <li class='inlineList'>Depot</li>
                                                <li class='inlineList'>Amount</li>
                                                <li class='inlineList'>Operator</li>
                                                <li class='inlineList'>Circle</li>
                                                <li class='inlineList'>ClientName</li>
                                        </ul>
                                </li>
                                <li class='outerList'>First row of the sheet should have headings</li>
                                <li class='outerList'>Client name can only be 'ABC' or 'DEF'</li>
                                <li class='outerList'>Please make sure that all fields are correct</li>
                                <li class='outerList'>There should be no formulas in the sheet, only numeric and text values.</li>
                        </ul>
        </div>
        </div>
</body>
</html>