Subversion Repositories SmartDukaan

Rev

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

<html>
<head>
        <title>Price Approval</title>
        <style>
table   {       font-size: 12px;        }
td      {       border-color: #000000;  }
.payments, .carts       {       text-align: center;     }
input[type="radio"]:checked  {
    background-color: red;
}

    </style>
</head>
<body>
#if($action.displayForm())
        <form name="itemstring" action="$action.getServletContextPath()/price-approval" method="post" style="font-size: 100px;">
                <label><input style="width:3em; height:3em;" type="radio" name="approve" value="true">Approve</label><br><br>
                <label><input style="width:3em; height:3em;" type="radio" name="approve" value="false">Reject</label><br>
                <input type="hidden" name="orderId" value="$action.getOrderId()"><br>
                <input style="font-size: 100px;" type="submit" value="Submit">
        </form>
#else
        <h1>Your order with id $action.getOrderId() has been successfully #if($action.isApprove()) Approved #else Rejected #end</h1>
#end
        
        <br>
        <br>
        

</body>
</html>