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: 100px;
            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:800px;margin: 5px 0 0 50px;">
                <form style="margin:25px;" action="/rch/add-series" method="post">
                        <span>
                        Select a circle  
                        </span>
                <select style="height: 25px;border: 1px solid #2789C1;font-size: 15px;" name="circle">
                        <option value="0">Choose circle</option>
                        #foreach($circle in $circles)
                                        #if($circle.getId() == $action.getCircle())
                                                #set($circleName = $circle.getName())
                                                #set($circleId = $circle.getId())
                                                <option value="$circle.getId()" selected="true">$circle.getName()</option>
                                        #else
                                                <option value="$circle.getId()">$circle.getName()</option>
                                        #end
                                #end
                </select>
                        <br><br>
                        <span>
                        Select Operator  
                        </span>
                <select style="height: 25px;border: 1px solid #2789C1;font-size: 15px;" name="operatorId">
                        <option value="0">Choose operator</option>
                        #foreach($opId in $operatorsMap.keySet())
                                        #if($opId == $action.getOperatorId())
                                                <option value="$opId" selected="true">$operatorsMap.get($opId)</option>
                                        #else
                                                <option value="$opId">$operatorsMap.get($opId)</option>
                                        #end
                                #end
                </select>
                        <br><br>
                        Series : <input type="text" name="series" style="height: 20px;border: 1px solid #AAAAAA;border-radius: 5px;width: 100px;padding: 3px 5px;font-size: 15px;color: #777777;"></input>
                        <br><br>
                        <input type="submit" class='submitButton' value="SUBMIT"></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
        </div>

</body>

</html>