Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | 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>
36
                <table class="table table-striped table-advance table-hover" id="b2cUsersList">
37
                    <thead>
38
                    <tr>
39
                        <th>Name</th>
40
                        <th>Mobile Number</th>
41
                        <th>Email</th>
42
                        <th>City</th>
43
                        <th>Pincode</th>
44
                        <th>State</th>
45
                        <th>Created Date</th>
46
                    </tr>
47
                    </thead>
48
                    <tbody>
49
                        #foreach($user in $verifiedB2CUsersModels )
50
                        <tr>
51
                            <td>
52
                                $user.getFirstName() $user.getLastName()
53
 
54
                            </td>
55
                            <td>
56
                                $user.getMobileNumber()
57
                            </td>
58
                            <td>
59
                                #if($user.getEmailId())
60
                                    <span>$user.getEmailId()</span>
61
                                #else
62
                                    <span></span>
63
                                #end
64
                            </td>
65
                            <td>
66
                                #if($user.getCity())
67
                                    <span>$user.getCity()</span>
68
                                #else
69
                                    <span></span>
70
                                #end
71
                            </td>
72
                            <td>
73
                                #if($user.getPinCode())
74
                                    <span>$user.getPinCode()</span>
75
                                #else
76
                                    <span></span>
77
                                #end
78
                            </td>
79
                            <td>
80
                                #if($user.getState())
81
                                    <span>$user.getState()</span>
82
                                #else
83
                                    <span></span>
84
                                #end
85
                            </td>
86
                            <td>
87
                                <span>$user.getFormattedCreateTimestamp()</span>
88
                            </td>
89
                        </tr>
90
                        #end
91
                    </tbody>
92
                </table>
93
            </div>
94
        </div>
95
    </div>
96
</section>
97
<script>
98
 
99
    var dtable = $('#b2cUsersList').DataTable(
100
            {
101
 
102
                "bPaginate": true,
103
                "bLengthChange": true,
104
                "bFilter": true,
105
                "bInfo": false,
106
                "bAutoWidth": false,
107
                "pageLength": 20,
108
 
109
            });
110
 
111
</script>