Subversion Repositories SmartDukaan

Rev

Rev 33305 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
33305 ranu 1
<style>
2
    .table-striped > tbody > tr:nth-child(odd) > td {
3
        background: white;
4
        background-color: white;
5
    }
6
 
7
    .table-striped > tbody > tr:nth-child(even) > td {
8
        background: white;
9
        background-color: white;
10
    }
11
 
12
    .table-striped > tbody > tr:hover > td,
13
    .table-striped > tbody > tr:hover {
14
        background-color: #e98c8f;
15
        color: white;
16
    }
17
</style>
18
<section class="wrapper">
19
    <div class="row">
20
        <div class="col-lg-12">
21
            <h3 class="page-header"><i class="icon_genius"></i>Customer List</h3>
22
            <ol class="breadcrumb">
23
                <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
24
                <li><i class="icon_genius"></i>B2C Registered List</li>
25
            </ol>
26
        </div>
27
    </div>
28
 
29
    <div id="catalog-table">
30
        <div class="row">
31
            <div class="col-lg-12">
32
                <input type="date" id="startDate-b2c-user" placeholder="" name="" value="$startDate">
33
 
34
                <input type="date" id="endDate-b2c-user" placeholder="" value="$endDate">
35
                <button type="button" class="btn btn-sm btn-info fetch-data">Fetch Data</button>
33319 ranu 36
                <button type="button" class="btn btn-sm btn-info downloadB2CList-mk">Download Data</button>
33305 ranu 37
                <table class="table table-striped table-advance table-hover" id="b2cUsersList">
38
                    <thead>
39
                    <tr>
40
                        <th>Name</th>
41
                        <th>Mobile Number</th>
42
                        <th>Email</th>
43
                        <th>City</th>
44
                        <th>Pincode</th>
45
                        <th>State</th>
46
                        <th>Created Date</th>
47
                    </tr>
48
                    </thead>
49
                    <tbody>
50
                        #foreach($user in $verifiedB2CUsersModels )
51
                        <tr>
52
                            <td>
53
                                $user.getFirstName() $user.getLastName()
54
 
55
                            </td>
56
                            <td>
57
                                $user.getMobileNumber()
58
                            </td>
59
                            <td>
60
                                #if($user.getEmailId())
61
                                    <span>$user.getEmailId()</span>
62
                                #else
63
                                    <span></span>
64
                                #end
65
                            </td>
66
                            <td>
67
                                #if($user.getCity())
68
                                    <span>$user.getCity()</span>
69
                                #else
70
                                    <span></span>
71
                                #end
72
                            </td>
73
                            <td>
74
                                #if($user.getPinCode())
75
                                    <span>$user.getPinCode()</span>
76
                                #else
77
                                    <span></span>
78
                                #end
79
                            </td>
80
                            <td>
81
                                #if($user.getState())
82
                                    <span>$user.getState()</span>
83
                                #else
84
                                    <span></span>
85
                                #end
86
                            </td>
87
                            <td>
88
                                <span>$user.getFormattedCreateTimestamp()</span>
89
                            </td>
90
                        </tr>
91
                        #end
92
                    </tbody>
93
                </table>
94
            </div>
95
        </div>
96
    </div>
97
</section>
98
<script>
99
 
100
    var dtable = $('#b2cUsersList').DataTable(
101
            {
102
 
103
                "bPaginate": true,
104
                "bLengthChange": true,
105
                "bFilter": true,
106
                "bInfo": false,
107
                "bAutoWidth": false,
108
                "pageLength": 20,
109
 
110
            });
111
 
112
</script>