| 22982 |
ashik.ali |
1 |
<style>
|
|
|
2 |
.btn:hover{
|
|
|
3 |
color: grey;
|
|
|
4 |
text-decoration: none;
|
|
|
5 |
}
|
|
|
6 |
.btn-primary:hover{
|
|
|
7 |
color: grey;
|
|
|
8 |
text-decoration: none;
|
|
|
9 |
}
|
|
|
10 |
.retailer-details{
|
|
|
11 |
cursor:pointer;
|
|
|
12 |
}
|
|
|
13 |
</style>
|
|
|
14 |
|
|
|
15 |
<section class="wrapper">
|
|
|
16 |
<div class="row">
|
|
|
17 |
<div class="col-lg-12">
|
|
|
18 |
<h3 class="page-header"><i class="icon_document_alt"></i>RETAILER INFO</h3>
|
|
|
19 |
<ol class="breadcrumb">
|
|
|
20 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
|
|
|
21 |
<li><i class="icon_document_alt"></i>RETAILER INFO</li>
|
|
|
22 |
</ol>
|
|
|
23 |
</div>
|
|
|
24 |
</div>
|
|
|
25 |
|
| 24349 |
amit.gupta |
26 |
<div id="retailer-details-search">
|
| 22982 |
ashik.ali |
27 |
<div class="row">
|
| 24349 |
amit.gupta |
28 |
<div class="col-lg-2">
|
|
|
29 |
<div class="input-group">
|
|
|
30 |
<input placeholder="Partner Name" type="text" class="typeahead form-control" id="typeaheadpartner" name="Item" data-provide="typeahead" autocomplete="off">
|
|
|
31 |
<span class="input-group-btn">
|
|
|
32 |
<button class="btn btn-primary submit" id="retailer-details-search-button" type="button">Go!</button>
|
|
|
33 |
</span>
|
|
|
34 |
</div>
|
|
|
35 |
</div>
|
|
|
36 |
<div class="col-lg-3">
|
|
|
37 |
<div class="input-group">
|
|
|
38 |
<input type="text" class="form-control" id="retailer-details-search-text" placeholder="Email/MobileNumber" value="" />
|
|
|
39 |
<span class="input-group-btn">
|
|
|
40 |
<button class="btn btn-primary submit" id="retailer-details-search-button" type="button">Go!</button>
|
|
|
41 |
</span>
|
|
|
42 |
</div>
|
|
|
43 |
</div>
|
| 25292 |
amit.gupta |
44 |
<div class="col-lg-2">
|
|
|
45 |
<a id="mobileAppId" href="${rc.contextPath}/mobileapp" class="logo" target="_blank">Retailer App</a>
|
|
|
46 |
</div>
|
| 24349 |
amit.gupta |
47 |
</div>
|
|
|
48 |
</div>
|
| 22982 |
ashik.ali |
49 |
<div id="retailer-details-container" style="background:white;background-color:white;">
|
|
|
50 |
</div>
|
|
|
51 |
|
|
|
52 |
</section>
|
| 24349 |
amit.gupta |
53 |
<script type="text/javascript">
|
|
|
54 |
$(function(){
|
|
|
55 |
getPartnerAheadOptions($("#typeaheadpartner"),function(selectedPartner){
|
| 25292 |
amit.gupta |
56 |
uri = new URL($("#mobileAppId")[0].href);
|
|
|
57 |
uri.search = "emailId=" + selectedPartner.email;
|
|
|
58 |
$("#mobileAppId")[0].href = uri.toString();
|
| 24349 |
amit.gupta |
59 |
$("#retailer-details-search-text").val(selectedPartner.email);
|
|
|
60 |
});
|
|
|
61 |
});
|
|
|
62 |
</script>
|