Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
7266 anupam.sin 1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
 
4
<head>
5
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6
    <link rel="stylesheet" href="css/rechargewebapp_18042013.css" type="text/css" />
7
	<style>
8
		.searchStore {
9
			height: 23px;
10
            border: 1px solid #999999;
11
            padding: 2px 5px 2px 10px;
12
            font-size: 16px;
13
            color: #777777;
14
            box-shadow: 1px -1px 10px -1px #999999 inset;
15
			width:100px
16
		}
17
 
18
		.submitButton {
19
			height: 25px;
20
            width: 50px;
21
            font-weight: bold;
22
            font-size: 15px;
23
            background-color: #2789c1;
24
            border: 1px solid blue;
25
            border-radius: 2px;
26
            color: white;
27
		}
28
 
29
		table, td, th
30
		{
31
			border:1px solid #2789C1;
32
			border-collapse:collapse;
33
			border-spacing:0;
34
		}
35
		th
36
		{
37
			background-color:#2789C1;
38
			color:white;
39
			text-align:center;
40
			padding:5px;
41
		}
42
		td
43
        {
44
			text-align:center;
45
			padding:5px;
46
        }
47
	</style>
48
</head>
49
 
50
#set($circles = $action.getCircles())
51
 
52
<body style="margin: 0;">
53
    <div style="line-height:37px;height:37px;background-color:#333;color:white;border-bottom: 5px solid white;">
54
    	<span style="margin-left:20px;font-weight:bold;font-size:15px">SAHOLIC RECHARGE ADMIN CONSOLE </span>
55
    	<span style="margin-left:120px;"><a style="color:white;" href="/rch/admin">Home</a></span>
56
    	<span style="margin-left:50px;"><a style="color:white;" href="/rch/admin!doLogout">Logout</a></span>
57
    </div>
58
 
59
    <div id="main" style="width:650px;margin: 5px 0 0 50px;">
60
		<form style="margin:25px;" action="/rch/manage-store!searchStore" method="post">
61
			<span>
62
        		Search a store by its code   
63
			</span>
64
        	<input id="searchStore" name="storecode" type="text" maxlength="3" class='searchStore'>	
65
			<input type="submit" class='submitButton' value="GO"></input>
66
		</form>
67
 
68
	#if($action.getMessage() != "")
69
		<div style="width:600px;font-size: 16px;color: red;text-align: center;border: 1px solid red;margin: 5px;padding: 5px;">
70
    		$action.getMessage()
71
    	</div>
72
	#end
73
 
74
	#if($action.getPasswordGeneration() == "SUCCESS")
75
		<div class="padding-row" style="width:600px;font-size: 16px;color: #2789C1;text-align: center;border: 1px solid #2789C1;margin: 5px;padding: 5px;">
76
    		New Password : <span style="font-weight:bold">$action.getPassword()</span> sent to the registered emailId of this store
77
    	</div>
78
	#elseif($action.getPasswordGeneration() == "FAIL")
79
		<div class="padding-row" style="width:600px;font-size: 16px;color: red;text-align: center;border: 1px solid red;margin: 5px;padding: 5px;">
80
    		Password generation failed. Please try again.
81
    	</div>
82
	#end
83
 
84
	#if($action.getStore())
85
		#set($store = $action.getStore())
86
		<h3>Store Details</h3>
87
		<form action="/rch/manage-store!reset">
88
			<div style="padding:10px 25px;width:500px;border-top:1px solid #CCCCCC;border-bottom:1px solid #CCCCCC;">
89
				<span style="color:#333333;font-weight:bold">$store.getName()</span><br>
90
				<span style="color:#2789C1;font-style:italic;font-weight:100">$store.getEmail()</span>
91
			</div>
92
			<input type="hidden" name="storeid" value="$store.getId()">
93
			<input type="submit" value="RESET" class="submitButton" style="background-color:red;width:125px;margin-top:25px;"></input>
94
		</form>
95
	#end
96
    </div>
97
 
98
</body>
99
 
100
</html>