| 6371 |
rajveer |
1 |
<head>
|
| 6375 |
rajveer |
2 |
<title>Saholic Service Availability Dashboard</title>
|
| 6371 |
rajveer |
3 |
<script language="javascript" src="$action.getServletContextPath()/js/jquery-1.4.2.js" type="text/javascript"></script>
|
|
|
4 |
</head>
|
|
|
5 |
<body>
|
|
|
6 |
<div id="login" align="center">
|
|
|
7 |
<p>
|
|
|
8 |
Welcome to Saholic Service Availability Dashboard.<br/>
|
|
|
9 |
Please select the Operator and Circle.
|
|
|
10 |
</p>
|
|
|
11 |
<label>Operator:</label>
|
|
|
12 |
<select name="operatorId" id="operatorId">
|
|
|
13 |
#set( $operators = $action.getOperators())
|
|
|
14 |
#foreach($operatorId in $operators.keySet())
|
|
|
15 |
<option value="$operatorId" selected="$operatorId">$operators.get($operatorId)</option>
|
|
|
16 |
#end
|
|
|
17 |
</select>
|
|
|
18 |
<br/>
|
|
|
19 |
<label>Circle:</label>
|
|
|
20 |
<select name="circleId" id="circleId">
|
|
|
21 |
#set( $circles = $action.getCircles())
|
|
|
22 |
<option value="0" selected="0">All Circles</option>
|
|
|
23 |
#foreach($circleId in $circles.keySet())
|
|
|
24 |
<option value="$circleId" selected="$circleId">$circles.get($circleId)</option>
|
|
|
25 |
#end
|
|
|
26 |
</select>
|
|
|
27 |
<br/>
|
|
|
28 |
<label>Service Available?:</label>
|
|
|
29 |
<select name="isAvailable" id="isAvailable">
|
|
|
30 |
<option value="false">Not Available</option>
|
|
|
31 |
<option value="true">Available</option>
|
|
|
32 |
</select>
|
| 6374 |
rajveer |
33 |
<br/>
|
|
|
34 |
<br/>
|
| 6371 |
rajveer |
35 |
<button value="Go">Go</button>
|
|
|
36 |
</div>
|
|
|
37 |
<br>
|
|
|
38 |
<br>
|
|
|
39 |
<br>
|
|
|
40 |
<br>
|
|
|
41 |
<br>
|
|
|
42 |
<br>
|
|
|
43 |
<br>
|
|
|
44 |
<hr>
|
|
|
45 |
<br>
|
|
|
46 |
<br>
|
|
|
47 |
|
|
|
48 |
<div id="infopane">
|
|
|
49 |
</div>
|
|
|
50 |
<script type="text/javascript" src="/Support/js/jquery-1.4.2.js"></script>
|
|
|
51 |
<script type="text/javascript" src="/Support/js/courier-details.js"></script>
|
|
|
52 |
<script>
|
|
|
53 |
$('button').click(function(e){
|
|
|
54 |
e.preventDefault();
|
|
|
55 |
window.location.href = "$request.getContextPath()/recharge-availability/" + $("#operatorId option:selected").val() + "?isAvailable=" + $("#isAvailable option:selected").val() + "&circleId=" + $("#circleId option:selected").val();
|
|
|
56 |
});
|
|
|
57 |
</script>
|
|
|
58 |
</body>
|