Subversion Repositories SmartDukaan

Rev

Blame | 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>
                .searchStore {
                        height: 23px;
            border: 1px solid #999999;
            padding: 2px 5px 2px 10px;
            font-size: 16px;
            color: #777777;
            box-shadow: 1px -1px 10px -1px #999999 inset;
                        width:100px
                }
                
                .submitButton {
                        height: 25px;
            width: 50px;
            font-weight: bold;
            font-size: 15px;
            background-color: #2789c1;
            border: 1px solid blue;
            border-radius: 2px;
            color: white;
                }
                
                table, td, th
                {
                        border:1px solid #2789C1;
                        border-collapse:collapse;
                        border-spacing:0;
                }
                th
                {
                        background-color:#2789C1;
                        color:white;
                        text-align:center;
                        padding:5px;
                }
                td
        {
                        text-align:center;
                        padding:5px;
        }
        </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:650px;margin: 5px 0 0 50px;">
                <form style="margin:25px;" action="/rch/manage-store!searchStore" method="post">
                        <span>
                        Search a store by its code   
                        </span>
                <input id="searchStore" name="storecode" type="text" maxlength="3" class='searchStore'> 
                        <input type="submit" class='submitButton' value="GO"></input>
                </form>

        #if($action.getMessage() != "")
                <div style="width:600px;font-size: 16px;color: red;text-align: center;border: 1px solid red;margin: 5px;padding: 5px;">
                $action.getMessage()
        </div>
        #end
        
        #if($action.getPasswordGeneration() == "SUCCESS")
                <div class="padding-row" style="width:600px;font-size: 16px;color: #2789C1;text-align: center;border: 1px solid #2789C1;margin: 5px;padding: 5px;">
                New Password : <span style="font-weight:bold">$action.getPassword()</span> sent to the registered emailId of this store
        </div>
        #elseif($action.getPasswordGeneration() == "FAIL")
                <div class="padding-row" style="width:600px;font-size: 16px;color: red;text-align: center;border: 1px solid red;margin: 5px;padding: 5px;">
                Password generation failed. Please try again.
        </div>
        #end
        
        #if($action.getStore())
                #set($store = $action.getStore())
                <h3>Store Details</h3>
                <form action="/rch/manage-store!reset">
                        <div style="padding:10px 25px;width:500px;border-top:1px solid #CCCCCC;border-bottom:1px solid #CCCCCC;">
                                <span style="color:#333333;font-weight:bold">$store.getName()</span><br>
                                <span style="color:#2789C1;font-style:italic;font-weight:100">$store.getEmail()</span>
                        </div>
                        <input type="hidden" name="storeid" value="$store.getId()">
                        <input type="submit" value="RESET" class="submitButton" style="background-color:red;width:125px;margin-top:25px;"></input>
                </form>
        #end
    </div>

</body>

</html>