Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
28387 tejbeer 1
<div class="col-lg-6">
2
 
3
      <h2>Pincode search</h2>
4
        <table class="table table-border table-condensed table-bordered" id="search-pincode-table" style="width:100%">
5
 
6
            <thead class="row htable" style="background:#F5F5F5;">
7
 
8
            <tr style="color:black;">
9
                <th>Partner Name</th>
10
 
11
                <th>Remove</th>
12
                </tr>
13
            </thead>
14
            <tbody>
15
             #foreach($ppl in $partnerPincodeList )
16
            <tr>
17
                     <td style="background:#87CEEB;">$customRetailerMap.get($ppl.getFofoId()).getBusinessName()</td>
18
 
19
                       <td>
20
                        <button type="submit" form="form2" value="SubmitPincode" data-id="$ppl.getId()" data-pin="$ppl.getPincode()" data-fofoid="$ppl.getFofoId()"
21
                                style="background:#FA8072;"
22
                                class="remove-pincode">Remove
23
                        </button>
24
                    </td>
25
             </tr>       
26
             #end
27
            </tbody>
28
 
29
        </table>
30
    </div>
31
</section>
32
 
33
<script type="text/javascript">
34
 
35
    $(document).ready(function () {
36
 
37
 
38
 
39
      var dtable = $('#search-pincode-table').DataTable({
40
             "scrollX": true,
41
            "scrollY": "true",
42
            scrollCollapse: true,
43
              "fixedHeader": true,
44
             });
45
           });
46
 
47