| 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:800px;margin: 5px 0 0 50px;">
|
|
|
60 |
<form style="margin:25px;" action="/rch/delete-frc" method="post">
|
|
|
61 |
<span>
|
|
|
62 |
Select a circle
|
|
|
63 |
</span>
|
|
|
64 |
<select style="height: 25px;border: 1px solid #2789C1;font-size: 15px;" name="circle">
|
|
|
65 |
<option value="0">Choose circle</option>
|
|
|
66 |
#foreach($circle in $circles)
|
|
|
67 |
#if($circle.getId() == $action.getCircle())
|
|
|
68 |
#set($circleName = $circle.getName())
|
|
|
69 |
#set($circleId = $circle.getId())
|
|
|
70 |
<option value="$circle.getId()" selected="true">$circle.getName()</option>
|
| 7370 |
anupam.sin |
71 |
#else
|
|
|
72 |
<option value="$circle.getId()">$circle.getName()</option>
|
| 7266 |
anupam.sin |
73 |
#end
|
|
|
74 |
#end
|
|
|
75 |
</select>
|
|
|
76 |
<input type="submit" class='submitButton' value="GO"></input>
|
|
|
77 |
</form>
|
|
|
78 |
|
|
|
79 |
#if($action.getMessage() != "")
|
|
|
80 |
<div style="width:600px;font-size: 16px;color: red;text-align: center;border: 1px solid red;margin: 5px;padding: 5px;">
|
|
|
81 |
$action.getMessage()
|
|
|
82 |
</div>
|
|
|
83 |
#end
|
|
|
84 |
|
|
|
85 |
#if($action.getFrcs().size() > 0)
|
|
|
86 |
<h3>Available FRC</h3>
|
|
|
87 |
<form action="/rch/delete-frc!destroy">
|
|
|
88 |
<input type="hidden" name="circle" value="$circleId">
|
|
|
89 |
<table width="750px">
|
|
|
90 |
<thead>
|
|
|
91 |
<tr>
|
|
|
92 |
<th>SELECT</th>
|
|
|
93 |
<th>Circle</th>
|
|
|
94 |
<th>Operator</th>
|
|
|
95 |
<th>Denomination</th>
|
|
|
96 |
<th>Discount</th>
|
|
|
97 |
</tr>
|
|
|
98 |
</thead>
|
|
|
99 |
<tbody>
|
|
|
100 |
#foreach ( $frc in $action.getFrcs() )
|
|
|
101 |
<tr>
|
|
|
102 |
<td><input type="checkbox" name="frcIdToDelete" value="$frc.getId()"></input></td>
|
|
|
103 |
<td>$circleName</td>
|
|
|
104 |
<td>$action.getOperatorsMap().get($frc.getOperatorId())</td>
|
|
|
105 |
<td>$frc.getDenomination()</td>
|
|
|
106 |
<td>$frc.getMaxDiscount()</td>
|
|
|
107 |
</tr>
|
|
|
108 |
#end
|
|
|
109 |
</tbody>
|
|
|
110 |
</table>
|
|
|
111 |
<input type="submit" value="DELETE" class="submitButton" style="background-color:red;width:125px;margin-top:25px;"></input>
|
|
|
112 |
</form>
|
|
|
113 |
#end
|
|
|
114 |
</div>
|
|
|
115 |
|
|
|
116 |
</body>
|
|
|
117 |
|
|
|
118 |
</html>
|